SND@LHC Software
|
#include <ecalStructure.h>
Public Member Functions | |
ecalStructure (ecalInf *ecalinf) | |
void | SetUseMC (Int_t mc=0) |
Int_t | GetUseMC () const |
void | Construct () |
Int_t | GetNumber (Int_t x, Int_t y) const |
Bool_t | AddEnergy (Float_t x, Float_t y, Float_t energy, Bool_t isPS=kFALSE) |
Float_t | GetEnergy (Float_t x, Float_t y, Bool_t isPS=kFALSE) const |
ecalCell * | GetCell (Float_t x, Float_t y) const |
ecalModule * | GetModule (Float_t x, Float_t y) const |
Int_t | GetModuleNumber (Float_t x, Float_t y) const |
Float_t | GetX1 () const |
Float_t | GetY1 () const |
Float_t | GetX2 () const |
Float_t | GetY2 () const |
ecalInf * | GetEcalInf () const |
void | GetStructure (std::vector< ecalModule * > &stru) const |
void | GetCells (std::list< ecalCell * > &cells) const |
void | CreateNLists (ecalCell *cell) |
void | ResetModules () |
ecalModule * | CreateModule (char type, Int_t number, Float_t x1, Float_t y1, Float_t x2, Float_t y2) |
Int_t | GetHitId (Float_t x, Float_t y) const |
void | GetHitXY (const Int_t hitId, Float_t &x, Float_t &y) const |
void | GetGlobalCellXY (const Int_t hitId, Int_t &x, Int_t &y) const |
Int_t | GetType (const Int_t hitId) const |
ecalCell * | GetCell (Int_t fVolId, Int_t &ten, Bool_t &isPS) |
ecalCell * | GetHitCell (const Int_t hitId) const |
Private Member Functions | |
Int_t | GetNum (Int_t x, Int_t y) const |
void | Serialize () |
ecalStructure (const ecalStructure &) | |
ecalStructure & | operator= (const ecalStructure &) |
ClassDef (ecalStructure, 1) | |
Private Attributes | |
Int_t | fUseMC |
Float_t | fX1 |
Float_t | fY1 |
ecalInf * | fEcalInf |
std::vector< ecalModule * > | fStructure |
std::list< ecalCell * > | fCells |
std::vector< __ecalCellWrapper * > | fHash |
Definition at line 24 of file ecalStructure.h.
ecalStructure::ecalStructure | ( | ecalInf * | ecalinf | ) |
Definition at line 71 of file ecalStructure.cxx.
|
private |
|
inline |
Add preshower or calorimeter energy to a cell with coordinate (x,y)
Definition at line 148 of file ecalStructure.h.
|
private |
void ecalStructure::Construct | ( | ) |
Definition at line 88 of file ecalStructure.cxx.
ecalModule * ecalStructure::CreateModule | ( | char | type, |
Int_t | number, | ||
Float_t | x1, | ||
Float_t | y1, | ||
Float_t | x2, | ||
Float_t | y2 | ||
) |
Definition at line 65 of file ecalStructure.cxx.
void ecalStructure::CreateNLists | ( | ecalCell * | cell | ) |
Definition at line 211 of file ecalStructure.cxx.
|
inline |
get ECAL cell by known cell center coordinate (x,y)
Definition at line 95 of file ecalStructure.h.
ecalCell * ecalStructure::GetCell | ( | Int_t | fVolId, |
Int_t & | ten, | ||
Bool_t & | isPS | ||
) |
Definition at line 21 of file ecalStructure.cxx.
|
inline |
Definition at line 45 of file ecalStructure.h.
|
inline |
Definition at line 43 of file ecalStructure.h.
|
inline |
Definition at line 163 of file ecalStructure.h.
void ecalStructure::GetGlobalCellXY | ( | const Int_t | hitId, |
Int_t & | x, | ||
Int_t & | y | ||
) | const |
Definition at line 383 of file ecalStructure.cxx.
ecalCell * ecalStructure::GetHitCell | ( | const Int_t | hitId | ) | const |
Hit Id -> Cell
Definition at line 356 of file ecalStructure.cxx.
|
inline |
Definition at line 177 of file ecalStructure.h.
void ecalStructure::GetHitXY | ( | const Int_t | hitId, |
Float_t & | x, | ||
Float_t & | y | ||
) | const |
Hit Id -> (x,y)
Definition at line 328 of file ecalStructure.cxx.
|
inline |
get ECAL module by known module center coordinate (x,y)
Definition at line 103 of file ecalStructure.h.
|
inline |
get ECAL module by known module center coordinate (x,y)
Definition at line 110 of file ecalStructure.h.
|
inlineprivate |
|
inline |
get ECAL absolute module number by known module relative number (x,y) with check for the ECAL boundaries
Definition at line 118 of file ecalStructure.h.
|
inline |
Definition at line 44 of file ecalStructure.h.
Int_t ecalStructure::GetType | ( | const Int_t | hitId | ) | const |
Definition at line 402 of file ecalStructure.cxx.
|
inline |
Definition at line 29 of file ecalStructure.h.
|
inline |
Definition at line 39 of file ecalStructure.h.
|
inline |
get ECAL right edge coordinate in cm
Definition at line 134 of file ecalStructure.h.
|
inline |
Definition at line 40 of file ecalStructure.h.
|
inline |
get ECAL upper edge coordinate in cm
Definition at line 141 of file ecalStructure.h.
|
private |
void ecalStructure::ResetModules | ( | ) |
Definition at line 312 of file ecalStructure.cxx.
|
private |
Creates fCells lists
Definition at line 53 of file ecalStructure.cxx.
|
inline |
Definition at line 28 of file ecalStructure.h.
|
private |
All ECAL cells
Definition at line 85 of file ecalStructure.h.
|
private |
ECAL geometry container
Definition at line 81 of file ecalStructure.h.
|
private |
MCPoint id -> ECAL cell
Definition at line 87 of file ecalStructure.h.
|
private |
total list of ECAL modules
Definition at line 83 of file ecalStructure.h.
|
private |
Use store MC information in cells
Definition at line 75 of file ecalStructure.h.
|
private |
X coordibate of left bottom angle of ECAL
Definition at line 77 of file ecalStructure.h.
|
private |
Y coordibate of left bottom angle of ECAL
Definition at line 79 of file ecalStructure.h.