53 fNoChambers = NoChambers;
55 fHalfWidth = widthChamber*0.5;
57 fHalfLengthFirst = 0.5 * lengthInitial;
61 fHalfLengthIncr = 0.5 * (lengthFinal-lengthInitial)/NoChambers;
62 if (spacingZ < widthChamber)
64 G4Exception(
"ExN02G02ChamberParameterisation::G02ChamberParameterisation()",
66 "Invalid construction: Width>Spacing");
81 G4double Zposition = fStartZ + (copyNo+1) * fSpacing;
93 G4double halfLength = fHalfLengthFirst + copyNo * fHalfLengthIncr;
void SetZHalfLength(G4double dz)
G02ChamberParameterisation(G4int NoChambers, G4double startZ, G4double spacing, G4double widthChamber, G4double lengthInitial, G4double lengthFinal)
~G02ChamberParameterisation()
void SetRotation(G4RotationMatrix *)
void SetTranslation(const G4ThreeVector &v)
void ComputeDimensions(G4Box &trackerLayer, const G4int copyNo, const G4VPhysicalVolume *physVol) const
void ComputeTransformation(const G4int copyNo, G4VPhysicalVolume *physVol) const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
void SetYHalfLength(G4double dy)
void SetXHalfLength(G4double dx)
Definition of the G02ChamberParameterisation class.