40 return (
G4int)parameterList.size();
45 parameterList.push_back(newParameter);
48 void G4GDMLParameterisation::
55 void G4GDMLParameterisation::
63 void G4GDMLParameterisation::
73 void G4GDMLParameterisation::
77 parameterList[index].dimension[1],
78 parameterList[index].dimension[2],
79 parameterList[index].dimension[3],
80 parameterList[index].dimension[4],
81 parameterList[index].dimension[5],
82 parameterList[index].dimension[6],
83 parameterList[index].dimension[7],
84 parameterList[index].dimension[8],
85 parameterList[index].dimension[9],
86 parameterList[index].dimension[10]);
89 void G4GDMLParameterisation::
99 void G4GDMLParameterisation::
111 void G4GDMLParameterisation::
122 void G4GDMLParameterisation::
125 orb.
SetRadius(parameterList[index].dimension[0]);
128 void G4GDMLParameterisation::
131 ellipsoid.
SetSemiAxis(parameterList[index].dimension[0],
132 parameterList[index].dimension[1],
133 parameterList[index].dimension[2]);
134 ellipsoid.
SetZCuts(parameterList[index].dimension[3],
135 parameterList[index].dimension[4]);
138 void G4GDMLParameterisation::
142 parameterList[index].dimension[1],
143 parameterList[index].dimension[2],
144 parameterList[index].dimension[3],
145 parameterList[index].dimension[4]);
148 void G4GDMLParameterisation::
154 para.
SetAlpha(parameterList[index].dimension[3]);
155 para.
SetTanAlpha(std::tan(parameterList[index].dimension[3]));
156 para.
SetThetaAndPhi(parameterList[index].dimension[4],parameterList[index].dimension[5]);
159 void G4GDMLParameterisation::
169 void G4GDMLParameterisation::
174 origparam.Start_angle = parameterList[index].dimension[0];
175 origparam.Opening_angle = parameterList[index].dimension[1];
176 origparam.Num_z_planes = (
G4int) parameterList[index].dimension[2];
177 G4int nZplanes = origparam.Num_z_planes;
179 for(
G4int ii = 0; ii < nZplanes; ii++ )
181 origparam.Rmin[ii] = parameterList[index].dimension[3+ii*3] ;
182 origparam.Rmax[ii] = parameterList[index].dimension[4+ii*3] ;
183 origparam.Z_values[ii] = parameterList[index].dimension[5+ii*3] ;
191 void G4GDMLParameterisation::
195 origparam.Start_angle = parameterList[index].dimension[0];
196 origparam.Opening_angle = parameterList[index].dimension[1];
197 origparam.Num_z_planes = (
G4int) parameterList[index].dimension[2];
198 origparam.numSide = (
G4int) parameterList[index].dimension[3];
200 G4int nZplanes = origparam.Num_z_planes;
202 for(
G4int ii = 0; ii < nZplanes; ii++ )
205 origparam.Rmin[ii] = parameterList[index].dimension[4+ii*3] ;
206 origparam.Rmax[ii] = parameterList[index].dimension[5+ii*3] ;
207 origparam.Z_values[ii] = parameterList[index].dimension[6+ii*3] ;
void SetZHalfLength(G4double newDz)
void SetRadius(G4double newRmax)
void SetXHalfLength(G4double val)
void SetZHalfLength(G4double dz)
void SetAlpha(G4double alpha)
void SetStartPhiAngle(G4double newSphi, G4bool trig=true)
void SetInnerRadiusMinusZ(G4double Rmin1)
void SetXHalfLength2(G4double val)
void AddParameter(const PARAMETER &)
void SetStartPhiAngle(G4double newSPhi, G4bool trig=true)
void SetOuterRadiusPlusZ(G4double Rmax2)
void SetZHalfLength(G4double val)
void SetRotation(G4RotationMatrix *)
void SetThetaAndPhi(double pTheta, double pPhi)
void SetZCuts(G4double newzBottomCut, G4double newzTopCut)
void SetDeltaPhiAngle(G4double newDPhi)
void SetYHalfLength1(G4double val)
void SetDeltaThetaAngle(G4double newDTheta)
void SetStartThetaAngle(G4double newSTheta)
void SetZHalfLength(G4double val)
void SetOuterRadius(G4double newORad)
void SetDeltaPhiAngle(G4double newDPhi)
void SetInnerRadius(G4double newIRad)
void SetAllParameters(G4double pDz, G4double pTheta, G4double pPhi, G4double pDy1, G4double pDx1, G4double pDx2, G4double pAlp1, G4double pDy2, G4double pDx3, G4double pDx4, G4double pAlp2)
void SetTranslation(const G4ThreeVector &v)
void SetOriginalParameters(G4PolyconeHistorical *pars)
void SetYHalfLength(G4double val)
G4PolyconeHistorical * GetOriginalParameters() const
void SetOuterRadius(G4double newRmax)
void SetInnerRadius(G4double newRMin)
void SetOuterRadius(G4double newRMax)
void SetTanAlpha(G4double val)
void SetDeltaPhiAngle(G4double newDphi)
void SetYHalfLength(G4double dy)
void SetSemiAxis(G4double x, G4double y, G4double z)
void SetZHalfLength(G4double newHLZ)
G4PolyhedraHistorical * GetOriginalParameters() const
void SetXHalfLength(G4double dx)
void SetInnerRadius(G4double newRMin)
void SetXHalfLength1(G4double val)
void SetOuterStereo(G4double newOSte)
void SetAllParameters(G4double pRmin, G4double pRmax, G4double pRtor, G4double pSPhi, G4double pDPhi)
void SetOuterRadiusMinusZ(G4double Rmax1)
void SetStartPhiAngle(G4double newSPhi, G4bool trig=true)
void SetYHalfLength2(G4double val)
void SetOriginalParameters(G4PolyhedraHistorical *pars)
void SetInnerRadiusPlusZ(G4double Rmin2)
void SetInnerStereo(G4double newISte)
void SetZHalfLength(G4double newDz)