AliRoot Core  3dc7879 (3dc7879)
AliEMCALv0 Class Reference

EMCal simulation manager class v0. More...

#include <AliEMCALv0.h>

Inheritance diagram for AliEMCALv0:

Public Member Functions

 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)
 
virtual Int_t IsVersion (void) const
 
virtual const TString Version (void) const
 
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 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 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 Attributes

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...
 

Private Member Functions

 AliEMCALv0 (const AliEMCALv0 &emcal)
 
AliEMCALv0operator= (const AliEMCALv0 &)
 

Private Attributes

TArrayF fEnvelop1
 ! parameters of EMCAL envelop for TRD1(2) case More...
 
Int_t fIdRotm
 ! number of rotation matrix (working variable) More...
 
Int_t * fIdTmedArr
 ! fIdtmed->GetArray() - 1599; More...
 
Double_t fSampleWidth
 ! sample width = double(g->GetECPbRadThick()+g->GetECScintThick()); More...
 
Double_t fSmodPar0
 ! x size of super module More...
 
Double_t fSmodPar1
 ! y size of super module More...
 
Double_t fSmodPar2
 ! z size of super module More...
 
Double_t fInnerEdge
 ! Inner edge of DCAL super module More...
 
Double_t fParEMOD [5]
 ! parameters of EMCAL module (TRD1,2) More...
 
AliEMCALSpaceFramefCalFrame
 EMCAL Space frame object. More...
 

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 ()
 
- 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 v0.

Implementation version v0 of EMCAL Manager class An object of this class does not produce digits. It is the one to use if you do not want to produce outputs in TREEH or TREED

This class places a Geometry of the EMCAL in the ALICE Detector as defined in AliEMCALGeometry.cxx

This class contains old geometry generation of EMCal prototypes (WSUC, 3x3 modules, 1x1 modules). Should the removal be considered?

WARNING: Do not use for full detector simulations, use v2.

Author
Yves Schutz (CCIN2P3)
Sahal Yacoob (LBL /UCT)
Alexei Pavlinov (WSU)

Definition at line 39 of file AliEMCALv0.h.

Constructor & Destructor Documentation

AliEMCALv0::AliEMCALv0 ( )

Default constructor.

Definition at line 60 of file AliEMCALv0.cxx.

AliEMCALv0::AliEMCALv0 ( 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 76 of file AliEMCALv0.cxx.

virtual AliEMCALv0::~AliEMCALv0 ( )
inlinevirtual

Definition at line 45 of file AliEMCALv0.h.

AliEMCALv0::AliEMCALv0 ( const AliEMCALv0 emcal)
private

Member Function Documentation

void AliEMCALv0::AddAlignableVolumes ( ) const
virtual

Add volumes which are alignable (?)

Reimplemented from AliDetector.

Definition at line 875 of file AliEMCALv0.cxx.

Referenced by ~AliEMCALv0().

void AliEMCALv0::AddAlignableVolumesInALICE ( ) const
virtual

Create entries for alignable volumes associating the symbolic volume name with the corresponding volume path. Needs to be synchronized with eventual changes in the geometry. For final "ALICE" geometry.

Definition at line 895 of file AliEMCALv0.cxx.

Referenced by AddAlignableVolumes(), and ~AliEMCALv0().

void AliEMCALv0::AddAlignableVolumesInWSUC ( ) const
virtual

Create entries for alignable volumes associating the symbolic volume name with the corresponding volume path. Needs to be synchronized with eventual changes in the geometry. For prototype "WSUC" geometry.

Definition at line 1018 of file AliEMCALv0.cxx.

Referenced by AddAlignableVolumes(), and ~AliEMCALv0().

void AliEMCALv0::CreateAlFrontPlate ( const char *  mother = "EMOD",
const char *  child = "ALFP" 
)

Generate aluminium plates geometry.

Definition at line 660 of file AliEMCALv0.cxx.

Referenced by CreateShishKebabGeometry(), and Version().

void AliEMCALv0::CreateEmod ( const char *  mother = "SMOD",
const char *  child = "EMOD" 
)

Generate module geometry (2x2 towers)

!!DCSM from 8th to 23th

Definition at line 558 of file AliEMCALv0.cxx.

Referenced by CreateShishKebabGeometry(), and Version().

void AliEMCALv0::CreateGeometry ( )
virtual

Create the EMCAL geometry for Geant Geometry of a tower

Reimplemented from AliModule.

Definition at line 110 of file AliEMCALv0.cxx.

Referenced by ~AliEMCALv0().

void AliEMCALv0::CreateShishKebabGeometry ( )

Generate tower geometry.

Definition at line 226 of file AliEMCALv0.cxx.

Referenced by CreateGeometry(), and Version().

void AliEMCALv0::CreateSmod ( const char *  mother = "XEN1")

Generate super module geometry.

Definition at line 399 of file AliEMCALv0.cxx.

Referenced by CreateShishKebabGeometry(), and Version().

AliEMCALShishKebabTrd1Module * AliEMCALv0::GetShishKebabModule ( Int_t  neta = 0)

Definition at line 862 of file AliEMCALv0.cxx.

Referenced by GetShishKebabModules().

TList* AliEMCALv0::GetShishKebabModules ( ) const
inline

Definition at line 74 of file AliEMCALv0.h.

void AliEMCALv0::Init ( void  )
virtual

Initialize, main job done in AliEMCAL::Init() Here, it just prints information messages

Reimplemented from AliEMCAL.

Definition at line 194 of file AliEMCALv0.cxx.

Referenced by ~AliEMCALv0().

virtual Int_t AliEMCALv0::IsVersion ( void  ) const
inlinevirtual

Implements AliEMCAL.

Reimplemented in AliEMCALv1, and AliEMCALv2.

Definition at line 57 of file AliEMCALv0.h.

AliEMCALv0& AliEMCALv0::operator= ( const AliEMCALv0 )
private
void AliEMCALv0::PbInTrap ( const Double_t  parTRAP[11],
TString  n 
)

Used by AliEMCALv0::Trd1Tower3X3 Prototype studies, remove?

Definition at line 760 of file AliEMCALv0.cxx.

Referenced by Trd1Tower3X3(), and Version().

void AliEMCALv0::PbInTrd1 ( const Double_t *  parTrd1,
TString  n 
)

Used by AliEMCALv0::Trd1Tower1X1 Prototype studies, remove?

Definition at line 831 of file AliEMCALv0.cxx.

Referenced by Trd1Tower1X1(), and Version().

void AliEMCALv0::Trd1Tower1X1 ( Double_t *  parSCM0)

Generate towers in module of 1x1 Prototype studies, remove?

Definition at line 802 of file AliEMCALv0.cxx.

Referenced by CreateShishKebabGeometry(), and Version().

void AliEMCALv0::Trd1Tower3X3 ( const Double_t *  parSCM0)

Generate towers in module of 3x3 Prototype studies, remove?

Definition at line 684 of file AliEMCALv0.cxx.

Referenced by CreateShishKebabGeometry(), and Version().

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

Reimplemented from AliEMCAL.

Reimplemented in AliEMCALv1, and AliEMCALv2.

Definition at line 58 of file AliEMCALv0.h.

Referenced by Init().

Member Data Documentation

AliEMCALSpaceFrame* AliEMCALv0::fCalFrame
private

EMCAL Space frame object.

Definition at line 94 of file AliEMCALv0.h.

Referenced by CreateGeometry().

TArrayF AliEMCALv0::fEnvelop1
private

! parameters of EMCAL envelop for TRD1(2) case

Definition at line 83 of file AliEMCALv0.h.

Referenced by CreateGeometry().

Int_t AliEMCALv0::fIdRotm
private

! number of rotation matrix (working variable)

Definition at line 84 of file AliEMCALv0.h.

Referenced by AddAlignableVolumesInALICE(), CreateEmod(), CreateGeometry(), CreateShishKebabGeometry(), and CreateSmod().

Int_t* AliEMCALv0::fIdTmedArr
private

! fIdtmed->GetArray() - 1599;

Definition at line 85 of file AliEMCALv0.h.

Referenced by CreateAlFrontPlate(), CreateEmod(), CreateGeometry(), CreateShishKebabGeometry(), CreateSmod(), Trd1Tower1X1(), and Trd1Tower3X3().

Double_t AliEMCALv0::fInnerEdge
private

! Inner edge of DCAL super module

Definition at line 91 of file AliEMCALv0.h.

Double_t AliEMCALv0::fParEMOD[5]
private

! parameters of EMCAL module (TRD1,2)

Definition at line 92 of file AliEMCALv0.h.

Referenced by AliEMCALv0(), CreateAlFrontPlate(), CreateEmod(), and CreateShishKebabGeometry().

Double_t AliEMCALv0::fSampleWidth
private

! sample width = double(g->GetECPbRadThick()+g->GetECScintThick());

Definition at line 87 of file AliEMCALv0.h.

Referenced by AliEMCALv0(), CreateShishKebabGeometry(), CreateSmod(), PbInTrap(), and PbInTrd1().

TList* AliEMCALv0::fShishKebabModules
protected

! list of modules

Definition at line 79 of file AliEMCALv0.h.

Referenced by AliEMCALv0(), CreateEmod(), CreateShishKebabGeometry(), GetShishKebabModule(), and GetShishKebabModules().

Double_t AliEMCALv0::fSmodPar0
private

! x size of super module

Definition at line 88 of file AliEMCALv0.h.

Referenced by CreateEmod(), and CreateSmod().

Double_t AliEMCALv0::fSmodPar1
private

! y size of super module

Definition at line 89 of file AliEMCALv0.h.

Referenced by CreateEmod(), and CreateSmod().

Double_t AliEMCALv0::fSmodPar2
private

! z size of super module

Definition at line 90 of file AliEMCALv0.h.

Referenced by CreateEmod(), and CreateSmod().


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