![]() |
AliRoot Core
3dc7879 (3dc7879)
|
Base Class for EMCAL description. More...
#include <AliEMCAL.h>
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 AliDigitizer * | CreateDigitizer (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 AliEMCALGeometry * | GetGeometry () const |
virtual void | Hits2SDigits () |
Create summable digits from hits. More... | |
virtual Int_t | IsVersion (void) const =0 |
virtual const TString | Version () const |
virtual AliLoader * | MakeLoader (const char *topfoldername) |
Create/recover EMCal Loader. More... | |
virtual void | SetCheckRunNumberAndGeoVersion (Bool_t check) |
Bool_t | Raw2SDigits (AliRawReader *rawReader) |
![]() | |
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 AliHit * | FirstHit (Int_t track) |
virtual AliHit * | NextHit () |
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) |
AliLoader * | GetLoader () const |
![]() | |
AliModule (const char *name, const char *title) | |
AliModule () | |
virtual | ~AliModule () |
virtual TArrayI * | GetIdtmed () const |
virtual TObjArray * | Points () 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 AliTriggerDetector * | CreateTriggerDetector () 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 AliTrackReference * | AddTrackReference (Int_t label, Int_t id=-999) |
TTree * | TreeTR () |
void | SetRunLoader (AliRunLoader *runLoader) |
virtual void | CheckQA () |
AliDigitizationInput * | GetDigitizationInput () 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... | |
AliEMCALGeometry * | fGeometry |
! EMCal geometry access More... | |
TClonesArray * | fTriggerData |
Trigger parameters data container. More... | |
![]() | |
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... | |
AliLoader * | fLoader |
List of digits for this detector. More... | |
![]() | |
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... | |
AliRunLoader * | fRunLoader |
for track refernce iterator routines More... | |
AliDigitizationInput * | fDigInput |
local pointer to run loader More... | |
Static Protected Attributes | |
static AliEMCALRawUtils * | fgRawUtils = 0 |
Raw utilities class, for embedding. More... | |
![]() | |
static Float_t | fgDensityFactor = 1.0 |
input for sdigits -> digits More... | |
Private Member Functions | |
AliEMCAL (const AliEMCAL &emcal) | |
AliEMCAL & | operator= (const AliEMCAL &) |
Additional Inherited Members | |
![]() | |
static void | SetDensityFactor (Float_t density) |
static Float_t | GetDensityFactor () |
Base Class for EMCAL description.
This class contains material definitions for the EMCAL - It does not place the detector in ALICE (who does? AliEMCALv0?)
Definition at line 35 of file AliEMCAL.h.
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
name | detector name "EMCAL" |
title | geometry name, see AliEMCALGeometry for options, see AliEMCAL::GetGeometry() |
checkGeoAndRun | Request automatic setting of geometry depending on run number, see AliEMCAL::GetGeometry() |
Definition at line 78 of file AliEMCAL.cxx.
|
virtual |
Destructor.
Definition at line 94 of file AliEMCAL.cxx.
|
private |
|
inlinevirtual |
See in AliEMCALv2.
Reimplemented from AliModule.
Definition at line 46 of file AliEMCAL.h.
Referenced by AliEMCALv0::~AliEMCALv0().
|
virtual |
Create and return the digitizer.
Reimplemented from AliModule.
Definition at line 192 of file AliEMCAL.cxx.
Referenced by AddHit().
|
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().
|
virtual |
Create raw samples from digits.
Reimplemented from AliModule.
Definition at line 298 of file AliEMCAL.cxx.
Referenced by AddHit().
|
inlinevirtual |
Reimplemented from AliDetector.
Definition at line 58 of file AliEMCAL.h.
|
virtual |
Initializes and returns EMCAL geometry. Get it from run number if fCheckRunNumberAndGeoVersion
Definition at line 466 of file AliEMCAL.cxx.
Referenced by AliEMCALv0::AddAlignableVolumesInALICE(), AliEMCALRawUtils::AliEMCALRawUtils(), AliEMCALReconstructor::AliEMCALReconstructor(), AliEMCALTriggerElectronics::AliEMCALTriggerElectronics(), AliEMCALTriggerRawDigitMaker::AliEMCALTriggerRawDigitMaker(), AliEMCALv0::AliEMCALv0(), AliEMCALv0::CreateAlFrontPlate(), AliEMCALv0::CreateEmod(), AliEMCALv0::CreateGeometry(), AliEMCALv0::CreateShishKebabGeometry(), AliEMCALv0::CreateSmod(), AliEMCALDigitizer::Digitize(), FinishRun(), Hits2SDigits(), AliEMCALUnfolding::Init(), AliEMCALClusterizer::Init(), AliEMCALv0::Init(), AliEMCALv0::PbInTrap(), AliEMCALv0::PbInTrd1(), Raw2SDigits(), AliEMCALv1::StepManager(), TestEMCALDigit(), TestEMCALHit(), TestEMCALRecPoint(), TestEMCALSDigit(), and AliEMCALv0::Trd1Tower3X3().
|
virtual |
Create summable digits from hits.
Reimplemented from AliModule.
Definition at line 312 of file AliEMCAL.cxx.
Referenced by FinishRun().
|
virtual |
Init (not needed)
Reimplemented from AliModule.
Reimplemented in AliEMCALv0.
Definition at line 288 of file AliEMCAL.cxx.
Referenced by AddHit(), and AliEMCALv0::Init().
|
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().
|
pure virtual |
Implements AliModule.
Implemented in AliEMCALv0, AliEMCALv1, and AliEMCALv2.
Referenced by FinishRun().
|
virtual |
Create/recover EMCal Loader.
Reimplemented from AliDetector.
Definition at line 454 of file AliEMCAL.cxx.
Referenced by Version().
|
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.
rawReader | raw data stream pointer |
Reimplemented from AliModule.
Definition at line 329 of file AliEMCAL.cxx.
Referenced by SetCheckRunNumberAndGeoVersion().
|
inlinevirtual |
Definition at line 71 of file AliEMCAL.h.
|
inlinevirtual |
Reimplemented in AliEMCALv0, AliEMCALv1, and AliEMCALv2.
Definition at line 66 of file AliEMCAL.h.
|
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().
|
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().
|
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().
|
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().
|
protected |
! EMCal geometry access
Definition at line 85 of file AliEMCAL.h.
Referenced by AliEMCALv0::AliEMCALv0(), and AliEMCALv2::StepManager().
|
staticprotected |
Raw utilities class, for embedding.
EMCAL raw utilities class.
Definition at line 88 of file AliEMCAL.h.
Referenced by Raw2SDigits(), and ~AliEMCAL().
|
protected |
Trigger parameters data container.
Definition at line 89 of file AliEMCAL.h.
Referenced by Raw2SDigits(), and ~AliEMCAL().