5 #include "G4PhysicalConstants.hh" 6 #include "G4SystemOfUnits.hh" 8 #include "G4VPhysicalVolume.hh" 9 #include "G4ThreeVector.hh" 78 { G4Exception(
"",
"",JustWarning,
"scsiParameterisation construction: NoScintBars >82");}
86 (
const G4int copyNo,G4VPhysicalVolume *physVol)
const 88 G4double Xposition=0.,Yposition=0.,Zposition=0.;
109 G4ThreeVector origin(Xposition,Yposition,Zposition);
110 physVol->SetTranslation(origin);
111 physVol->SetRotation(0);
115 (G4Box& ScintBar,
const G4int copyNo,
const G4VPhysicalVolume*)
const 117 G4double XHalfLength=0.,YHalfLength=0.,ZHalfLength=0.;
120 if(copyNo<4||(copyNo>8&©No<13)){
125 if(copyNo>3&©No<9){
131 else if((copyNo>12&©No<18)||(copyNo>23&©No<29)){
136 else if(copyNo>17&©No<24){
142 else if(copyNo>28&©No<42){
147 ScintBar.SetXHalfLength(XHalfLength);
148 ScintBar.SetYHalfLength(YHalfLength);
149 ScintBar.SetZHalfLength(ZHalfLength);
virtual ~HodoParametrisation()
void ComputeTransformation(const G4int copyNo, G4VPhysicalVolume *physVol) const
void ComputeDimensions(G4Box &, const G4int copyNo, const G4VPhysicalVolume *physVol) const
HodoParametrisation(G4int NodE, G4int Noe1, G4int Noe2, G4double zpos)