AliRoot Core  3dc7879 (3dc7879)
AliEMCALv2 Class Reference

EMCal simulation manager class v2. More...

#include <AliEMCALv2.h>

Inheritance diagram for AliEMCALv2:

Public Member Functions

 AliEMCALv2 (void)
 Default Constructor. More...
 
 AliEMCALv2 (const char *name, const char *title="", const Bool_t checkGeoAndRun=kTRUE)
 
virtual ~AliEMCALv2 (void)
 
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 void StepManager (void)
 Accumulates hits as long as the track stays in a tower. More...
 
virtual Int_t IsVersion (void) const
 
virtual const TString Version (void) const
 
- Public Member Functions inherited from AliEMCALv1
 AliEMCALv1 (void)
 Default Constructor. More...
 
 AliEMCALv1 (const char *name, const char *title="", const Bool_t checkGeoAndRun=kTRUE)
 
virtual ~AliEMCALv1 (void)
 Destructor. 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
 
- Public Member Functions inherited from AliEMCALv0
 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
 
AliEMCALShishKebabTrd1ModuleGetShishKebabModule (Int_t neta=0)
 
- Public Member Functions inherited from AliEMCAL
 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 Digits2Raw ()
 Create raw samples from digits. More...
 
virtual void FinishRun ()
 
virtual AliEMCALGeometryGetGeometry () const
 
virtual void Hits2SDigits ()
 Create summable digits from hits. More...
 
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 SetTreeAddress ()
 
virtual void SetTimeGate (Float_t gate)
 
virtual Float_t GetTimeGate () const
 
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)
 
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 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 AliTrackReferenceAddTrackReference (Int_t label, Int_t id=-999)
 
TTree * TreeTR ()
 
void SetRunLoader (AliRunLoader *runLoader)
 
virtual void CheckQA ()
 
AliDigitizationInputGetDigitizationInput () const
 
void CacheVMCInstance (TVirtualMC *mc)
 

Private Member Functions

 AliEMCALv2 (const AliEMCALv2 &emcal)
 
AliEMCALv2operator= (const AliEMCALv2 &)
 

Additional Inherited Members

- Static Public Member Functions inherited from AliModule
static void SetDensityFactor (Float_t density)
 
static Float_t GetDensityFactor ()
 
- Protected Member Functions inherited from AliEMCAL
void InitConstants ()
 
- Protected Attributes inherited from AliEMCALv1
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...
 
- Protected Attributes inherited from AliEMCALv0
TList * fShishKebabModules
 ! list of modules More...
 
- Protected Attributes inherited from AliEMCAL
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 inherited from AliEMCAL
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...
 

Detailed Description

EMCal simulation manager class v2.

Implementation version v2 of EMCAL Manager class; SHASHLYK version 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 does not store 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.

Author
Alexei Pavlinov (WSU)
M.L. Wang CCNU Wuhan & Subatech Oct-23-2012: Adapted for DCAL

Definition at line 30 of file AliEMCALv2.h.

Constructor & Destructor Documentation

AliEMCALv2::AliEMCALv2 ( void  )

Default Constructor.

Definition at line 44 of file AliEMCALv2.cxx.

Referenced by Version().

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

Constructor

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 54 of file AliEMCALv2.cxx.

AliEMCALv2::~AliEMCALv2 ( void  )
virtual

Destructor. The fHits deletion already done in destructor of AliEMCALv1.

Definition at line 77 of file AliEMCALv2.cxx.

AliEMCALv2::AliEMCALv2 ( const AliEMCALv2 emcal)
private

Member Function Documentation

void AliEMCALv2::AddHit ( Int_t  shunt,
Int_t  primary,
Int_t  tracknumber,
Int_t  iparent,
Float_t  ienergy,
Int_t  id,
Float_t *  hits,
Float_t *  p 
)
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.

Parameters
shuntflag to store more or less primaries (check)
primaryLabel of primary particle at the origin of the hit
tracknumberreference track number (check)
iparentLabel of primary parent particle that entered EMCAL
ienergyInitial energy of parent particle that entered the EMCAL
idAbsolute Id number EMCAL tower
hitsposition, time and energy loss of particle
pmomentum of particle

Reimplemented from AliEMCALv1.

Definition at line 96 of file AliEMCALv2.cxx.

Referenced by StepManager().

virtual Int_t AliEMCALv2::IsVersion ( void  ) const
inlinevirtual

Reimplemented from AliEMCALv1.

Definition at line 46 of file AliEMCALv2.h.

AliEMCALv2& AliEMCALv2::operator= ( const AliEMCALv2 )
private

Referenced by Version().

void AliEMCALv2::StepManager ( void  )
virtual

Accumulates hits as long as the track stays in a tower.

Reimplemented from AliEMCALv1.

Definition at line 138 of file AliEMCALv2.cxx.

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

Reimplemented from AliEMCALv1.

Definition at line 47 of file AliEMCALv2.h.


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