AliRoot Core  3dc7879 (3dc7879)
AliModule Class Referenceabstract

#include <AliModule.h>

Inheritance diagram for AliModule:

Public Member Functions

 AliModule (const char *name, const char *title)
 
 AliModule ()
 
virtual ~AliModule ()
 
virtual Int_t GetNdigits () const
 
virtual Int_t GetNhits () const
 
virtual TArrayI * GetIdtmed () const
 
virtual TClonesArray * Digits () const
 
virtual TClonesArray * Hits () const
 
virtual TObjArrayPoints () const
 
virtual Int_t GetIshunt () const
 
virtual void SetIshunt (Int_t)
 
virtual Bool_t IsActive () const
 
virtual void SetActive (Bool_t v=kTRUE)
 
virtual Bool_t IsFolder () const
 
virtual Int_t & LoMedium ()
 
virtual Int_t & HiMedium ()
 
virtual Bool_t IsModule () const
 
virtual Bool_t IsDetector () const
 
virtual void AliMaterial (Int_t imat, const char *name, Float_t a, Float_t z, Float_t dens, Float_t radl, Float_t absl, Float_t *buf=0, Int_t nwbuf=0) const
 
virtual void AliGetMaterial (Int_t imat, char *name, Float_t &a, Float_t &z, Float_t &dens, Float_t &radl, Float_t &absl) const
 
virtual void AliMixture (Int_t imat, const char *name, Float_t *a, Float_t *z, Float_t dens, Int_t nlmat, Float_t *wmat) const
 
virtual void AliMedium (Int_t numed, const char *name, Int_t nmat, Int_t isvol, Int_t ifield, Float_t fieldm, Float_t tmaxfd, Float_t stemax, Float_t deemax, Float_t epsil, Float_t stmin, Float_t *ubuf=0, Int_t nbuf=0) const
 
void AliMatrix (Int_t &nmat, Double_t theta1, Double_t phi1, Double_t theta2, Double_t phi2, Double_t theta3, Double_t phi3) const
 
virtual void BuildGeometry ()
 
virtual Int_t IsVersion () const =0
 
virtual void AddDigit (Int_t *, Int_t *)
 
virtual void AddHit (Int_t, Int_t *, Float_t *)
 
virtual void Hits2SDigits ()
 
virtual AliDigitizerCreateDigitizer (AliDigitizationInput *) const
 
virtual AliTriggerDetectorCreateTriggerDetector () const
 
virtual void SDigits2Digits ()
 
virtual void Hits2Digits ()
 
virtual void Digits2Reco ()
 
virtual void Digits2Raw ()
 
virtual void Raw2Digits ()
 
virtual Bool_t Raw2SDigits (AliRawReader *)
 
virtual void QADataMaker (const char *)
 
virtual void Browse (TBrowser *)
 
virtual void CreateGeometry ()
 
virtual void CreateMaterials ()
 
virtual void DefineOpticalProperties ()
 
virtual void AddAlignableVolumes () const
 
virtual void PreTrack ()
 
virtual void PostTrack ()
 
virtual void FinishEvent ()
 
virtual void FinishRun ()
 
virtual void FinishPrimary ()
 
virtual void Init ()
 
virtual void LoadPoints (Int_t)
 
virtual void UpdateInternalGeometry ()
 
virtual void MakeBranch (Option_t *)
 
virtual void MakeTree (Option_t *)
 
virtual AliLoaderMakeLoader (const char *topfoldername)
 
virtual AliLoaderGetLoader () const
 
virtual void Paint (Option_t *)
 
virtual void ResetDigits ()
 
virtual void ResetSDigits ()
 
virtual void ResetHits ()
 
virtual void SetTimeGate (Float_t)
 
virtual Float_t GetTimeGate () const
 
virtual void StepManager ()
 
virtual void DisableStepManager ()
 
virtual Bool_t StepManagerIsEnabled () const
 
virtual void SetBufferSize (Int_t)
 
virtual Float_t ZMin () const
 
virtual Float_t ZMax () const
 
virtual AliTrackReferenceAddTrackReference (Int_t label, Int_t id=-999)
 
TTree * TreeTR ()
 
void SetRunLoader (AliRunLoader *runLoader)
 
virtual void CheckQA ()
 
AliDigitizationInputGetDigitizationInput () const
 
void CacheVMCInstance (TVirtualMC *mc)
 

Static Public Member Functions

static void SetDensityFactor (Float_t density)
 
static Float_t GetDensityFactor ()
 

Protected Attributes

TVirtualMC * fMC
 
TArrayI * fIdtmed
 cached MC instance (to avoid calls to thread_local gMC=TVirtualMC::GetMC()) More...
 
TArrayI * fIdmate
 List of tracking medium numbers. More...
 
Int_t fLoMedium
 List of material numbers. More...
 
Int_t fHiMedium
 Minimum tracking medium ID for this Module. More...
 
Bool_t fActive
 Maximum tracking medium ID for this Module. More...
 
Bool_t fEnable
 
Int_t fMaxIterTrackRef
 
Int_t fCurrentIterTrackRef
 for track refernce iterator routines More...
 
AliRunLoaderfRunLoader
 for track refernce iterator routines More...
 
AliDigitizationInputfDigInput
 local pointer to run loader More...
 

Static Protected Attributes

static Float_t fgDensityFactor = 1.0
 input for sdigits -> digits More...
 

Private Member Functions

 AliModule (const AliModule &)
 factor that is multiplied to all material densities (ONLY for systematic studies) More...
 
AliModuleoperator= (const AliModule &)
 

Detailed Description

Definition at line 36 of file AliModule.h.

Constructor & Destructor Documentation

AliModule::AliModule ( const char *  name,
const char *  title 
)

Definition at line 90 of file AliModule.cxx.

AliModule::AliModule ( )

Definition at line 71 of file AliModule.cxx.

AliModule::~AliModule ( )
virtual

Definition at line 130 of file AliModule.cxx.

AliModule::AliModule ( const AliModule )
private

factor that is multiplied to all material densities (ONLY for systematic studies)

Member Function Documentation

void AliModule::AddAlignableVolumes ( ) const
virtual

Reimplemented in AliFMD, AliMFT, AliDetector, AliEMCALv0, and AliMUONv1.

Definition at line 362 of file AliModule.cxx.

Referenced by DefineOpticalProperties(), and AliMC::SetAllAlignableVolumes().

virtual void AliModule::AddDigit ( Int_t *  ,
Int_t *   
)
inlinevirtual

Reimplemented in AliFMD.

Definition at line 86 of file AliModule.h.

virtual void AliModule::AddHit ( Int_t  ,
Int_t *  ,
Float_t *   
)
inlinevirtual

Reimplemented in AliFMD, and AliEMCAL.

Definition at line 88 of file AliModule.h.

AliTrackReference * AliModule::AddTrackReference ( Int_t  label,
Int_t  id = -999 
)
virtual
void AliModule::AliGetMaterial ( Int_t  imat,
char *  name,
Float_t &  a,
Float_t &  z,
Float_t &  dens,
Float_t &  radl,
Float_t &  absl 
) const
virtual

Definition at line 194 of file AliModule.cxx.

Referenced by IsDetector().

void AliModule::AliMaterial ( Int_t  imat,
const char *  name,
Float_t  a,
Float_t  z,
Float_t  dens,
Float_t  radl,
Float_t  absl,
Float_t *  buf = 0,
Int_t  nwbuf = 0 
) const
virtual
void AliModule::AliMedium ( Int_t  numed,
const char *  name,
Int_t  nmat,
Int_t  isvol,
Int_t  ifield,
Float_t  fieldm,
Float_t  tmaxfd,
Float_t  stemax,
Float_t  deemax,
Float_t  epsil,
Float_t  stmin,
Float_t *  ubuf = 0,
Int_t  nbuf = 0 
) const
virtual
void AliModule::AliMixture ( Int_t  imat,
const char *  name,
Float_t *  a,
Float_t *  z,
Float_t  dens,
Int_t  nlmat,
Float_t *  wmat 
) const
virtual
virtual void AliModule::Browse ( TBrowser *  )
inlinevirtual

Reimplemented in AliFMD, and AliDetector.

Definition at line 102 of file AliModule.h.

virtual void AliModule::BuildGeometry ( )
inlinevirtual

Definition at line 81 of file AliModule.h.

void AliModule::CacheVMCInstance ( TVirtualMC *  mc)
inline

Definition at line 150 of file AliModule.h.

virtual void AliModule::CheckQA ( )
inlinevirtual

Definition at line 144 of file AliModule.h.

virtual AliDigitizer* AliModule::CreateDigitizer ( AliDigitizationInput ) const
inlinevirtual

Reimplemented in AliFMD, AliMFT, AliMUON, and AliEMCAL.

Definition at line 91 of file AliModule.h.

Referenced by AliSimulation::RunDigitization().

virtual void AliModule::CreateGeometry ( )
inlinevirtual

Reimplemented in AliFMD, AliMFT, AliEMCALv0, and AliMUONv1.

Definition at line 103 of file AliModule.h.

virtual void AliModule::CreateMaterials ( )
inlinevirtual

Reimplemented in AliFMD, AliMFT, AliEMCAL, and AliMUONv1.

Definition at line 104 of file AliModule.h.

virtual AliTriggerDetector* AliModule::CreateTriggerDetector ( ) const
inlinevirtual

Reimplemented in AliMUON.

Definition at line 93 of file AliModule.h.

Referenced by AliTriggerUtils::CheckConfiguration(), and AliCentralTrigger::RunTrigger().

virtual void AliModule::DefineOpticalProperties ( )
inlinevirtual

Definition at line 105 of file AliModule.h.

virtual TClonesArray* AliModule::Digits ( ) const
inlinevirtual

Reimplemented in AliDetector.

Definition at line 48 of file AliModule.h.

void AliModule::Digits2Raw ( )
virtual

Reimplemented in AliFMD, AliMUON, and AliEMCAL.

Definition at line 402 of file AliModule.cxx.

Referenced by Digits2Reco(), and AliSimulation::WriteRawFiles().

virtual void AliModule::Digits2Reco ( )
inlinevirtual

Definition at line 97 of file AliModule.h.

Referenced by AliRun::Tree2Tree().

virtual void AliModule::DisableStepManager ( )
inlinevirtual

Definition at line 132 of file AliModule.h.

virtual void AliModule::FinishEvent ( )
inlinevirtual

Reimplemented in AliFMD.

Definition at line 109 of file AliModule.h.

Referenced by AliMC::FinishEvent().

virtual void AliModule::FinishPrimary ( )
inlinevirtual

Reimplemented in AliEMCALv1.

Definition at line 111 of file AliModule.h.

Referenced by AliMC::FinishPrimary().

virtual void AliModule::FinishRun ( )
inlinevirtual

Reimplemented in AliEMCAL, and AliDetector.

Definition at line 110 of file AliModule.h.

static Float_t AliModule::GetDensityFactor ( )
inlinestatic

Definition at line 148 of file AliModule.h.

AliDigitizationInput* AliModule::GetDigitizationInput ( ) const
inline

Definition at line 145 of file AliModule.h.

virtual Int_t AliModule::GetIshunt ( ) const
inlinevirtual

Reimplemented in AliDetector.

Definition at line 51 of file AliModule.h.

virtual AliLoader* AliModule::GetLoader ( ) const
inlinevirtual

Reimplemented in AliDetector.

Definition at line 122 of file AliModule.h.

Referenced by Digits2Raw().

virtual Int_t AliModule::GetNdigits ( ) const
inlinevirtual

Reimplemented in AliDetector.

Definition at line 45 of file AliModule.h.

virtual Int_t AliModule::GetNhits ( ) const
inlinevirtual

Reimplemented in AliDetector.

Definition at line 46 of file AliModule.h.

virtual Float_t AliModule::GetTimeGate ( ) const
inlinevirtual

Reimplemented in AliDetector.

Definition at line 130 of file AliModule.h.

virtual Int_t& AliModule::HiMedium ( )
inlinevirtual

Definition at line 57 of file AliModule.h.

Referenced by AliMC::MediaTable(), and MediaTable().

virtual TClonesArray* AliModule::Hits ( ) const
inlinevirtual

Reimplemented in AliDetector.

Definition at line 49 of file AliModule.h.

virtual void AliModule::Hits2Digits ( )
inlinevirtual

Reimplemented in AliFMD.

Definition at line 96 of file AliModule.h.

Referenced by AliSimulation::RunHitsDigitization().

virtual void AliModule::Hits2SDigits ( )
inlinevirtual

Reimplemented in AliFMD, AliMUON, AliEMCAL, and AliMFT.

Definition at line 90 of file AliModule.h.

Referenced by AliSimulation::RunSDigitization(), and AliRun::Tree2Tree().

virtual void AliModule::Init ( void  )
inlinevirtual

Reimplemented in AliFMD, AliMFT, AliEMCAL, AliEMCALv0, and AliMUONv1.

Definition at line 112 of file AliModule.h.

Referenced by AliMC::InitGeometry().

virtual Bool_t AliModule::IsDetector ( ) const
inlinevirtual

Reimplemented in AliDetector.

Definition at line 59 of file AliModule.h.

virtual Bool_t AliModule::IsFolder ( ) const
inlinevirtual

Definition at line 55 of file AliModule.h.

virtual Bool_t AliModule::IsModule ( ) const
inlinevirtual

Reimplemented in AliDetector.

Definition at line 58 of file AliModule.h.

virtual Int_t AliModule::IsVersion ( ) const
pure virtual
virtual void AliModule::LoadPoints ( Int_t  )
inlinevirtual

Definition at line 113 of file AliModule.h.

virtual Int_t& AliModule::LoMedium ( )
inlinevirtual

Definition at line 56 of file AliModule.h.

Referenced by AliMC::MediaTable(), and MediaTable().

virtual void AliModule::MakeBranch ( Option_t *  )
inlinevirtual

Reimplemented in AliFMD, AliMUON, AliMFT, and AliDetector.

Definition at line 118 of file AliModule.h.

AliLoader * AliModule::MakeLoader ( const char *  topfoldername)
virtual

Reimplemented in AliEMCAL, AliDetector, and AliMUON.

Definition at line 371 of file AliModule.cxx.

Referenced by MakeTree().

virtual void AliModule::MakeTree ( Option_t *  )
inlinevirtual

Reimplemented in AliDetector.

Definition at line 119 of file AliModule.h.

AliModule& AliModule::operator= ( const AliModule )
private
virtual void AliModule::Paint ( Option_t *  )
inlinevirtual

Definition at line 125 of file AliModule.h.

virtual TObjArray* AliModule::Points ( ) const
inlinevirtual

Definition at line 50 of file AliModule.h.

virtual void AliModule::PostTrack ( )
inlinevirtual

Definition at line 108 of file AliModule.h.

Referenced by AliMC::PostTrack().

virtual void AliModule::PreTrack ( )
inlinevirtual

Definition at line 107 of file AliModule.h.

Referenced by AliMC::PreTrack().

virtual void AliModule::QADataMaker ( const char *  )
inlinevirtual

Definition at line 101 of file AliModule.h.

virtual void AliModule::Raw2Digits ( )
inlinevirtual

Definition at line 99 of file AliModule.h.

virtual Bool_t AliModule::Raw2SDigits ( AliRawReader *  )
inlinevirtual

Reimplemented in AliFMD, AliEMCAL, and AliMUON.

Definition at line 100 of file AliModule.h.

Referenced by AliSimulation::ConvertRaw2SDigits().

virtual void AliModule::ResetDigits ( )
inlinevirtual

Reimplemented in AliMFT, and AliDetector.

Definition at line 126 of file AliModule.h.

Referenced by AliMC::ResetDigits().

virtual void AliModule::ResetHits ( )
inlinevirtual

Reimplemented in AliMUON, and AliDetector.

Definition at line 128 of file AliModule.h.

Referenced by AliMC::ResetHits().

virtual void AliModule::ResetSDigits ( )
inlinevirtual

Reimplemented in AliFMD, and AliMFT.

Definition at line 127 of file AliModule.h.

Referenced by AliMC::ResetSDigits().

virtual void AliModule::SDigits2Digits ( )
inlinevirtual

Reimplemented in AliMUON.

Definition at line 95 of file AliModule.h.

Referenced by AliRun::Tree2Tree().

virtual void AliModule::SetActive ( Bool_t  v = kTRUE)
inlinevirtual

Definition at line 54 of file AliModule.h.

Referenced by AliSimulation::DeactivateDetectorsAbsentInGRP().

virtual void AliModule::SetBufferSize ( Int_t  )
inlinevirtual

Reimplemented in AliDetector.

Definition at line 134 of file AliModule.h.

static void AliModule::SetDensityFactor ( Float_t  density)
inlinestatic

Definition at line 147 of file AliModule.h.

virtual void AliModule::SetIshunt ( Int_t  )
inlinevirtual

Reimplemented in AliDetector.

Definition at line 52 of file AliModule.h.

void AliModule::SetRunLoader ( AliRunLoader runLoader)
inline

Definition at line 140 of file AliModule.h.

Referenced by AliRun::InitLoaders(), and AliRun::SetRunLoader().

virtual void AliModule::SetTimeGate ( Float_t  )
inlinevirtual

Reimplemented in AliDetector.

Definition at line 129 of file AliModule.h.

virtual void AliModule::StepManager ( void  )
inlinevirtual

Reimplemented in AliFMD, AliFMDv1, AliMFT, AliFMDv0, AliDetector, AliEMCALv1, AliEMCALv2, and AliMUONv1.

Definition at line 131 of file AliModule.h.

Referenced by AliMC::Stepping().

virtual Bool_t AliModule::StepManagerIsEnabled ( ) const
inlinevirtual

Definition at line 133 of file AliModule.h.

Referenced by AliMC::Stepping().

TTree * AliModule::TreeTR ( )

Definition at line 385 of file AliModule.cxx.

Referenced by SetBufferSize().

virtual void AliModule::UpdateInternalGeometry ( )
inlinevirtual

Reimplemented in AliMUONv1.

Definition at line 114 of file AliModule.h.

Referenced by AliSimulation::MisalignGeometry().

Float_t AliModule::ZMax ( ) const
virtual

Definition at line 356 of file AliModule.cxx.

Referenced by SetBufferSize().

Float_t AliModule::ZMin ( ) const
virtual

Definition at line 350 of file AliModule.cxx.

Referenced by SetBufferSize().

Member Data Documentation

Bool_t AliModule::fActive
protected

Maximum tracking medium ID for this Module.

Definition at line 162 of file AliModule.h.

Referenced by AliDetector::AliDetector(), IsActive(), and SetActive().

Int_t AliModule::fCurrentIterTrackRef
protected

for track refernce iterator routines

Definition at line 165 of file AliModule.h.

AliDigitizationInput* AliModule::fDigInput
protected

local pointer to run loader

Definition at line 168 of file AliModule.h.

Referenced by GetDigitizationInput().

Bool_t AliModule::fEnable
protected

Definition at line 163 of file AliModule.h.

Referenced by DisableStepManager(), and StepManagerIsEnabled().

Float_t AliModule::fgDensityFactor = 1.0
staticprotected

input for sdigits -> digits

Definition at line 169 of file AliModule.h.

Referenced by AliMaterial(), AliMixture(), GetDensityFactor(), and SetDensityFactor().

Int_t AliModule::fHiMedium
protected

Minimum tracking medium ID for this Module.

Definition at line 160 of file AliModule.h.

Referenced by HiMedium().

TArrayI* AliModule::fIdmate
protected

List of tracking medium numbers.

Definition at line 158 of file AliModule.h.

Referenced by AliModule(), and ~AliModule().

TArrayI* AliModule::fIdtmed
protected

cached MC instance (to avoid calls to thread_local gMC=TVirtualMC::GetMC())

Definition at line 157 of file AliModule.h.

Referenced by AliEMCALv0::CreateGeometry(), GetIdtmed(), and ~AliModule().

Int_t AliModule::fLoMedium
protected

List of material numbers.

Definition at line 159 of file AliModule.h.

Referenced by LoMedium().

Int_t AliModule::fMaxIterTrackRef
protected

Definition at line 164 of file AliModule.h.

AliRunLoader* AliModule::fRunLoader
protected

for track refernce iterator routines

Definition at line 167 of file AliModule.h.

Referenced by SetRunLoader(), and TreeTR().


The documentation for this class was generated from the following files: