![]() |
AliRoot Core
3dc7879 (3dc7879)
|
EMCal simulation manager class v1. More...
#include <AliEMCALv1.h>
Public Member Functions | |
AliEMCALv1 (void) | |
Default Constructor. More... | |
AliEMCALv1 (const char *name, const char *title="", const Bool_t checkGeoAndRun=kTRUE) | |
virtual | ~AliEMCALv1 (void) |
Destructor. More... | |
virtual void | AddHit (Int_t shunt, Int_t primary, Int_t track, Int_t iparent, Float_t ienergy, Int_t id, Float_t *hits, Float_t *p) |
virtual Int_t | IsVersion (void) const |
virtual const TString | Version (void) const |
virtual void | StepManager (void) |
Accumulates hits as long as the track stays in a tower. More... | |
virtual void | RemapTrackHitIDs (Int_t *map) |
virtual void | FinishPrimary () |
Reinitialize primary data members. More... | |
virtual void | SetTimeCut (Float_t tc) |
virtual Float_t | GetTimeCut () const |
![]() | |
AliEMCALv0 () | |
Default constructor. More... | |
AliEMCALv0 (const char *name, const char *title="", const Bool_t checkGeoAndRun=kTRUE) | |
virtual | ~AliEMCALv0 () |
virtual void | AddAlignableVolumes () const |
Add volumes which are alignable (?) More... | |
virtual void | AddAlignableVolumesInALICE () const |
virtual void | AddAlignableVolumesInWSUC () const |
virtual void | CreateGeometry () |
virtual void | Init (void) |
void | CreateShishKebabGeometry () |
Generate tower geometry. More... | |
void | CreateSmod (const char *mother="XEN1") |
Generate super module geometry. More... | |
void | CreateEmod (const char *mother="SMOD", const char *child="EMOD") |
Generate module geometry (2x2 towers) More... | |
void | CreateAlFrontPlate (const char *mother="EMOD", const char *child="ALFP") |
Generate aluminium plates geometry. More... | |
void | Trd1Tower3X3 (const Double_t *parSCM0) |
void | PbInTrap (const Double_t parTRAP[11], TString n) |
void | Trd1Tower1X1 (Double_t *parSCM0) |
void | PbInTrd1 (const Double_t *parTrd1, TString n) |
TList * | GetShishKebabModules () const |
AliEMCALShishKebabTrd1Module * | GetShishKebabModule (Int_t neta=0) |
![]() | |
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 | Digits2Raw () |
Create raw samples from digits. More... | |
virtual void | FinishRun () |
virtual AliEMCALGeometry * | GetGeometry () const |
virtual void | Hits2SDigits () |
Create summable digits from hits. More... | |
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 | SetTreeAddress () |
virtual void | SetTimeGate (Float_t gate) |
virtual Float_t | GetTimeGate () const |
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) |
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 | DefineOpticalProperties () |
virtual void | PreTrack () |
virtual void | PostTrack () |
virtual void | FinishEvent () |
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 Attributes | |
Int_t | fCurPrimary |
Current primary track. More... | |
Int_t | fCurParent |
Current parent. More... | |
Int_t | fCurTrack |
Current track. More... | |
Float_t | fTimeCut |
Cut to remove the background from the ALICE system. More... | |
![]() | |
TList * | fShishKebabModules |
! list of modules More... | |
![]() | |
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... | |
Private Member Functions | |
AliEMCALv1 (const AliEMCALv1 &emcal) | |
AliEMCALv1 & | operator= (const AliEMCALv1 &) |
Additional Inherited Members | |
![]() | |
static void | SetDensityFactor (Float_t density) |
static Float_t | GetDensityFactor () |
![]() | |
void | InitConstants () |
![]() | |
static AliEMCALRawUtils * | fgRawUtils = 0 |
Raw utilities class, for embedding. More... | |
![]() | |
static Float_t | fgDensityFactor = 1.0 |
input for sdigits -> digits More... | |
EMCal simulation manager class v1.
Implementation version v1 of EMCAL Manager class; An object of this class does not produce digits. It is the one to use if you do want to produce outputs in TREEH
This Class not stores information on all particles prior to EMCAL entry - in order to facilitate analysis. This is done by setting fIShunt =2, and flagging all parents of particles entering the EMCAL.
WARNING: Do not use for full detector simulations, use v2.
Definition at line 35 of file AliEMCALv1.h.
AliEMCALv1::AliEMCALv1 | ( | void | ) |
Default Constructor.
Definition at line 42 of file AliEMCALv1.cxx.
AliEMCALv1::AliEMCALv1 | ( | const char * | name, |
const char * | title = "" , |
||
const Bool_t | checkGeoAndRun = kTRUE |
||
) |
Constructor
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 57 of file AliEMCALv1.cxx.
|
virtual |
Destructor.
Definition at line 75 of file AliEMCALv1.cxx.
|
private |
|
virtual |
Add a hit to the hit list. An EMCAL hit is the sum of all hits in a tower section originating from the same entering particle See AliEMCALHit.
shunt | flag to store more or less primaries (check) |
primary | Label of primary particle at the origin of the hit |
tracknumber | reference track number (check) |
iparent | Label of primary parent particle that entered EMCAL |
ienergy | Initial energy of parent particle that entered the EMCAL |
id | Absolute Id number EMCAL tower |
hits | position, time and energy loss of particle |
p | momentum of particle |
Reimplemented in AliEMCALv2.
Definition at line 101 of file AliEMCALv1.cxx.
Referenced by StepManager().
|
virtual |
Reinitialize primary data members.
Reimplemented from AliModule.
Definition at line 302 of file AliEMCALv1.cxx.
Referenced by Version().
|
inlinevirtual |
Definition at line 57 of file AliEMCALv1.h.
|
inlinevirtual |
Reimplemented from AliEMCALv0.
Reimplemented in AliEMCALv2.
Definition at line 49 of file AliEMCALv1.h.
|
private |
|
virtual |
Remap track index numbers for primary and parent indices (called by AliStack::PurifyKine).
Reimplemented from AliDetector.
Definition at line 277 of file AliEMCALv1.cxx.
Referenced by Version().
|
inlinevirtual |
Definition at line 56 of file AliEMCALv1.h.
|
virtual |
Accumulates hits as long as the track stays in a tower.
Reimplemented from AliDetector.
Reimplemented in AliEMCALv2.
Definition at line 141 of file AliEMCALv1.cxx.
Referenced by Version().
|
inlinevirtual |
Reimplemented from AliEMCALv0.
Reimplemented in AliEMCALv2.
Definition at line 50 of file AliEMCALv1.h.
|
protected |
Current parent.
Definition at line 62 of file AliEMCALv1.h.
Referenced by FinishPrimary(), AliEMCALv2::StepManager(), and StepManager().
|
protected |
Current primary track.
Definition at line 61 of file AliEMCALv1.h.
Referenced by FinishPrimary(), AliEMCALv2::StepManager(), and StepManager().
|
protected |
Current track.
Definition at line 63 of file AliEMCALv1.h.
Referenced by FinishPrimary(), AliEMCALv2::StepManager(), and StepManager().
|
protected |
Cut to remove the background from the ALICE system.
Definition at line 64 of file AliEMCALv1.h.
Referenced by AliEMCALv2::AliEMCALv2(), GetTimeCut(), SetTimeCut(), AliEMCALv2::StepManager(), and StepManager().