- Bool_t IsInitialized(void) const {
- //
- return fgInit ; }
- Float_t GetAirFilledBoxSize(Int_t index) const {
- // Getter
- return fAirFilledBoxSize[index] ;}
- Float_t GetCrystalHolderThickness(void) const {
- // Getter
- return fCrystalHolderThickness ; }
- Float_t GetCrystalSize(Int_t index) const {
- // Getter
- return fXtlSize[index] ; }
- Float_t GetCrystalSupportHeight(void) const {
- // Getter
- return fCrystalSupportHeight ; }
- Float_t GetCrystalWrapThickness(void) const {
- // Getter
- return fCrystalWrapThickness;}
- Float_t GetGapBetweenCrystals(void) const {
- // Getter
- return fGapBetweenCrystals ; }
- Float_t GetIPtoCrystalSurface(void) const {
- // Getter
- return fIPtoCrystalSurface ; }
- Float_t GetIPtoOuterCoverDistance(void) const {
- // Getter
- return fIPtoOuterCoverDistance ; }
- Float_t GetIPtoPpsdUp(void) const {
- // Getter
- return (fIPtoOuterCoverDistance - fPPSDBoxSize[1] + fPPSDModuleSize[1]/2 ); }
- Float_t GetIPtoPpsdLow(void) const {
- // Getter
- return (fIPtoOuterCoverDistance - fPPSDModuleSize[1]/2 ); }
- Float_t GetIPtoTopLidDistance(void) const {
- // Getter
- return fIPtoTopLidDistance ; }
- Float_t GetLowerThermoPlateThickness(void) const {
- // Getter
- return fLowerThermoPlateThickness ; }
- Float_t GetLowerTextolitPlateThickness(void) const {
- // Getter
- return fLowerTextolitPlateThickness ; }
- Float_t GetModuleBoxThickness(void) const {
- // Getter
- return fModuleBoxThickness ; }
- Int_t GetNPhi(void) const {
- // Getter
- return fNPhi ; }
- Int_t GetNZ(void) const {
- // Getter
- return fNZ ; }
- Int_t GetNModules(void) const {
- // Getter
- return fNModules ; }
- Float_t GetOuterBoxSize(Int_t index) const {
- // Getter
- return fOuterBoxSize[index] ; }
- Float_t GetOuterBoxThickness(Int_t index) const {
- // Getter
- return fOuterBoxThickness[index] ; }
- Float_t GetPHOSAngle(Int_t index) const {
- // Getter
- return fPHOSAngle[index-1] ; }
- Float_t GetPinDiodeSize(Int_t index) const {
- // Getter
- return fPinDiodeSize[index] ; }
- Float_t GetSecondUpperPlateThickness(void) const {
- // Getter
- return fSecondUpperPlateThickness ; }
- Float_t GetSupportPlateThickness(void) const {
- // Getter
- return fSupportPlateThickness ; }
- Float_t GetTextolitBoxSize(Int_t index) const {
- // Getter
- return fTextolitBoxSize[index] ; }
- Float_t GetTextolitBoxThickness(Int_t index) const {
- // Getter
- return fTextolitBoxThickness[index]; }
- Float_t GetUpperPlateThickness(void) const {
- // Getter
- return fUpperPlateThickness ; }
- Float_t GetUpperCoolingPlateThickness(void) const {
- // Getter
- return fUpperCoolingPlateThickness ; }
-
-
- ///////////// PPSD (PHOS PRE SHOWER DETECTOR) related parameters
+ Bool_t IsInitialized(void) const { return fgInit ; }
+
+ // Return general PHOS parameters
+ Int_t GetNModules(void) const { return fNModules ; }
+ Float_t GetPHOSAngle(Int_t index) const { return fPHOSAngle[index-1] ; }
+ Float_t* GetPHOSParams(void) { return fPHOSParams;} //Half-sizes of PHOS trapecoid
+ Float_t GetIPtoUpperCPVsurface(void) const { return fIPtoUpperCPVsurface ; }
+ Float_t GetOuterBoxSize(Int_t index) const { return 2.*fPHOSParams[index]; }
+ Float_t GetCrystalSize(Int_t index) const { return fGeometryEMCA->GetCrystalSize(index) ; }
+ Float_t GetCellStep(void) const { return 2.*fGeometryEMCA->GetAirCellHalfSize()[0];}
+
+ Float_t GetModuleCenter(Int_t module, Int_t axis) const {
+ return fModuleCenter[module][axis];}
+ Float_t GetModuleAngle(Int_t module, Int_t axis, Int_t angle) const {
+ return fModuleAngle[module][axis][angle];}
+