File indexing completed on 2025-02-23 09:19:38
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030 #ifndef CCalHcal_h
0031 #define CCalHcal_h 1
0032
0033 #include "CCalDetector.hh"
0034
0035 class CCalHcal: public CCalDetector
0036 {
0037 public:
0038
0039 CCalHcal(const G4String &name);
0040 virtual ~CCalHcal();
0041
0042
0043 G4String getGenMat() const {return genMaterial;}
0044 G4double getDy_2Cal() const {return dy_2Cal;}
0045 G4double getDx_2Cal() const {return dx_2Cal;}
0046 G4double getXposCal() const {return xposCal;}
0047 G4String getBoxMat() const {return boxMaterial;}
0048 G4int getNBox() const {return nBox;}
0049 G4double getDy_2Box() const {return dy_2Box;}
0050 G4double getDx_2Box() const {return dx_2Box;}
0051 G4double getWallThickBox() const {return wallThickBox;}
0052 G4double getXposBox(unsigned int i) const {return xposBox[i];}
0053 G4int getNLayerScnt() const {return nLayerScnt;}
0054 G4int getTypeScnt(unsigned int i) const {return typeLayerScnt[i];}
0055 G4int getMotherScnt(unsigned int i) const {return mothLayerScnt[i];}
0056 G4double getXposScnt(unsigned int i) const {return xposLayerScnt[i];}
0057 G4int getNLayerAbs() const {return nLayerAbs;}
0058 G4int getTypeAbs(unsigned int i) const {return typeLayerAbs[i];}
0059 G4int getMotherAbs(unsigned int i) const {return mothLayerAbs[i];}
0060 G4double getXposAbs(unsigned int i) const {return xposLayerAbs[i];}
0061 G4String getAbsMat() const {return absMaterial;}
0062 G4int getNAbsorber() const {return nAbsorber;}
0063 G4double getDy_2Abs( ) const {return dy_2Absorber;}
0064 G4double getDx_2Abs(unsigned int i) const {return dx_2Absorber[i];}
0065 G4String getScntMat() const {return scntMaterial;}
0066 G4String getWrapMat() const {return wrapMaterial;}
0067 G4String getPlasMat() const {return plasMaterial;}
0068 G4int getNScintillator() const {return nScintillator;}
0069 G4double getDy_2ScntLay(unsigned int i) const {return dy_2ScntLayer[i];}
0070 G4double getDx_2ScntLay(unsigned int i) const {return dx_2ScntLayer[i];}
0071 G4double getDx_2Wrap(unsigned int i) const {return dx_2Wrapper[i];}
0072 G4double getDx_2FrontP(unsigned int i) const {return dx_2FrontPlastic[i];}
0073 G4double getDx_2BackP(unsigned int i) const {return dx_2BackPlastic[i];}
0074 G4double getDx_2Scnt(unsigned int i) const {return dx_2Scintillator[i];}
0075
0076 protected:
0077 virtual G4int readFile() override;
0078 virtual void constructDaughters() override;
0079
0080 private:
0081 G4String genMaterial;
0082 G4double dy_2Cal;
0083 G4double dx_2Cal;
0084 G4double xposCal;
0085
0086 G4String boxMaterial;
0087 G4int nBox;
0088 G4double dy_2Box;
0089 G4double dx_2Box;
0090 G4double wallThickBox;
0091 G4double* xposBox;
0092
0093 G4int nLayerScnt;
0094 G4int* typeLayerScnt;
0095 G4int* mothLayerScnt;
0096 G4double* xposLayerScnt;
0097
0098 G4int nLayerAbs;
0099 G4int* typeLayerAbs;
0100 G4int* mothLayerAbs;
0101 G4double* xposLayerAbs;
0102
0103 G4String absMaterial;
0104 G4int nAbsorber;
0105 G4double dy_2Absorber;
0106 G4double* dx_2Absorber;
0107
0108 G4String scntMaterial;
0109 G4String wrapMaterial;
0110 G4String plasMaterial;
0111 G4int nScintillator;
0112 G4double* dy_2ScntLayer;
0113 G4double* dx_2ScntLayer;
0114 G4double* dx_2Wrapper;
0115 G4double* dx_2FrontPlastic;
0116 G4double* dx_2BackPlastic;
0117 G4double* dx_2Scintillator;
0118 };
0119
0120 #endif