32#include "G4VPhysicalVolume.hh"
33#include "G4ThreeVector.hh"
35#include "G4SystemOfUnits.hh"
43 G4double widthChamber,
44 G4double lengthInitial,
45 G4double lengthFinal )
54 fRmaxIncr = 0.5 * (lengthFinal-lengthInitial)/(noChambers-1);
55 if (spacingZ < widthChamber) {
56 G4Exception(
"B2bChamberParameterisation::B2bChamberParameterisation()",
57 "InvalidSetup", FatalException,
75 G4ThreeVector origin(0,0,Zposition);
76 physVol->SetTranslation(origin);
77 physVol->SetRotation(0);
87 trackerChamber.SetInnerRadius(0);
88 trackerChamber.SetOuterRadius(rmax);
90 trackerChamber.SetStartPhiAngle(0.*deg);
91 trackerChamber.SetDeltaPhiAngle(360.*deg);
Definition of the B2bChamberParameterisation class.
void ComputeTransformation(const G4int copyNo, G4VPhysicalVolume *physVol) const
void ComputeDimensions(G4Tubs &trackerLayer, const G4int copyNo, const G4VPhysicalVolume *physVol) const
B2bChamberParameterisation(G4int noChambers, G4double startZ, G4double spacing, G4double widthChamber, G4double lengthInitial, G4double lengthFinal)
virtual ~B2bChamberParameterisation()