SND@LHC Software
|
#include <ecal.h>
Public Member Functions | |
ecal () | |
ecal (const char *name, Bool_t active, const char *fileGeo="ecal_Detailed.geo") | |
virtual | ~ecal () |
virtual Bool_t | ProcessHits (FairVolume *vol=NULL) |
virtual void | ConstructGeometry () |
virtual void | EndOfEvent () |
virtual void | BeginEvent () |
virtual void | Reset () |
virtual void | Print () const |
virtual void | CopyClones (TClonesArray *cl1, TClonesArray *cl2, Int_t offset) |
virtual void | Register () |
virtual void | ChangeHit (ecalPoint *oldHit=NULL) |
virtual void | FinishPrimary () |
virtual void | Initialize () |
virtual TClonesArray * | GetCollection (Int_t iColl) const |
virtual void | SetSpecialPhysicsCuts () |
Static Public Member Functions | |
static Bool_t | GetCellCoord (Int_t fVolumeID, Float_t &x, Float_t &y, Int_t &tenergy) |
static Bool_t | GetCellCoordInf (Int_t fVolumeID, Float_t &x, Float_t &y, Int_t &tenergy) |
static Bool_t | GetCellCoordForPy (Int_t fVolID, TVector3 &all) |
Protected Member Functions | |
ecalPoint * | AddHit (Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t time, Double_t length, Double_t eLoss, Int_t pdgcode) |
ecalPoint * | AddLiteHit (Int_t trackID, Int_t detID, Double32_t time, Double32_t eLoss) |
Private Member Functions | |
Bool_t | FillLitePoint (Int_t volnum) |
void | FillWallPoint () |
void | ResetParameters () |
void | SetEcalCuts (Int_t medium) |
ecalPoint * | FindHit (Int_t VolId, Int_t TrackId) |
Int_t | GetVolType (Int_t volnum) |
TGeoVolume * | ConstructRaw (Int_t number) |
void | ConstructModule (Int_t type) |
void | ConstructCell (Int_t type) |
void | ConstructTile (Int_t type, Int_t material) |
void | ConstructModuleSimple (Int_t type) |
void | ConstructCellSimple (Int_t type) |
void | ConstructTileSimple (Int_t type, Int_t material) |
Int_t | InitMedium (const char *name) |
void | InitMedia () |
ecal (const ecal &) | |
ecal & | operator= (const ecal &) |
Private Attributes | |
ecalInf * | fInf |
Option_t * | fDebug |
Int_t | fTrackID |
Int_t | fVolumeID |
TLorentzVector | fPos |
TLorentzVector | fMom |
Double32_t | fTime |
Double32_t | fLength |
Double32_t | fELoss |
Int_t | fPosIndex |
TClonesArray * | fEcalCollection |
TClonesArray * | fLiteCollection |
Float_t | fEcalSize [3] |
Int_t | fSimpleGeo |
Int_t | fXSize |
Int_t | fYSize |
Float_t | fDX |
Float_t | fDY |
Float_t | fModuleSize |
Float_t | fZEcal |
Float_t | fSemiX |
Float_t | fSemiY |
Float_t | fThicknessLead |
Float_t | fThicknessScin |
Float_t | fThicknessTyvk |
Float_t | fThicknessLayer |
Float_t | fThicknessSteel |
Float_t | fEdging |
Float_t | fHoleRad |
Float_t | fFiberRad |
Float_t | fXCell [cMaxModuleType] |
Float_t | fYCell [cMaxModuleType] |
Int_t | fNH [cMaxModuleType] |
Int_t | fCF [cMaxModuleType] |
TString | fLightMapNames [cMaxModuleType] |
ecalLightMap * | fLightMaps [cMaxModuleType] |
Int_t | fNLayers |
Float_t | fModuleLenght |
Float_t | fGeoScale |
Int_t | fNColumns1 |
Int_t | fNRows1 |
Int_t | fNColumns2 |
Int_t | fNRows2 |
Int_t | fNColumns |
Int_t | fNRows |
Int_t | fVolIdMax |
Int_t | fFirstNumber |
Int_t | fVolArr [kNumberOfECALSensitiveVolumes] |
TGeoVolume * | fModules [cMaxModuleType] |
TGeoVolume * | fCells [cMaxModuleType] |
Calorimeter Modules. | |
TGeoVolume * | fScTiles [cMaxModuleType] |
Calorimeter Cells. | |
TGeoVolume * | fTileEdging [cMaxModuleType] |
Pb tiles. | |
TGeoVolume * | fPbTiles [cMaxModuleType] |
Edging of scintillator tiles. | |
TGeoVolume * | fTvTiles [cMaxModuleType] |
Scintillator tiles. | |
TGeoVolume * | fHoleVol [3] |
Tyvek sheets. | |
TGeoVolume * | fFiberVol [3] |
Hole volume. | |
TGeoVolume * | fSteelTapes [2] |
Fiber volume. | |
TGeoTranslation ** | fHolePos [cMaxModuleType] |
Steel tapes. | |
Int_t | fModulesWithType [cMaxModuleType] |
Positions of holes. | |
std::list< std::pair< Int_t, TGeoVolume * > > | fRawNumber |
Number of mudules with type. | |
Int_t | fStructureId |
List of constructed raws. | |
ecal::ecal | ( | ) |
Default constructor
Definition at line 46 of file ecal.cxx.
ecal::ecal | ( | const char * | name, |
Bool_t | active, | ||
const char * | fileGeo = "ecal_Detailed.geo" |
||
) |
Standard constructor.
name | detetcor name |
active | sensitivity flag |
ecal constructor: reads geometry parameters from the ascii file <fileGeo>, creates the ECAL geometry container ecalInf and initializes basic geometry parameters needed to construct TGeo geometry
Counting modules
Definition at line 122 of file ecal.cxx.
|
virtual |
Destructor
Definition at line 302 of file ecal.cxx.
|
private |
|
protected |
Definition at line 829 of file ecal.cxx.
|
protected |
|
virtual |
|
private |
Construct a cell with given type
Definition at line 941 of file ecal.cxx.
|
private |
Construct a cell with given type
Definition at line 975 of file ecal.cxx.
|
virtual |
Virtual method Construct geometry
Constructs the ECAL geometry
Initialize all media
Definition at line 703 of file ecal.cxx.
|
private |
Construct a module with given type
Definition at line 850 of file ecal.cxx.
|
private |
Next method for simplified geometry Construct a module with given type
Definition at line 905 of file ecal.cxx.
|
private |
Construct a raw of modules
Definition at line 776 of file ecal.cxx.
|
private |
Construct a tile with given type
Building tile
Adding edging to scintillator
Definition at line 1048 of file ecal.cxx.
|
private |
Construct a tile with given type
Building tile
Adding edging to scintillator
Definition at line 1195 of file ecal.cxx.
|
virtual |
Definition at line 659 of file ecal.cxx.
|
virtual |
Definition at line 605 of file ecal.cxx.
|
private |
Fill MC points inside the ECAL for non-zero deposited energy
Need to rewrite this part
Definition at line 564 of file ecal.cxx.
|
private |
Fill MC points on the ECAL front wall
Definition at line 527 of file ecal.cxx.
|
private |
|
virtual |
|
static |
Get cell coordinates according to parameter container
Definition at line 1299 of file ecal.cxx.
|
static |
Definition at line 1304 of file ecal.cxx.
|
static |
Get cell coordinates according to current ecalInf
Definition at line 1264 of file ecal.cxx.
|
virtual |
|
private |
|
virtual |
|
private |
|
private |
Initialize medium with given name
Definition at line 1009 of file ecal.cxx.
|
virtual |
Definition at line 635 of file ecal.cxx.
|
virtual |
Virtual method ProcessHits
Defines the action to be taken when a step is inside the active volume. Creates ecal and adds them to the collection.
vol | Pointer to the active volume |
Fill MC point for sensitive ECAL volumes
Definition at line 384 of file ecal.cxx.
|
virtual |
Definition at line 625 of file ecal.cxx.
|
inlineprivate |
|
private |
|
virtual |
Change the special tracking cuts for two ECAL media, Scintillator and Lead
Definition at line 355 of file ecal.cxx.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |