CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
BesEmcParameter Class Reference

#include <BesEmcParameter.hh>

Public Member Functions

 BesEmcParameter ()
 
 ~BesEmcParameter ()
 
void ReadData ()
 
G4long GetArraySize ()
 
G4double GetTau ()
 
G4double GetHighRange ()
 
G4double GetMidRange ()
 
G4double GetLowRange ()
 
G4double GetSampleTime ()
 
G4double GetPeakTime ()
 
G4double GetTimeOffset ()
 
G4int GetADCbit ()
 
G4double GetPhotonsPerMeV ()
 
G4double GetNonuniformity ()
 
G4double GetWorldRmin1 ()
 
G4double GetWorldRmax1 ()
 
G4double GetWorldRmin2 ()
 
G4double GetWorldRmax2 ()
 
G4double GetWorldDz ()
 
G4double GetWorldZPosition ()
 
G4double GetCrystalLength ()
 
G4double GetCrystalLength1 ()
 
G4int GetCryInOneLayer (G4int nb)
 
G4int GetPentaInOneSector (G4int nb)
 
G4double GetTyvekThickness ()
 
G4double GetAlThickness ()
 
G4double GetMylarThickness ()
 
G4double GetBSCRmin ()
 
G4double GetBSCDz ()
 
G4double GetBSCRmin1 ()
 
G4double GetBSCRmax1 ()
 
G4double GetBSCRmin2 ()
 
G4double GetBSCRmax2 ()
 
G4double GetBSCDz1 ()
 
G4double GetBSCAngleRotat ()
 
G4int GetBSCNbPhi ()
 
G4int GetBSCNbTheta ()
 
G4double GetBSCYFront0 ()
 
G4double GetBSCYFront ()
 
G4double GetBSCYFront1 ()
 
G4double GetBSCPosition0 ()
 
G4double GetBSCPosition1 ()
 
G4double GetTaperRingDz ()
 
G4double GetTaperRingThickness1 ()
 
G4double GetTaperRingThickness2 ()
 
G4double GetTaperRingThickness3 ()
 
G4double GetTaperRingTheta ()
 
G4double GetTaperRingInnerLength ()
 
G4double GetTaperRingOuterLength ()
 
G4double GetRearBoxLength ()
 
G4double GetRearBoxDz ()
 
G4double GetHangingPlateDz ()
 
G4double GetOCGirderAngle ()
 
G4double GetRearCasingThickness ()
 
G4double GetOrgGlassLengthX ()
 
G4double GetOrgGlassLengthY ()
 
G4double GetOrgGlassLengthZ ()
 
G4double GetPDLengthX ()
 
G4double GetPDLengthY ()
 
G4double GetPDLengthZ ()
 
G4double GetAlPlateDz ()
 
G4double GetPABoxDz ()
 
G4double GetPABoxThickness ()
 
G4double GetCableDr ()
 
G4double GetWaterPipeDr ()
 
G4double GetWaterPipeThickness ()
 
G4double GetSPBarThickness ()
 
G4double GetSPBarThickness1 ()
 
G4double GetSPBarwidth ()
 
G4double GetEndRingDz ()
 
G4double GetEndRingDr ()
 
G4double GetEndRingRmin ()
 
G4double GetLightOutput (G4int i)
 
G4double GetLightOutput (G4int, G4int, G4int)
 
 BesEmcParameter ()
 
 ~BesEmcParameter ()
 
void ReadData ()
 
G4long GetArraySize ()
 
G4double GetTau ()
 
G4double GetHighRange ()
 
G4double GetMidRange ()
 
G4double GetLowRange ()
 
G4double GetSampleTime ()
 
G4double GetPeakTime ()
 
G4double GetTimeOffset ()
 
G4int GetADCbit ()
 
G4double GetPhotonsPerMeV ()
 
G4double GetNonuniformity ()
 
G4double GetWorldRmin1 ()
 
G4double GetWorldRmax1 ()
 
G4double GetWorldRmin2 ()
 
G4double GetWorldRmax2 ()
 
G4double GetWorldDz ()
 
G4double GetWorldZPosition ()
 
G4double GetCrystalLength ()
 
G4double GetCrystalLength1 ()
 
G4int GetCryInOneLayer (G4int nb)
 
G4int GetPentaInOneSector (G4int nb)
 
G4double GetTyvekThickness ()
 
G4double GetAlThickness ()
 
G4double GetMylarThickness ()
 
G4double GetBSCRmin ()
 
G4double GetBSCDz ()
 
G4double GetBSCRmin1 ()
 
G4double GetBSCRmax1 ()
 
G4double GetBSCRmin2 ()
 
G4double GetBSCRmax2 ()
 
G4double GetBSCDz1 ()
 
G4double GetBSCAngleRotat ()
 
G4int GetBSCNbPhi ()
 
G4int GetBSCNbTheta ()
 
G4double GetBSCYFront0 ()
 
G4double GetBSCYFront ()
 
G4double GetBSCYFront1 ()
 
G4double GetBSCPosition0 ()
 
G4double GetBSCPosition1 ()
 
G4double GetTaperRingDz ()
 
G4double GetTaperRingThickness1 ()
 
G4double GetTaperRingThickness2 ()
 
G4double GetTaperRingThickness3 ()
 
G4double GetTaperRingTheta ()
 
G4double GetTaperRingInnerLength ()
 
G4double GetTaperRingOuterLength ()
 
G4double GetRearBoxLength ()
 
G4double GetRearBoxDz ()
 
G4double GetHangingPlateDz ()
 
G4double GetOCGirderAngle ()
 
G4double GetRearCasingThickness ()
 
G4double GetOrgGlassLengthX ()
 
G4double GetOrgGlassLengthY ()
 
G4double GetOrgGlassLengthZ ()
 
G4double GetPDLengthX ()
 
G4double GetPDLengthY ()
 
G4double GetPDLengthZ ()
 
G4double GetAlPlateDz ()
 
G4double GetPABoxDz ()
 
G4double GetPABoxThickness ()
 
G4double GetCableDr ()
 
G4double GetWaterPipeDr ()
 
G4double GetWaterPipeThickness ()
 
G4double GetSPBarThickness ()
 
G4double GetSPBarThickness1 ()
 
G4double GetSPBarwidth ()
 
G4double GetEndRingDz ()
 
G4double GetEndRingDr ()
 
G4double GetEndRingRmin ()
 
G4double GetLightOutput (G4int i)
 
G4double GetLightOutput (G4int, G4int, G4int)
 

Static Public Member Functions

static BesEmcParameterGetInstance ()
 
static bool Exist ()
 
static void Kill ()
 
static BesEmcParameterGetInstance ()
 
static bool Exist ()
 
static void Kill ()
 

Detailed Description

Constructor & Destructor Documentation

◆ BesEmcParameter() [1/2]

BesEmcParameter::BesEmcParameter ( )

Definition at line 22 of file BesEmcParameter.cc.

23{
24}

Referenced by GetInstance().

◆ ~BesEmcParameter() [1/2]

BesEmcParameter::~BesEmcParameter ( )

Definition at line 27 of file BesEmcParameter.cc.

28{
29}

◆ BesEmcParameter() [2/2]

BesEmcParameter::BesEmcParameter ( )

◆ ~BesEmcParameter() [2/2]

BesEmcParameter::~BesEmcParameter ( )

Member Function Documentation

◆ Exist() [1/2]

bool BesEmcParameter::Exist ( )
static

Definition at line 42 of file BesEmcParameter.cc.

43{
44 return fpInstance!=0;
45}

Referenced by GetInstance(), and Kill().

◆ Exist() [2/2]

static bool BesEmcParameter::Exist ( )
static

◆ GetADCbit() [1/2]

G4int BesEmcParameter::GetADCbit ( )
inline

Definition at line 45 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

45{ return m_bitNb; }

Referenced by BesEmcWaveform::BesEmcWaveform().

◆ GetADCbit() [2/2]

G4int BesEmcParameter::GetADCbit ( )
inline

Definition at line 45 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

45{ return m_bitNb; }

◆ GetAlPlateDz() [1/2]

G4double BesEmcParameter::GetAlPlateDz ( )
inline

Definition at line 106 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

106{ return AlPlateDz; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetAlPlateDz() [2/2]

G4double BesEmcParameter::GetAlPlateDz ( )
inline

Definition at line 106 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

106{ return AlPlateDz; }

◆ GetAlThickness() [1/2]

G4double BesEmcParameter::GetAlThickness ( )
inline

◆ GetAlThickness() [2/2]

G4double BesEmcParameter::GetAlThickness ( )
inline

Definition at line 62 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

62{ return fAlThickness; }

◆ GetArraySize() [1/2]

G4long BesEmcParameter::GetArraySize ( )
inline

Definition at line 37 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

37{ return array_size; }

Referenced by BesEmcWaveform::BesEmcWaveform().

◆ GetArraySize() [2/2]

G4long BesEmcParameter::GetArraySize ( )
inline

Definition at line 37 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

37{ return array_size; }

◆ GetBSCAngleRotat() [1/2]

G4double BesEmcParameter::GetBSCAngleRotat ( )
inline

Definition at line 73 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

73{ return BSCAngleRotat; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetBSCAngleRotat() [2/2]

G4double BesEmcParameter::GetBSCAngleRotat ( )
inline

Definition at line 73 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

73{ return BSCAngleRotat; }

◆ GetBSCDz() [1/2]

G4double BesEmcParameter::GetBSCDz ( )
inline

Definition at line 66 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

66{ return BSCDz; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetBSCDz() [2/2]

G4double BesEmcParameter::GetBSCDz ( )
inline

Definition at line 66 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

66{ return BSCDz; }

◆ GetBSCDz1() [1/2]

G4double BesEmcParameter::GetBSCDz1 ( )
inline

Definition at line 71 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

71{ return BSCDz1; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetBSCDz1() [2/2]

G4double BesEmcParameter::GetBSCDz1 ( )
inline

Definition at line 71 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

71{ return BSCDz1; }

◆ GetBSCNbPhi() [1/2]

G4int BesEmcParameter::GetBSCNbPhi ( )
inline

◆ GetBSCNbPhi() [2/2]

G4int BesEmcParameter::GetBSCNbPhi ( )
inline

Definition at line 74 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

74{ return BSCNbPhi; }

◆ GetBSCNbTheta() [1/2]

G4int BesEmcParameter::GetBSCNbTheta ( )
inline

◆ GetBSCNbTheta() [2/2]

G4int BesEmcParameter::GetBSCNbTheta ( )
inline

Definition at line 75 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

75{ return BSCNbTheta; }

◆ GetBSCPosition0() [1/2]

G4double BesEmcParameter::GetBSCPosition0 ( )
inline

Definition at line 80 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

80{ return BSCPosition0; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetBSCPosition0() [2/2]

G4double BesEmcParameter::GetBSCPosition0 ( )
inline

Definition at line 80 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

80{ return BSCPosition0; }

◆ GetBSCPosition1() [1/2]

G4double BesEmcParameter::GetBSCPosition1 ( )
inline

Definition at line 81 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

81{ return BSCPosition1; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetBSCPosition1() [2/2]

G4double BesEmcParameter::GetBSCPosition1 ( )
inline

Definition at line 81 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

81{ return BSCPosition1; }

◆ GetBSCRmax1() [1/2]

G4double BesEmcParameter::GetBSCRmax1 ( )
inline

Definition at line 68 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

68{ return BSCRmax1; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetBSCRmax1() [2/2]

G4double BesEmcParameter::GetBSCRmax1 ( )
inline

Definition at line 68 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

68{ return BSCRmax1; }

◆ GetBSCRmax2() [1/2]

G4double BesEmcParameter::GetBSCRmax2 ( )
inline

Definition at line 70 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

70{ return BSCRmax2; }

◆ GetBSCRmax2() [2/2]

G4double BesEmcParameter::GetBSCRmax2 ( )
inline

Definition at line 70 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

70{ return BSCRmax2; }

◆ GetBSCRmin() [1/2]

G4double BesEmcParameter::GetBSCRmin ( )
inline

Definition at line 65 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

65{ return BSCRmin; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetBSCRmin() [2/2]

G4double BesEmcParameter::GetBSCRmin ( )
inline

Definition at line 65 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

65{ return BSCRmin; }

◆ GetBSCRmin1() [1/2]

G4double BesEmcParameter::GetBSCRmin1 ( )
inline

Definition at line 67 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

67{ return BSCRmin1; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetBSCRmin1() [2/2]

G4double BesEmcParameter::GetBSCRmin1 ( )
inline

Definition at line 67 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

67{ return BSCRmin1; }

◆ GetBSCRmin2() [1/2]

G4double BesEmcParameter::GetBSCRmin2 ( )
inline

Definition at line 69 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

69{ return BSCRmin2; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetBSCRmin2() [2/2]

G4double BesEmcParameter::GetBSCRmin2 ( )
inline

Definition at line 69 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

69{ return BSCRmin2; }

◆ GetBSCYFront() [1/2]

G4double BesEmcParameter::GetBSCYFront ( )
inline

Definition at line 78 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

78{ return BSCYFront; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetBSCYFront() [2/2]

G4double BesEmcParameter::GetBSCYFront ( )
inline

Definition at line 78 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

78{ return BSCYFront; }

◆ GetBSCYFront0() [1/2]

G4double BesEmcParameter::GetBSCYFront0 ( )
inline

Definition at line 77 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

77{ return BSCYFront0; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetBSCYFront0() [2/2]

G4double BesEmcParameter::GetBSCYFront0 ( )
inline

Definition at line 77 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

77{ return BSCYFront0; }

◆ GetBSCYFront1() [1/2]

G4double BesEmcParameter::GetBSCYFront1 ( )
inline

Definition at line 79 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

79{ return BSCYFront1; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetBSCYFront1() [2/2]

G4double BesEmcParameter::GetBSCYFront1 ( )
inline

Definition at line 79 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

79{ return BSCYFront1; }

◆ GetCableDr() [1/2]

G4double BesEmcParameter::GetCableDr ( )
inline

Definition at line 110 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

110{ return cableDr; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetCableDr() [2/2]

G4double BesEmcParameter::GetCableDr ( )
inline

Definition at line 110 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

110{ return cableDr; }

◆ GetCryInOneLayer() [1/2]

G4int BesEmcParameter::GetCryInOneLayer ( G4int  nb)
inline

Definition at line 58 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

58{ return cryNumInOneLayer[nb]; }

Referenced by BesEmcDigitizer::AddNoiseAll(), and BesEmcEndGeometry::ReadParameters().

◆ GetCryInOneLayer() [2/2]

G4int BesEmcParameter::GetCryInOneLayer ( G4int  nb)
inline

Definition at line 58 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

58{ return cryNumInOneLayer[nb]; }

◆ GetCrystalLength() [1/2]

G4double BesEmcParameter::GetCrystalLength ( )
inline

◆ GetCrystalLength() [2/2]

G4double BesEmcParameter::GetCrystalLength ( )
inline

Definition at line 55 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

55{ return CrystalLength; }

◆ GetCrystalLength1() [1/2]

G4double BesEmcParameter::GetCrystalLength1 ( )
inline

Definition at line 56 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

56{ return CrystalLength1; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetCrystalLength1() [2/2]

G4double BesEmcParameter::GetCrystalLength1 ( )
inline

Definition at line 56 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

56{ return CrystalLength1; }

◆ GetEndRingDr() [1/2]

G4double BesEmcParameter::GetEndRingDr ( )
inline

Definition at line 119 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

119{ return EndRingDr; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetEndRingDr() [2/2]

G4double BesEmcParameter::GetEndRingDr ( )
inline

Definition at line 119 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

119{ return EndRingDr; }

◆ GetEndRingDz() [1/2]

G4double BesEmcParameter::GetEndRingDz ( )
inline

Definition at line 118 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

118{ return EndRingDz; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetEndRingDz() [2/2]

G4double BesEmcParameter::GetEndRingDz ( )
inline

Definition at line 118 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

118{ return EndRingDz; }

◆ GetEndRingRmin() [1/2]

G4double BesEmcParameter::GetEndRingRmin ( )
inline

Definition at line 120 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

120{ return EndRingRmin; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetEndRingRmin() [2/2]

G4double BesEmcParameter::GetEndRingRmin ( )
inline

Definition at line 120 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

120{ return EndRingRmin; }

◆ GetHangingPlateDz() [1/2]

G4double BesEmcParameter::GetHangingPlateDz ( )
inline

Definition at line 93 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

93{ return HangingPlateDz; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetHangingPlateDz() [2/2]

G4double BesEmcParameter::GetHangingPlateDz ( )
inline

Definition at line 93 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

93{ return HangingPlateDz; }

◆ GetHighRange() [1/2]

G4double BesEmcParameter::GetHighRange ( )
inline

Definition at line 39 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

39{ return m_highRange; }

Referenced by BesEmcWaveform::BesEmcWaveform().

◆ GetHighRange() [2/2]

G4double BesEmcParameter::GetHighRange ( )
inline

Definition at line 39 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

39{ return m_highRange; }

◆ GetInstance() [1/2]

BesEmcParameter & BesEmcParameter::GetInstance ( )
static

Definition at line 33 of file BesEmcParameter.cc.

34{
35 if(!Exist()) {
36 fpInstance=new BesEmcParameter;
37 fpInstance->ReadData();
38 }
39 return *fpInstance;
40}
static bool Exist()

Referenced by BesEmcDigitizer::AddNoise5x5(), BesEmcDigitizer::AddNoiseAll(), BesEmcWaveform::BesEmcWaveform(), BesEmcGeometry::ReadEMCParameters(), and BesEmcEndGeometry::ReadParameters().

◆ GetInstance() [2/2]

static BesEmcParameter & BesEmcParameter::GetInstance ( )
static

◆ GetLightOutput() [1/4]

G4double BesEmcParameter::GetLightOutput ( G4int  i)
inline

Definition at line 122 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

122{ return lightOutput[i]; }

Referenced by BesEmcDigitizer::AddNoise5x5(), and BesEmcDigitizer::AddNoiseAll().

◆ GetLightOutput() [2/4]

G4double BesEmcParameter::GetLightOutput ( G4int  i)
inline

Definition at line 122 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

122{ return lightOutput[i]; }

◆ GetLightOutput() [3/4]

G4double BesEmcParameter::GetLightOutput ( G4int  partId,
G4int  theta,
G4int  phi 
)

Definition at line 144 of file BesEmcParameter.cc.

145{
146 EmcStructure struc;
147 struc.setEmcStruc();
148 G4int index = struc.getGeomIndex(partId,theta,phi);
149 if(index>=0&&index<6240) {
150 return lightOutput[index];
151 } else {
152 return 1.;
153 }
154}
int getGeomIndex(unsigned int PartId, unsigned int ThetaIndex, unsigned int PhiIndex) const
void setEmcStruc()

◆ GetLightOutput() [4/4]

G4double BesEmcParameter::GetLightOutput ( G4int  ,
G4int  ,
G4int   
)

◆ GetLowRange() [1/2]

G4double BesEmcParameter::GetLowRange ( )
inline

Definition at line 41 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

41{ return m_lowRange; }

Referenced by BesEmcWaveform::BesEmcWaveform().

◆ GetLowRange() [2/2]

G4double BesEmcParameter::GetLowRange ( )
inline

Definition at line 41 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

41{ return m_lowRange; }

◆ GetMidRange() [1/2]

G4double BesEmcParameter::GetMidRange ( )
inline

Definition at line 40 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

40{ return m_midRange; }

Referenced by BesEmcWaveform::BesEmcWaveform().

◆ GetMidRange() [2/2]

G4double BesEmcParameter::GetMidRange ( )
inline

Definition at line 40 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

40{ return m_midRange; }

◆ GetMylarThickness() [1/2]

G4double BesEmcParameter::GetMylarThickness ( )
inline

Definition at line 63 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

63{ return fMylarThickness; }

Referenced by BesEmcGeometry::ReadEMCParameters(), and BesEmcEndGeometry::ReadParameters().

◆ GetMylarThickness() [2/2]

G4double BesEmcParameter::GetMylarThickness ( )
inline

Definition at line 63 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

63{ return fMylarThickness; }

◆ GetNonuniformity() [1/2]

G4double BesEmcParameter::GetNonuniformity ( )
inline

Definition at line 47 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

47{ return m_nonuniformity; }

Referenced by BesEmcWaveform::BesEmcWaveform().

◆ GetNonuniformity() [2/2]

G4double BesEmcParameter::GetNonuniformity ( )
inline

Definition at line 47 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

47{ return m_nonuniformity; }

◆ GetOCGirderAngle() [1/2]

G4double BesEmcParameter::GetOCGirderAngle ( )
inline

Definition at line 94 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

94{ return OCGirderAngle; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetOCGirderAngle() [2/2]

G4double BesEmcParameter::GetOCGirderAngle ( )
inline

Definition at line 94 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

94{ return OCGirderAngle; }

◆ GetOrgGlassLengthX() [1/2]

G4double BesEmcParameter::GetOrgGlassLengthX ( )
inline

Definition at line 98 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

98{ return orgGlassLengthX; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetOrgGlassLengthX() [2/2]

G4double BesEmcParameter::GetOrgGlassLengthX ( )
inline

Definition at line 98 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

98{ return orgGlassLengthX; }

◆ GetOrgGlassLengthY() [1/2]

G4double BesEmcParameter::GetOrgGlassLengthY ( )
inline

Definition at line 99 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

99{ return orgGlassLengthY; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetOrgGlassLengthY() [2/2]

G4double BesEmcParameter::GetOrgGlassLengthY ( )
inline

Definition at line 99 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

99{ return orgGlassLengthY; }

◆ GetOrgGlassLengthZ() [1/2]

G4double BesEmcParameter::GetOrgGlassLengthZ ( )
inline

Definition at line 100 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

100{ return orgGlassLengthZ; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetOrgGlassLengthZ() [2/2]

G4double BesEmcParameter::GetOrgGlassLengthZ ( )
inline

Definition at line 100 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

100{ return orgGlassLengthZ; }

◆ GetPABoxDz() [1/2]

G4double BesEmcParameter::GetPABoxDz ( )
inline

Definition at line 107 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

107{ return PABoxDz; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetPABoxDz() [2/2]

G4double BesEmcParameter::GetPABoxDz ( )
inline

Definition at line 107 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

107{ return PABoxDz; }

◆ GetPABoxThickness() [1/2]

G4double BesEmcParameter::GetPABoxThickness ( )
inline

Definition at line 108 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

108{ return PABoxThickness; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetPABoxThickness() [2/2]

G4double BesEmcParameter::GetPABoxThickness ( )
inline

Definition at line 108 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

108{ return PABoxThickness; }

◆ GetPDLengthX() [1/2]

G4double BesEmcParameter::GetPDLengthX ( )
inline

Definition at line 102 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

102{ return PDLengthX; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetPDLengthX() [2/2]

G4double BesEmcParameter::GetPDLengthX ( )
inline

Definition at line 102 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

102{ return PDLengthX; }

◆ GetPDLengthY() [1/2]

G4double BesEmcParameter::GetPDLengthY ( )
inline

Definition at line 103 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

103{ return PDLengthY; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetPDLengthY() [2/2]

G4double BesEmcParameter::GetPDLengthY ( )
inline

Definition at line 103 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

103{ return PDLengthY; }

◆ GetPDLengthZ() [1/2]

G4double BesEmcParameter::GetPDLengthZ ( )
inline

Definition at line 104 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

104{ return PDLengthZ; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetPDLengthZ() [2/2]

G4double BesEmcParameter::GetPDLengthZ ( )
inline

Definition at line 104 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

104{ return PDLengthZ; }

◆ GetPeakTime() [1/2]

G4double BesEmcParameter::GetPeakTime ( )
inline

Definition at line 43 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

43{ return m_peakTime; }

Referenced by BesEmcWaveform::BesEmcWaveform().

◆ GetPeakTime() [2/2]

G4double BesEmcParameter::GetPeakTime ( )
inline

Definition at line 43 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

43{ return m_peakTime; }

◆ GetPentaInOneSector() [1/2]

G4int BesEmcParameter::GetPentaInOneSector ( G4int  nb)
inline

Definition at line 59 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

59{ return pentaInOneSector[nb]; }

Referenced by BesEmcEndGeometry::ReadParameters().

◆ GetPentaInOneSector() [2/2]

G4int BesEmcParameter::GetPentaInOneSector ( G4int  nb)
inline

Definition at line 59 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

59{ return pentaInOneSector[nb]; }

◆ GetPhotonsPerMeV() [1/2]

G4double BesEmcParameter::GetPhotonsPerMeV ( )
inline

Definition at line 46 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

46{ return m_photonsPerMeV; }

Referenced by BesEmcWaveform::BesEmcWaveform().

◆ GetPhotonsPerMeV() [2/2]

G4double BesEmcParameter::GetPhotonsPerMeV ( )
inline

Definition at line 46 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

46{ return m_photonsPerMeV; }

◆ GetRearBoxDz() [1/2]

G4double BesEmcParameter::GetRearBoxDz ( )
inline

Definition at line 92 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

92{ return rearBoxDz; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetRearBoxDz() [2/2]

G4double BesEmcParameter::GetRearBoxDz ( )
inline

Definition at line 92 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

92{ return rearBoxDz; }

◆ GetRearBoxLength() [1/2]

G4double BesEmcParameter::GetRearBoxLength ( )
inline

Definition at line 91 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

91{ return rearBoxLength; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetRearBoxLength() [2/2]

G4double BesEmcParameter::GetRearBoxLength ( )
inline

Definition at line 91 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

91{ return rearBoxLength; }

◆ GetRearCasingThickness() [1/2]

G4double BesEmcParameter::GetRearCasingThickness ( )
inline

Definition at line 96 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

96{ return rearCasingThickness; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetRearCasingThickness() [2/2]

G4double BesEmcParameter::GetRearCasingThickness ( )
inline

Definition at line 96 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

96{ return rearCasingThickness; }

◆ GetSampleTime() [1/2]

G4double BesEmcParameter::GetSampleTime ( )
inline

Definition at line 42 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

42{ return m_sampleTime; }

Referenced by BesEmcWaveform::BesEmcWaveform().

◆ GetSampleTime() [2/2]

G4double BesEmcParameter::GetSampleTime ( )
inline

Definition at line 42 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

42{ return m_sampleTime; }

◆ GetSPBarThickness() [1/2]

G4double BesEmcParameter::GetSPBarThickness ( )
inline

Definition at line 114 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

114{ return SPBarThickness; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetSPBarThickness() [2/2]

G4double BesEmcParameter::GetSPBarThickness ( )
inline

Definition at line 114 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

114{ return SPBarThickness; }

◆ GetSPBarThickness1() [1/2]

G4double BesEmcParameter::GetSPBarThickness1 ( )
inline

Definition at line 115 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

115{ return SPBarThickness1; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetSPBarThickness1() [2/2]

G4double BesEmcParameter::GetSPBarThickness1 ( )
inline

Definition at line 115 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

115{ return SPBarThickness1; }

◆ GetSPBarwidth() [1/2]

G4double BesEmcParameter::GetSPBarwidth ( )
inline

Definition at line 116 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

116{ return SPBarwidth; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetSPBarwidth() [2/2]

G4double BesEmcParameter::GetSPBarwidth ( )
inline

Definition at line 116 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

116{ return SPBarwidth; }

◆ GetTaperRingDz() [1/2]

G4double BesEmcParameter::GetTaperRingDz ( )
inline

Definition at line 83 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

83{ return TaperRingDz; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetTaperRingDz() [2/2]

G4double BesEmcParameter::GetTaperRingDz ( )
inline

Definition at line 83 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

83{ return TaperRingDz; }

◆ GetTaperRingInnerLength() [1/2]

G4double BesEmcParameter::GetTaperRingInnerLength ( )
inline

Definition at line 88 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

88{ return TaperRingInnerLength; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetTaperRingInnerLength() [2/2]

G4double BesEmcParameter::GetTaperRingInnerLength ( )
inline

Definition at line 88 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

88{ return TaperRingInnerLength; }

◆ GetTaperRingOuterLength() [1/2]

G4double BesEmcParameter::GetTaperRingOuterLength ( )
inline

Definition at line 89 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

89{ return TaperRingOuterLength; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetTaperRingOuterLength() [2/2]

G4double BesEmcParameter::GetTaperRingOuterLength ( )
inline

Definition at line 89 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

89{ return TaperRingOuterLength; }

◆ GetTaperRingTheta() [1/2]

G4double BesEmcParameter::GetTaperRingTheta ( )
inline

Definition at line 87 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

87{ return TaperRingTheta; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetTaperRingTheta() [2/2]

G4double BesEmcParameter::GetTaperRingTheta ( )
inline

Definition at line 87 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

87{ return TaperRingTheta; }

◆ GetTaperRingThickness1() [1/2]

G4double BesEmcParameter::GetTaperRingThickness1 ( )
inline

Definition at line 84 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

84{ return TaperRingThickness1; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetTaperRingThickness1() [2/2]

G4double BesEmcParameter::GetTaperRingThickness1 ( )
inline

Definition at line 84 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

84{ return TaperRingThickness1; }

◆ GetTaperRingThickness2() [1/2]

G4double BesEmcParameter::GetTaperRingThickness2 ( )
inline

Definition at line 85 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

85{ return TaperRingThickness2; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetTaperRingThickness2() [2/2]

G4double BesEmcParameter::GetTaperRingThickness2 ( )
inline

Definition at line 85 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

85{ return TaperRingThickness2; }

◆ GetTaperRingThickness3() [1/2]

G4double BesEmcParameter::GetTaperRingThickness3 ( )
inline

Definition at line 86 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

86{ return TaperRingThickness3; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetTaperRingThickness3() [2/2]

G4double BesEmcParameter::GetTaperRingThickness3 ( )
inline

Definition at line 86 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

86{ return TaperRingThickness3; }

◆ GetTau() [1/2]

G4double BesEmcParameter::GetTau ( )
inline

Definition at line 38 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

38{ return m_tau; }

Referenced by BesEmcWaveform::BesEmcWaveform().

◆ GetTau() [2/2]

G4double BesEmcParameter::GetTau ( )
inline

Definition at line 38 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

38{ return m_tau; }

◆ GetTimeOffset() [1/2]

G4double BesEmcParameter::GetTimeOffset ( )
inline

Definition at line 44 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

44{ return m_timeOffset; }

Referenced by BesEmcWaveform::BesEmcWaveform().

◆ GetTimeOffset() [2/2]

G4double BesEmcParameter::GetTimeOffset ( )
inline

Definition at line 44 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

44{ return m_timeOffset; }

◆ GetTyvekThickness() [1/2]

G4double BesEmcParameter::GetTyvekThickness ( )
inline

Definition at line 61 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

61{ return fTyvekThickness; }

Referenced by BesEmcGeometry::ReadEMCParameters(), and BesEmcEndGeometry::ReadParameters().

◆ GetTyvekThickness() [2/2]

G4double BesEmcParameter::GetTyvekThickness ( )
inline

Definition at line 61 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

61{ return fTyvekThickness; }

◆ GetWaterPipeDr() [1/2]

G4double BesEmcParameter::GetWaterPipeDr ( )
inline

Definition at line 111 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

111{ return waterPipeDr; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetWaterPipeDr() [2/2]

G4double BesEmcParameter::GetWaterPipeDr ( )
inline

Definition at line 111 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

111{ return waterPipeDr; }

◆ GetWaterPipeThickness() [1/2]

G4double BesEmcParameter::GetWaterPipeThickness ( )
inline

Definition at line 112 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

112{ return waterPipeThickness; }

Referenced by BesEmcGeometry::ReadEMCParameters().

◆ GetWaterPipeThickness() [2/2]

G4double BesEmcParameter::GetWaterPipeThickness ( )
inline

Definition at line 112 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

112{ return waterPipeThickness; }

◆ GetWorldDz() [1/2]

G4double BesEmcParameter::GetWorldDz ( )
inline

Definition at line 53 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

53{ return WorldDz; }

Referenced by BesEmcEndGeometry::ReadParameters().

◆ GetWorldDz() [2/2]

G4double BesEmcParameter::GetWorldDz ( )
inline

Definition at line 53 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

53{ return WorldDz; }

◆ GetWorldRmax1() [1/2]

G4double BesEmcParameter::GetWorldRmax1 ( )
inline

Definition at line 50 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

50{ return WorldRmax1; }

Referenced by BesEmcEndGeometry::ReadParameters().

◆ GetWorldRmax1() [2/2]

G4double BesEmcParameter::GetWorldRmax1 ( )
inline

Definition at line 50 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

50{ return WorldRmax1; }

◆ GetWorldRmax2() [1/2]

G4double BesEmcParameter::GetWorldRmax2 ( )
inline

Definition at line 52 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

52{ return WorldRmax2; }

Referenced by BesEmcEndGeometry::ReadParameters().

◆ GetWorldRmax2() [2/2]

G4double BesEmcParameter::GetWorldRmax2 ( )
inline

Definition at line 52 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

52{ return WorldRmax2; }

◆ GetWorldRmin1() [1/2]

G4double BesEmcParameter::GetWorldRmin1 ( )
inline

Definition at line 49 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

49{ return WorldRmin1; }

Referenced by BesEmcEndGeometry::ReadParameters().

◆ GetWorldRmin1() [2/2]

G4double BesEmcParameter::GetWorldRmin1 ( )
inline

Definition at line 49 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

49{ return WorldRmin1; }

◆ GetWorldRmin2() [1/2]

G4double BesEmcParameter::GetWorldRmin2 ( )
inline

Definition at line 51 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

51{ return WorldRmin2; }

Referenced by BesEmcEndGeometry::ReadParameters().

◆ GetWorldRmin2() [2/2]

G4double BesEmcParameter::GetWorldRmin2 ( )
inline

Definition at line 51 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

51{ return WorldRmin2; }

◆ GetWorldZPosition() [1/2]

G4double BesEmcParameter::GetWorldZPosition ( )
inline

Definition at line 54 of file InstallArea/include/EmcSim/EmcSim/BesEmcParameter.hh.

54{ return WorldZPosition; }

Referenced by BesEmcEndGeometry::ReadParameters().

◆ GetWorldZPosition() [2/2]

G4double BesEmcParameter::GetWorldZPosition ( )
inline

Definition at line 54 of file Simulation/BOOST/EmcSim/EmcSim-00-00-43/EmcSim/BesEmcParameter.hh.

54{ return WorldZPosition; }

◆ Kill() [1/2]

void BesEmcParameter::Kill ( )
static

Definition at line 47 of file BesEmcParameter.cc.

48{
49 if(Exist()) {
50 delete fpInstance;
51 fpInstance=0;
52 }
53}

Referenced by BesEmcConstruction::~BesEmcConstruction().

◆ Kill() [2/2]

static void BesEmcParameter::Kill ( )
static

◆ ReadData() [1/2]

void BesEmcParameter::ReadData ( )

Definition at line 55 of file BesEmcParameter.cc.

56{
57 G4String ParaPath = getenv("EMCSIMROOT");
58 if(!ParaPath){
59 G4Exception("BOOST environment not set!");
60 }
61
62 G4String ParaPath1 = ParaPath;
63
64 ParaPath += "/dat/BesEmc.txt";
65 ifstream fin;
66 fin.open(ParaPath);
67 assert(fin);
68
69 const int maxCharOfOneLine=255;
70 char temp[maxCharOfOneLine],*p;
71 int lineNo=0,inputNo=0;
72
73 while(fin.peek()!=EOF)
74 {
75 fin.getline(temp,maxCharOfOneLine);
76 p=temp;
77 lineNo++;
78 while(*p!='\0')
79 {
80 if(*p=='#')
81 {
82 *p='\0'; //delete the comments.
83 break;
84 }
85 p++;
86 }
87 p=temp; //reset the pointer to the beginning of the string.
88 while(*p==' '||*p=='\t')p++;
89 if(*p=='\0')continue;
90 inputNo++;
91 switch(inputNo)
92 {
93 case 1:
94 istrstream(p)>>array_size>>m_tau>>m_highRange>>m_midRange>>m_lowRange>>m_sampleTime>>m_bitNb>>m_photonsPerMeV>>m_nonuniformity>>m_peakTime>>m_timeOffset;
95 break;
96 case 2:
97 istrstream(p)>>WorldRmin1>>WorldRmax1>>WorldRmin2>>WorldRmax2>>WorldDz>>WorldZPosition>>CrystalLength>>CrystalLength1;
98 break;
99 case 3:
100 istrstream(p)>>cryNumInOneLayer[0]>>cryNumInOneLayer[1]>>cryNumInOneLayer[2]>>cryNumInOneLayer[3]>>cryNumInOneLayer[4]>>cryNumInOneLayer[5];
101 break;
102 case 4:
103 istrstream(p)>>pentaInOneSector[0]>>pentaInOneSector[1]>>pentaInOneSector[2]>>pentaInOneSector[3]>>pentaInOneSector[4];
104 break;
105 case 5:
106 istrstream(p)>>fTyvekThickness>>fAlThickness>>fMylarThickness;
107 break;
108 case 6:
109 istrstream(p)>>BSCRmin>>BSCDz>>BSCRmin1>>BSCRmax1>>BSCRmin2>>BSCRmax2>>BSCDz1;
110 break;
111 case 7:
112 istrstream(p)>>BSCAngleRotat>>BSCNbPhi>>BSCNbTheta;
113 break;
114 case 8:
115 istrstream(p)>>BSCYFront0>>BSCYFront>>BSCYFront1>>BSCPosition0>>BSCPosition1;
116 break;
117 case 9:
118 istrstream(p)>>TaperRingDz>>TaperRingThickness1>>TaperRingThickness2>>TaperRingThickness3
119 >>TaperRingTheta>>TaperRingInnerLength>>TaperRingOuterLength;
120 case 10:
121 istrstream(p)>>rearBoxLength>>rearBoxDz>>HangingPlateDz>>OCGirderAngle>>rearCasingThickness;
122 case 11:
123 istrstream(p)>>orgGlassLengthX>>orgGlassLengthY>>orgGlassLengthZ
124 >>PDLengthX>>PDLengthY>>PDLengthZ>>AlPlateDz>>PABoxDz>>PABoxThickness;
125 case 12:
126 istrstream(p)>>cableDr>>waterPipeDr>>waterPipeThickness
127 >>SPBarThickness>>SPBarThickness1>>SPBarwidth>>EndRingDz>>EndRingDr>>EndRingRmin;
128 default:
129 ;
130 }
131 }
132 fin.close();
133
134 ifstream fin1;
135 ParaPath1 += "/dat/EmcLightOutput.dat";
136 fin1.open(ParaPath1);
137 assert(fin1);
138 for(G4int i=0;i<6240;i++) {
139 fin1>>lightOutput[i];
140 }
141 fin1.close();
142}

Referenced by GetInstance().

◆ ReadData() [2/2]

void BesEmcParameter::ReadData ( )

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