BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
ExtBesEmcParameter Class Reference

#include <ExtBesEmcParameter.h>

Public Member Functions

 ExtBesEmcParameter ()
 
 ~ExtBesEmcParameter ()
 
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 ()
 
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 ()
 

Static Public Member Functions

static ExtBesEmcParameterGetInstance ()
 
static bool Exist ()
 
static void Kill ()
 

Detailed Description

Definition at line 17 of file ExtBesEmcParameter.h.

Constructor & Destructor Documentation

◆ ExtBesEmcParameter()

ExtBesEmcParameter::ExtBesEmcParameter ( )

Definition at line 23 of file ExtBesEmcParameter.cxx.

24{}

Referenced by GetInstance().

◆ ~ExtBesEmcParameter()

ExtBesEmcParameter::~ExtBesEmcParameter ( )

Definition at line 27 of file ExtBesEmcParameter.cxx.

28{}

Member Function Documentation

◆ Exist()

bool ExtBesEmcParameter::Exist ( )
static

Definition at line 41 of file ExtBesEmcParameter.cxx.

42{
43 return fpInstance!=0;
44}

Referenced by GetInstance(), and Kill().

◆ GetADCbit()

G4int ExtBesEmcParameter::GetADCbit ( )
inline

Definition at line 45 of file ExtBesEmcParameter.h.

45{ return m_bitNb; }

◆ GetAlPlateDz()

G4double ExtBesEmcParameter::GetAlPlateDz ( )
inline

Definition at line 105 of file ExtBesEmcParameter.h.

105{ return AlPlateDz; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetAlThickness()

G4double ExtBesEmcParameter::GetAlThickness ( )
inline

Definition at line 61 of file ExtBesEmcParameter.h.

61{ return fAlThickness; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters(), and ExtBesEmcEndGeometry::ReadParameters().

◆ GetArraySize()

G4long ExtBesEmcParameter::GetArraySize ( )
inline

Definition at line 37 of file ExtBesEmcParameter.h.

37{ return array_size; }

◆ GetBSCAngleRotat()

G4double ExtBesEmcParameter::GetBSCAngleRotat ( )
inline

Definition at line 72 of file ExtBesEmcParameter.h.

72{ return BSCAngleRotat; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetBSCDz()

G4double ExtBesEmcParameter::GetBSCDz ( )
inline

Definition at line 65 of file ExtBesEmcParameter.h.

65{ return BSCDz; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetBSCDz1()

G4double ExtBesEmcParameter::GetBSCDz1 ( )
inline

Definition at line 70 of file ExtBesEmcParameter.h.

70{ return BSCDz1; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetBSCNbPhi()

G4int ExtBesEmcParameter::GetBSCNbPhi ( )
inline

Definition at line 73 of file ExtBesEmcParameter.h.

73{ return BSCNbPhi; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetBSCNbTheta()

G4int ExtBesEmcParameter::GetBSCNbTheta ( )
inline

Definition at line 74 of file ExtBesEmcParameter.h.

74{ return BSCNbTheta; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetBSCPosition0()

G4double ExtBesEmcParameter::GetBSCPosition0 ( )
inline

Definition at line 79 of file ExtBesEmcParameter.h.

79{ return BSCPosition0; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetBSCPosition1()

G4double ExtBesEmcParameter::GetBSCPosition1 ( )
inline

Definition at line 80 of file ExtBesEmcParameter.h.

80{ return BSCPosition1; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetBSCRmax1()

G4double ExtBesEmcParameter::GetBSCRmax1 ( )
inline

Definition at line 67 of file ExtBesEmcParameter.h.

67{ return BSCRmax1; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetBSCRmax2()

G4double ExtBesEmcParameter::GetBSCRmax2 ( )
inline

Definition at line 69 of file ExtBesEmcParameter.h.

69{ return BSCRmax2; }

◆ GetBSCRmin()

G4double ExtBesEmcParameter::GetBSCRmin ( )
inline

Definition at line 64 of file ExtBesEmcParameter.h.

64{ return BSCRmin; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetBSCRmin1()

G4double ExtBesEmcParameter::GetBSCRmin1 ( )
inline

Definition at line 66 of file ExtBesEmcParameter.h.

66{ return BSCRmin1; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetBSCRmin2()

G4double ExtBesEmcParameter::GetBSCRmin2 ( )
inline

Definition at line 68 of file ExtBesEmcParameter.h.

68{ return BSCRmin2; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetBSCYFront()

G4double ExtBesEmcParameter::GetBSCYFront ( )
inline

Definition at line 77 of file ExtBesEmcParameter.h.

77{ return BSCYFront; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetBSCYFront0()

G4double ExtBesEmcParameter::GetBSCYFront0 ( )
inline

Definition at line 76 of file ExtBesEmcParameter.h.

76{ return BSCYFront0; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetBSCYFront1()

G4double ExtBesEmcParameter::GetBSCYFront1 ( )
inline

Definition at line 78 of file ExtBesEmcParameter.h.

78{ return BSCYFront1; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetCableDr()

G4double ExtBesEmcParameter::GetCableDr ( )
inline

Definition at line 109 of file ExtBesEmcParameter.h.

109{ return cableDr; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetCryInOneLayer()

G4int ExtBesEmcParameter::GetCryInOneLayer ( G4int  nb)
inline

Definition at line 57 of file ExtBesEmcParameter.h.

57{ return cryNumInOneLayer[nb]; }

Referenced by ExtBesEmcEndGeometry::ReadParameters().

◆ GetCrystalLength()

G4double ExtBesEmcParameter::GetCrystalLength ( )
inline

Definition at line 55 of file ExtBesEmcParameter.h.

55{ return CrystalLength; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters(), and ExtBesEmcEndGeometry::ReadParameters().

◆ GetEndRingDr()

G4double ExtBesEmcParameter::GetEndRingDr ( )
inline

Definition at line 118 of file ExtBesEmcParameter.h.

118{ return EndRingDr; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetEndRingDz()

G4double ExtBesEmcParameter::GetEndRingDz ( )
inline

Definition at line 117 of file ExtBesEmcParameter.h.

117{ return EndRingDz; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetEndRingRmin()

G4double ExtBesEmcParameter::GetEndRingRmin ( )
inline

Definition at line 119 of file ExtBesEmcParameter.h.

119{ return EndRingRmin; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetHangingPlateDz()

G4double ExtBesEmcParameter::GetHangingPlateDz ( )
inline

Definition at line 92 of file ExtBesEmcParameter.h.

92{ return HangingPlateDz; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetHighRange()

G4double ExtBesEmcParameter::GetHighRange ( )
inline

Definition at line 39 of file ExtBesEmcParameter.h.

39{ return m_highRange; }

◆ GetInstance()

ExtBesEmcParameter & ExtBesEmcParameter::GetInstance ( )
static

Definition at line 32 of file ExtBesEmcParameter.cxx.

33{
34 if(!Exist()) {
35 fpInstance=new ExtBesEmcParameter;
36 fpInstance->ReadData();
37 }
38 return *fpInstance;
39}

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetLowRange()

G4double ExtBesEmcParameter::GetLowRange ( )
inline

Definition at line 41 of file ExtBesEmcParameter.h.

41{ return m_lowRange; }

◆ GetMidRange()

G4double ExtBesEmcParameter::GetMidRange ( )
inline

Definition at line 40 of file ExtBesEmcParameter.h.

40{ return m_midRange; }

◆ GetMylarThickness()

G4double ExtBesEmcParameter::GetMylarThickness ( )
inline

Definition at line 62 of file ExtBesEmcParameter.h.

62{ return fMylarThickness; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters(), and ExtBesEmcEndGeometry::ReadParameters().

◆ GetNonuniformity()

G4double ExtBesEmcParameter::GetNonuniformity ( )
inline

Definition at line 47 of file ExtBesEmcParameter.h.

47{ return m_nonuniformity; }

◆ GetOCGirderAngle()

G4double ExtBesEmcParameter::GetOCGirderAngle ( )
inline

Definition at line 93 of file ExtBesEmcParameter.h.

93{ return OCGirderAngle; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetOrgGlassLengthX()

G4double ExtBesEmcParameter::GetOrgGlassLengthX ( )
inline

Definition at line 97 of file ExtBesEmcParameter.h.

97{ return orgGlassLengthX; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetOrgGlassLengthY()

G4double ExtBesEmcParameter::GetOrgGlassLengthY ( )
inline

Definition at line 98 of file ExtBesEmcParameter.h.

98{ return orgGlassLengthY; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetOrgGlassLengthZ()

G4double ExtBesEmcParameter::GetOrgGlassLengthZ ( )
inline

Definition at line 99 of file ExtBesEmcParameter.h.

99{ return orgGlassLengthZ; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetPABoxDz()

G4double ExtBesEmcParameter::GetPABoxDz ( )
inline

Definition at line 106 of file ExtBesEmcParameter.h.

106{ return PABoxDz; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetPABoxThickness()

G4double ExtBesEmcParameter::GetPABoxThickness ( )
inline

Definition at line 107 of file ExtBesEmcParameter.h.

107{ return PABoxThickness; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetPDLengthX()

G4double ExtBesEmcParameter::GetPDLengthX ( )
inline

Definition at line 101 of file ExtBesEmcParameter.h.

101{ return PDLengthX; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetPDLengthY()

G4double ExtBesEmcParameter::GetPDLengthY ( )
inline

Definition at line 102 of file ExtBesEmcParameter.h.

102{ return PDLengthY; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetPDLengthZ()

G4double ExtBesEmcParameter::GetPDLengthZ ( )
inline

Definition at line 103 of file ExtBesEmcParameter.h.

103{ return PDLengthZ; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetPeakTime()

G4double ExtBesEmcParameter::GetPeakTime ( )
inline

Definition at line 43 of file ExtBesEmcParameter.h.

43{ return m_peakTime; }

◆ GetPentaInOneSector()

G4int ExtBesEmcParameter::GetPentaInOneSector ( G4int  nb)
inline

Definition at line 58 of file ExtBesEmcParameter.h.

58{ return pentaInOneSector[nb]; }

Referenced by ExtBesEmcEndGeometry::ReadParameters().

◆ GetPhotonsPerMeV()

G4double ExtBesEmcParameter::GetPhotonsPerMeV ( )
inline

Definition at line 46 of file ExtBesEmcParameter.h.

46{ return m_photonsPerMeV; }

◆ GetRearBoxDz()

G4double ExtBesEmcParameter::GetRearBoxDz ( )
inline

Definition at line 91 of file ExtBesEmcParameter.h.

91{ return rearBoxDz; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetRearBoxLength()

G4double ExtBesEmcParameter::GetRearBoxLength ( )
inline

Definition at line 90 of file ExtBesEmcParameter.h.

90{ return rearBoxLength; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetRearCasingThickness()

G4double ExtBesEmcParameter::GetRearCasingThickness ( )
inline

Definition at line 95 of file ExtBesEmcParameter.h.

95{ return rearCasingThickness; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetSampleTime()

G4double ExtBesEmcParameter::GetSampleTime ( )
inline

Definition at line 42 of file ExtBesEmcParameter.h.

42{ return m_sampleTime; }

◆ GetSPBarThickness()

G4double ExtBesEmcParameter::GetSPBarThickness ( )
inline

Definition at line 113 of file ExtBesEmcParameter.h.

113{ return SPBarThickness; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetSPBarThickness1()

G4double ExtBesEmcParameter::GetSPBarThickness1 ( )
inline

Definition at line 114 of file ExtBesEmcParameter.h.

114{ return SPBarThickness1; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetSPBarwidth()

G4double ExtBesEmcParameter::GetSPBarwidth ( )
inline

Definition at line 115 of file ExtBesEmcParameter.h.

115{ return SPBarwidth; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetTaperRingDz()

G4double ExtBesEmcParameter::GetTaperRingDz ( )
inline

Definition at line 82 of file ExtBesEmcParameter.h.

82{ return TaperRingDz; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetTaperRingInnerLength()

G4double ExtBesEmcParameter::GetTaperRingInnerLength ( )
inline

Definition at line 87 of file ExtBesEmcParameter.h.

87{ return TaperRingInnerLength; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetTaperRingOuterLength()

G4double ExtBesEmcParameter::GetTaperRingOuterLength ( )
inline

Definition at line 88 of file ExtBesEmcParameter.h.

88{ return TaperRingOuterLength; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetTaperRingTheta()

G4double ExtBesEmcParameter::GetTaperRingTheta ( )
inline

Definition at line 86 of file ExtBesEmcParameter.h.

86{ return TaperRingTheta; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetTaperRingThickness1()

G4double ExtBesEmcParameter::GetTaperRingThickness1 ( )
inline

Definition at line 83 of file ExtBesEmcParameter.h.

83{ return TaperRingThickness1; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetTaperRingThickness2()

G4double ExtBesEmcParameter::GetTaperRingThickness2 ( )
inline

Definition at line 84 of file ExtBesEmcParameter.h.

84{ return TaperRingThickness2; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetTaperRingThickness3()

G4double ExtBesEmcParameter::GetTaperRingThickness3 ( )
inline

Definition at line 85 of file ExtBesEmcParameter.h.

85{ return TaperRingThickness3; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetTau()

G4double ExtBesEmcParameter::GetTau ( )
inline

Definition at line 38 of file ExtBesEmcParameter.h.

38{ return m_tau; }

◆ GetTimeOffset()

G4double ExtBesEmcParameter::GetTimeOffset ( )
inline

Definition at line 44 of file ExtBesEmcParameter.h.

44{ return m_timeOffset; }

◆ GetTyvekThickness()

G4double ExtBesEmcParameter::GetTyvekThickness ( )
inline

Definition at line 60 of file ExtBesEmcParameter.h.

60{ return fTyvekThickness; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters(), and ExtBesEmcEndGeometry::ReadParameters().

◆ GetWaterPipeDr()

G4double ExtBesEmcParameter::GetWaterPipeDr ( )
inline

Definition at line 110 of file ExtBesEmcParameter.h.

110{ return waterPipeDr; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetWaterPipeThickness()

G4double ExtBesEmcParameter::GetWaterPipeThickness ( )
inline

Definition at line 111 of file ExtBesEmcParameter.h.

111{ return waterPipeThickness; }

Referenced by ExtBesEmcGeometry::ReadEMCParameters().

◆ GetWorldDz()

G4double ExtBesEmcParameter::GetWorldDz ( )
inline

Definition at line 53 of file ExtBesEmcParameter.h.

53{ return WorldDz; }

Referenced by ExtBesEmcEndGeometry::ReadParameters().

◆ GetWorldRmax1()

G4double ExtBesEmcParameter::GetWorldRmax1 ( )
inline

Definition at line 50 of file ExtBesEmcParameter.h.

50{ return WorldRmax1; }

Referenced by ExtBesEmcEndGeometry::ReadParameters().

◆ GetWorldRmax2()

G4double ExtBesEmcParameter::GetWorldRmax2 ( )
inline

Definition at line 52 of file ExtBesEmcParameter.h.

52{ return WorldRmax2; }

Referenced by ExtBesEmcEndGeometry::ReadParameters().

◆ GetWorldRmin1()

G4double ExtBesEmcParameter::GetWorldRmin1 ( )
inline

Definition at line 49 of file ExtBesEmcParameter.h.

49{ return WorldRmin1; }

Referenced by ExtBesEmcEndGeometry::ReadParameters().

◆ GetWorldRmin2()

G4double ExtBesEmcParameter::GetWorldRmin2 ( )
inline

Definition at line 51 of file ExtBesEmcParameter.h.

51{ return WorldRmin2; }

Referenced by ExtBesEmcEndGeometry::ReadParameters().

◆ GetWorldZPosition()

G4double ExtBesEmcParameter::GetWorldZPosition ( )
inline

Definition at line 54 of file ExtBesEmcParameter.h.

54{ return WorldZPosition; }

Referenced by ExtBesEmcEndGeometry::ReadParameters().

◆ Kill()

void ExtBesEmcParameter::Kill ( )
static

Definition at line 46 of file ExtBesEmcParameter.cxx.

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

◆ ReadData()

void ExtBesEmcParameter::ReadData ( )

Definition at line 54 of file ExtBesEmcParameter.cxx.

55{
56 //G4String ParaPath = ReadBoostRoot::GetBoostRoot();
57 G4String ParaPath = getenv("SIMUTILROOT");
58
59 if(!ParaPath){
60 G4Exception("BOOST environment not set!");
61 }
62 ParaPath += "/dat/BesEmc.txt";
63 G4cout<<"^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"<<G4endl;
64 G4cout<<ParaPath<<G4endl;
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;
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}
std::ifstream ifstream
Definition: bpkt_streams.h:44

Referenced by GetInstance(), and ExtBesEmcEndGeometry::ReadParameters().


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