AliRoot Core  edcc906 (edcc906)
AliEMCAL Class Referenceabstract

Base Class for EMCAL description. More...

#include <AliEMCAL.h>

Inheritance diagram for AliEMCAL:

Public Member Functions

 AliEMCAL ()
 Default Constructor. More...
 
 AliEMCAL (const char *name, const char *title="", const Bool_t checkGeoAndRun=kTRUE)
 
virtual ~AliEMCAL ()
 Destructor. More...
 
virtual void AddHit (Int_t, Int_t *, Float_t *)
 See in AliEMCALv2. More...
 
virtual AliDigitizerCreateDigitizer (AliDigitizationInput *digInput) const
 Create and return the digitizer. More...
 
virtual void CreateMaterials ()
 Definitions of materials to build EMCAL and associated tracking media. More...
 
virtual void Init ()
 Init (not needed) More...
 
virtual void Digits2Raw ()
 Create raw samples from digits. More...
 
virtual void FinishRun ()
 
virtual AliEMCALGeometryGetGeometry () const
 
virtual void Hits2SDigits ()
 Create summable digits from hits. More...
 
virtual Int_t IsVersion (void) const =0
 
virtual const TString Version () const
 
virtual AliLoaderMakeLoader (const char *topfoldername)
 Create/recover EMCal Loader. More...
 
virtual void SetCheckRunNumberAndGeoVersion (Bool_t check)
 
Bool_t Raw2SDigits (AliRawReader *rawReader)
 
- Public Member Functions inherited from AliDetector
 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 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 *)
 
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 void AddDigit (Int_t *, Int_t *)
 
virtual AliTriggerDetectorCreateTriggerDetector () const
 
virtual void SDigits2Digits ()
 
virtual void Hits2Digits ()
 
virtual void Digits2Reco ()
 
virtual void Raw2Digits ()
 
virtual void QADataMaker (const char *)
 
virtual void CreateGeometry ()
 
virtual void DefineOpticalProperties ()
 
virtual void PreTrack ()
 
virtual void PostTrack ()
 
virtual void FinishEvent ()
 
virtual void FinishPrimary ()
 
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 Member Functions

void InitConstants ()
 

Protected Attributes

Int_t fBirkC0
 Constant 0 for Birk's Law implementation. More...
 
Double_t fBirkC1
 Constant 1 for Birk's Law implementation. More...
 
Double_t fBirkC2
 Constant 2 for Birk's Law implementation. More...
 
Bool_t fCheckRunNumberAndGeoVersion
 Check if run number corresponds to the requested geometry and V1 is used. More...
 
AliEMCALGeometryfGeometry
 ! EMCal geometry access More...
 
TClonesArray * fTriggerData
 Trigger parameters data container. More...
 
- Protected Attributes inherited from AliDetector
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...
 

Static Protected Attributes

static AliEMCALRawUtilsfgRawUtils = 0
 Raw utilities class, for embedding. More...
 
- Static Protected Attributes inherited from AliModule
static Float_t fgDensityFactor = 1.0
 input for sdigits -> digits More...
 

Private Member Functions

 AliEMCAL (const AliEMCAL &emcal)
 
AliEMCALoperator= (const AliEMCAL &)
 

Additional Inherited Members

- Static Public Member Functions inherited from AliModule
static void SetDensityFactor (Float_t density)
 
static Float_t GetDensityFactor ()
 

Detailed Description

Base Class for EMCAL description.

This class contains material definitions for the EMCAL - It does not place the detector in ALICE (who does? AliEMCALv0?)

Author
Yves Schutz (SUBATECH)
Sahal Yacoob (LBNL/UCT)
Alexei Pavlinov (WSU)

Definition at line 35 of file AliEMCAL.h.

Constructor & Destructor Documentation

AliEMCAL::AliEMCAL ( )

Default Constructor.

Definition at line 56 of file AliEMCAL.cxx.

AliEMCAL::AliEMCAL ( const char *  name,
const char *  title = "",
const Bool_t  checkGeoAndRun = kTRUE 
)

Constructor : title is used to identify the layout

Parameters
namedetector name "EMCAL"
titlegeometry name, see AliEMCALGeometry for options, see AliEMCAL::GetGeometry()
checkGeoAndRunRequest automatic setting of geometry depending on run number, see AliEMCAL::GetGeometry()

Definition at line 78 of file AliEMCAL.cxx.

AliEMCAL::~AliEMCAL ( )
virtual

Destructor.

Definition at line 94 of file AliEMCAL.cxx.

AliEMCAL::AliEMCAL ( const AliEMCAL emcal)
private

Member Function Documentation

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

See in AliEMCALv2.

Reimplemented from AliModule.

Definition at line 46 of file AliEMCAL.h.

Referenced by AliEMCALv0::~AliEMCALv0().

AliDigitizer * AliEMCAL::CreateDigitizer ( AliDigitizationInput digInput) const
virtual

Create and return the digitizer.

Reimplemented from AliModule.

Definition at line 192 of file AliEMCAL.cxx.

Referenced by AddHit().

void AliEMCAL::CreateMaterials ( )
virtual

Definitions of materials to build EMCAL and associated tracking media.

Reimplemented from AliModule.

Definition at line 200 of file AliEMCAL.cxx.

Referenced by AddHit().

void AliEMCAL::Digits2Raw ( )
virtual

Create raw samples from digits.

Reimplemented from AliModule.

Definition at line 298 of file AliEMCAL.cxx.

Referenced by AddHit().

virtual void AliEMCAL::FinishRun ( )
inlinevirtual

Reimplemented from AliDetector.

Definition at line 58 of file AliEMCAL.h.

void AliEMCAL::Hits2SDigits ( )
virtual

Create summable digits from hits.

Reimplemented from AliModule.

Definition at line 312 of file AliEMCAL.cxx.

Referenced by FinishRun().

void AliEMCAL::Init ( void  )
virtual

Init (not needed)

Reimplemented from AliModule.

Reimplemented in AliEMCALv0.

Definition at line 288 of file AliEMCAL.cxx.

Referenced by AddHit(), and AliEMCALv0::Init().

void AliEMCAL::InitConstants ( )
protected

Initialize EMCAL values, only Birk's law constants but they are really initialized in AliEMCAL::CreateMaterials()

Definition at line 105 of file AliEMCAL.cxx.

Referenced by AliEMCAL(), and SetCheckRunNumberAndGeoVersion().

virtual Int_t AliEMCAL::IsVersion ( void  ) const
pure virtual

Implements AliModule.

Implemented in AliEMCALv0, AliEMCALv1, and AliEMCALv2.

Referenced by FinishRun().

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

Create/recover EMCal Loader.

Reimplemented from AliDetector.

Definition at line 454 of file AliEMCAL.cxx.

Referenced by Version().

AliEMCAL& AliEMCAL::operator= ( const AliEMCAL )
private
Bool_t AliEMCAL::Raw2SDigits ( AliRawReader *  rawReader)
virtual

Conversion from raw data to EMCAL sdigits. Does the same as AliEMCALReconstructor::ConvertDigits() Needed to embed real data and simulation. Works on a single-event basis.

Parameters
rawReaderraw data stream pointer

Reimplemented from AliModule.

Definition at line 329 of file AliEMCAL.cxx.

Referenced by SetCheckRunNumberAndGeoVersion().

virtual void AliEMCAL::SetCheckRunNumberAndGeoVersion ( Bool_t  check)
inlinevirtual

Definition at line 71 of file AliEMCAL.h.

virtual const TString AliEMCAL::Version ( void  ) const
inlinevirtual

Reimplemented in AliEMCALv0, AliEMCALv1, and AliEMCALv2.

Definition at line 66 of file AliEMCAL.h.

Member Data Documentation

Int_t AliEMCAL::fBirkC0
protected

Constant 0 for Birk's Law implementation.

Definition at line 79 of file AliEMCAL.h.

Referenced by CreateMaterials(), InitConstants(), AliEMCALv2::StepManager(), and AliEMCALv1::StepManager().

Double_t AliEMCAL::fBirkC1
protected

Constant 1 for Birk's Law implementation.

Definition at line 80 of file AliEMCAL.h.

Referenced by CreateMaterials(), InitConstants(), AliEMCALv2::StepManager(), and AliEMCALv1::StepManager().

Double_t AliEMCAL::fBirkC2
protected

Constant 2 for Birk's Law implementation.

Definition at line 81 of file AliEMCAL.h.

Referenced by CreateMaterials(), InitConstants(), AliEMCALv2::StepManager(), and AliEMCALv1::StepManager().

Bool_t AliEMCAL::fCheckRunNumberAndGeoVersion
protected

Check if run number corresponds to the requested geometry and V1 is used.

Definition at line 83 of file AliEMCAL.h.

Referenced by GetGeometry(), and SetCheckRunNumberAndGeoVersion().

AliEMCALGeometry* AliEMCAL::fGeometry
protected

! EMCal geometry access

Definition at line 85 of file AliEMCAL.h.

Referenced by AliEMCALv0::AliEMCALv0(), and AliEMCALv2::StepManager().

AliEMCALRawUtils * AliEMCAL::fgRawUtils = 0
staticprotected

Raw utilities class, for embedding.

EMCAL raw utilities class.

Definition at line 88 of file AliEMCAL.h.

Referenced by Raw2SDigits(), and ~AliEMCAL().

TClonesArray* AliEMCAL::fTriggerData
protected

Trigger parameters data container.

Definition at line 89 of file AliEMCAL.h.

Referenced by Raw2SDigits(), and ~AliEMCAL().


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