31 #include "B2bChamberParameterisation.hh"
49 fNoChambers = noChambers;
51 fHalfWidth = 0.5*widthChamber;
53 fRmaxFirst = 0.5 * lengthInitial;
55 fRmaxIncr = 0.5 * (lengthFinal-lengthInitial)/(noChambers-1);
56 if (spacingZ < widthChamber) {
57 G4Exception(
"B2bChamberParameterisation::B2bChamberParameterisation()",
75 G4double Zposition = fStartZ + copyNo * fSpacing;
87 G4double rmax = fRmaxFirst + copyNo * fRmaxIncr;
void ComputeDimensions(G4Tubs &trackerLayer, const G4int copyNo, const G4VPhysicalVolume *physVol) const
void ComputeTransformation(const G4int copyNo, G4VPhysicalVolume *physVol) const
virtual ~B2bChamberParameterisation()
void SetStartPhiAngle(G4double newSPhi, G4bool trig=true)
void SetRotation(G4RotationMatrix *)
void SetDeltaPhiAngle(G4double newDPhi)
void SetTranslation(const G4ThreeVector &v)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
void SetInnerRadius(G4double newRMin)
B2bChamberParameterisation(G4int noChambers, G4double startZ, G4double spacing, G4double widthChamber, G4double lengthInitial, G4double lengthFinal)
void SetOuterRadius(G4double newRMax)
void SetZHalfLength(G4double newDz)