AliRoot Core  edcc906 (edcc906)
AliDetector Class Reference

#include <AliDetector.h>

Inheritance diagram for AliDetector:

Public Member Functions

 AliDetector (const char *name, const char *title)
 
 AliDetector ()
 
virtual ~AliDetector ()
 
virtual int GetNdigits () const
 
virtual int GetNhits () const
 
TClonesArray * Digits () const
 
TClonesArray * Hits () const
 
virtual Bool_t IsModule () const
 
virtual Bool_t IsDetector () const
 
Int_t GetIshunt () const
 
void SetIshunt (Int_t ishunt)
 
virtual void Publish (const char *dir, void *c, const char *name=0) const
 
virtual void Browse (TBrowser *b)
 
virtual void FinishRun ()
 
virtual void MakeBranch (Option_t *opt=" ")
 
virtual void ResetDigits ()
 
virtual void ResetHits ()
 
virtual void AddAlignableVolumes () const
 
virtual void SetTreeAddress ()
 
virtual void SetTimeGate (Float_t gate)
 
virtual Float_t GetTimeGate () const
 
virtual void StepManager ()
 
virtual void DrawModule () const
 
virtual AliHitFirstHit (Int_t track)
 
virtual AliHitNextHit ()
 
virtual void SetBufferSize (Int_t bufsize=8000)
 
virtual TBranch * MakeBranchInTree (TTree *tree, const char *cname, void *address, Int_t size=32000, const char *file=0)
 
virtual TBranch * MakeBranchInTree (TTree *tree, const char *cname, const char *name, void *address, Int_t size=32000, Int_t splitlevel=99, const char *file=0)
 
void MakeTree (Option_t *option)
 
virtual void RemapTrackHitIDs (Int_t *)
 
virtual AliLoaderMakeLoader (const char *topfoldername)
 
void SetLoader (AliLoader *loader)
 
AliLoaderGetLoader () const
 
- Public Member Functions inherited from AliModule
 AliModule (const char *name, const char *title)
 
 AliModule ()
 
virtual ~AliModule ()
 
virtual TArrayI * GetIdtmed () const
 
virtual TObjArrayPoints () const
 
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 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 CreateGeometry ()
 
virtual void CreateMaterials ()
 
virtual void DefineOpticalProperties ()
 
virtual void PreTrack ()
 
virtual void PostTrack ()
 
virtual void FinishEvent ()
 
virtual void FinishPrimary ()
 
virtual void Init ()
 
virtual void LoadPoints (Int_t)
 
virtual void UpdateInternalGeometry ()
 
virtual void Paint (Option_t *)
 
virtual void ResetSDigits ()
 
virtual void DisableStepManager ()
 
virtual Bool_t StepManagerIsEnabled () const
 
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)
 

Protected Attributes

Float_t fTimeGate
 
Int_t fIshunt
 
Int_t fNhits
 
Int_t fNdigits
 Number of hits. More...
 
Int_t fBufferSize
 Number of digits. More...
 
Int_t fMaxIterHit
 buffer size for Tree detector branches More...
 
Int_t fCurIterHit
 Limit for the hit iterator. More...
 
TClonesArray * fHits
 Counter for the hit iterator. More...
 
TClonesArray * fDigits
 List of hits for one track only. More...
 
AliLoaderfLoader
 List of digits for this detector. More...
 
- Protected Attributes inherited from AliModule
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...
 

Private Member Functions

 AliDetector (const AliDetector &det)
 pointer to getter for this module skowron More...
 
AliDetectoroperator= (const AliDetector &det)
 

Additional Inherited Members

- Static Public Member Functions inherited from AliModule
static void SetDensityFactor (Float_t density)
 
static Float_t GetDensityFactor ()
 
- Static Protected Attributes inherited from AliModule
static Float_t fgDensityFactor = 1.0
 input for sdigits -> digits More...
 

Detailed Description

Definition at line 22 of file AliDetector.h.

Constructor & Destructor Documentation

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

Definition at line 71 of file AliDetector.cxx.

AliDetector::AliDetector ( )

Definition at line 52 of file AliDetector.cxx.

AliDetector::~AliDetector ( )
virtual

Definition at line 96 of file AliDetector.cxx.

AliDetector::AliDetector ( const AliDetector det)
private

pointer to getter for this module skowron

Member Function Documentation

void AliDetector::AddAlignableVolumes ( ) const
virtual

Reimplemented from AliModule.

Reimplemented in AliFMD, AliMFT, AliEMCALv0, and AliMUONv1.

Definition at line 126 of file AliDetector.cxx.

Referenced by SetIshunt().

void AliDetector::Browse ( TBrowser *  b)
virtual

Reimplemented from AliModule.

Reimplemented in AliFMD.

Definition at line 178 of file AliDetector.cxx.

Referenced by AliFMD::Browse(), and SetIshunt().

TClonesArray* AliDetector::Digits ( ) const
inlinevirtual

Reimplemented from AliModule.

Definition at line 34 of file AliDetector.h.

Referenced by AliFMDInput::Begin(), AliFMDRawWriter::Exec(), and AliFMDBaseDigitizer::StoreDigits().

virtual void AliDetector::DrawModule ( ) const
inlinevirtual

Definition at line 55 of file AliDetector.h.

void AliDetector::FinishRun ( )
virtual

Reimplemented from AliModule.

Reimplemented in AliEMCAL.

Definition at line 197 of file AliDetector.cxx.

Referenced by SetIshunt().

AliHit * AliDetector::FirstHit ( Int_t  track)
virtual

Definition at line 205 of file AliDetector.cxx.

Referenced by DrawModule().

Int_t AliDetector::GetIshunt ( ) const
inlinevirtual

Reimplemented from AliModule.

Definition at line 39 of file AliDetector.h.

AliLoader* AliDetector::GetLoader ( ) const
inlinevirtual
virtual int AliDetector::GetNdigits ( ) const
inlinevirtual

Reimplemented from AliModule.

Definition at line 32 of file AliDetector.h.

virtual int AliDetector::GetNhits ( ) const
inlinevirtual

Reimplemented from AliModule.

Definition at line 33 of file AliDetector.h.

virtual Float_t AliDetector::GetTimeGate ( ) const
inlinevirtual

Reimplemented from AliModule.

Definition at line 53 of file AliDetector.h.

TClonesArray* AliDetector::Hits ( ) const
inlinevirtual
virtual Bool_t AliDetector::IsDetector ( ) const
inlinevirtual

Reimplemented from AliModule.

Definition at line 37 of file AliDetector.h.

virtual Bool_t AliDetector::IsModule ( ) const
inlinevirtual

Reimplemented from AliModule.

Definition at line 36 of file AliDetector.h.

void AliDetector::MakeBranch ( Option_t *  opt = " ")
virtual

Reimplemented from AliModule.

Reimplemented in AliFMD, AliMUON, and AliMFT.

Definition at line 243 of file AliDetector.cxx.

Referenced by AliFMD::MakeBranch(), SetIshunt(), and AliRun::Tree2Tree().

TBranch * AliDetector::MakeBranchInTree ( TTree *  tree,
const char *  cname,
void *  address,
Int_t  size = 32000,
const char *  file = 0 
)
virtual

Definition at line 133 of file AliDetector.cxx.

Referenced by MakeBranch(), AliMFT::MakeBranch(), AliFMD::MakeBranch(), and SetBufferSize().

TBranch * AliDetector::MakeBranchInTree ( TTree *  tree,
const char *  cname,
const char *  name,
void *  address,
Int_t  size = 32000,
Int_t  splitlevel = 99,
const char *  file = 0 
)
virtual

Definition at line 141 of file AliDetector.cxx.

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

Reimplemented from AliModule.

Reimplemented in AliEMCAL, and AliMUON.

Definition at line 330 of file AliDetector.cxx.

Referenced by AliRunLoader::AddLoader(), and RemapTrackHitIDs().

void AliDetector::MakeTree ( Option_t *  option)
virtual

Reimplemented from AliModule.

Definition at line 312 of file AliDetector.cxx.

Referenced by AliMFTDigitizer::Digitize(), AliFMD::Raw2SDigits(), and SetBufferSize().

AliHit * AliDetector::NextHit ( )
virtual

Definition at line 226 of file AliDetector.cxx.

Referenced by DrawModule().

AliDetector& AliDetector::operator= ( const AliDetector det)
private
void AliDetector::Publish ( const char *  dir,
void *  c,
const char *  name = 0 
) const
virtual

Definition at line 117 of file AliDetector.cxx.

Referenced by SetIshunt().

virtual void AliDetector::RemapTrackHitIDs ( Int_t *  )
inlinevirtual

Reimplemented in AliEMCALv1.

Definition at line 63 of file AliDetector.h.

Referenced by AliMC::RemapHits().

void AliDetector::ResetDigits ( )
virtual

Reimplemented from AliModule.

Reimplemented in AliMFT.

Definition at line 259 of file AliDetector.cxx.

Referenced by AliFMDRawWriter::Exec(), SetIshunt(), and AliFMDBaseDigitizer::StoreDigits().

void AliDetector::ResetHits ( )
virtual

Reimplemented from AliModule.

Reimplemented in AliMUON.

Definition at line 269 of file AliDetector.cxx.

Referenced by SetIshunt().

virtual void AliDetector::SetBufferSize ( Int_t  bufsize = 8000)
inlinevirtual

Reimplemented from AliModule.

Definition at line 58 of file AliDetector.h.

void AliDetector::SetIshunt ( Int_t  ishunt)
inlinevirtual

Reimplemented from AliModule.

Definition at line 40 of file AliDetector.h.

Referenced by AliMUONResponseFactory::Build().

void AliDetector::SetLoader ( AliLoader loader)
inline

Definition at line 66 of file AliDetector.h.

Referenced by AliFMDBaseDigitizer::MakeOutputTree(), and AliRun::SetRunLoader().

virtual void AliDetector::SetTimeGate ( Float_t  gate)
inlinevirtual

Reimplemented from AliModule.

Definition at line 52 of file AliDetector.h.

void AliDetector::SetTreeAddress ( )
virtual
virtual void AliDetector::StepManager ( void  )
inlinevirtual

Reimplemented from AliModule.

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

Definition at line 54 of file AliDetector.h.

Member Data Documentation

Int_t AliDetector::fBufferSize
protected

Number of digits.

Definition at line 76 of file AliDetector.h.

Referenced by MakeBranch(), and SetBufferSize().

Int_t AliDetector::fCurIterHit
protected

Limit for the hit iterator.

Definition at line 78 of file AliDetector.h.

Referenced by FirstHit(), and NextHit().

TClonesArray* AliDetector::fDigits
protected
Int_t AliDetector::fMaxIterHit
protected

buffer size for Tree detector branches

Definition at line 77 of file AliDetector.h.

Referenced by FirstHit(), and NextHit().

Int_t AliDetector::fNdigits
protected

Number of hits.

Definition at line 75 of file AliDetector.h.

Referenced by AliFMD::AddDigitByFields(), AliFMD::DigitsArray(), GetNdigits(), and ResetDigits().

Float_t AliDetector::fTimeGate
protected

Definition at line 71 of file AliDetector.h.

Referenced by GetTimeGate(), and SetTimeGate().


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