52 fNoChambers = NoChambers;
54 fHalfWidth = widthChamber*0.5;
56 fHalfLengthFirst = 0.5 * lengthInitial;
60 fHalfLengthIncr = 0.5 * (lengthFinal-lengthInitial)/NoChambers;
62 if (spacingZ < widthChamber) {
64 "ExN02ChamberParameterisation::ExN02ChamberParameterisation()",
82 G4double Zposition= fStartZ + (copyNo+1) * fSpacing;
93 G4double halfLength= fHalfLengthFirst + copyNo * fHalfLengthIncr;
void ComputeDimensions(G4Box &trackerLayer, const G4int copyNo, const G4VPhysicalVolume *physVol) const
void SetZHalfLength(G4double dz)
ExP01ChamberParameterisation(G4int NoChambers, G4double startZ, G4double spacing, G4double widthChamber, G4double lengthInitial, G4double lengthFinal)
void SetRotation(G4RotationMatrix *)
void SetTranslation(const G4ThreeVector &v)
void ComputeTransformation(const G4int copyNo, G4VPhysicalVolume *physVol) const
~ExP01ChamberParameterisation()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition of the ExP01ChamberParameterisation class.
void SetYHalfLength(G4double dy)
void SetXHalfLength(G4double dx)