32#include "G4VPhysicalVolume.hh"
33#include "G4ThreeVector.hh"
35#include "G4SystemOfUnits.hh"
46 G4double widthChamber,
47 G4double lengthInitial,
48 G4double lengthFinal )
56 fRmaxIncr = 0.5 * (lengthFinal-lengthInitial)/(noChambers-1);
57 if (spacingZ < widthChamber) {
58 G4Exception(
"ChamberParameterisation::ChamberParameterisation()",
59 "InvalidSetup", FatalException,
72 G4ThreeVector origin(0,0,Zposition);
73 physVol->SetTranslation(origin);
74 physVol->SetRotation(
nullptr);
84 trackerChamber.SetInnerRadius(0);
85 trackerChamber.SetOuterRadius(rmax);
87 trackerChamber.SetStartPhiAngle(0.*deg);
88 trackerChamber.SetDeltaPhiAngle(360.*deg);
Definition of the B2b::ChamberParameterisation class.
void ComputeTransformation(const G4int copyNo, G4VPhysicalVolume *physVol) const override
void ComputeDimensions(G4Tubs &trackerLayer, const G4int copyNo, const G4VPhysicalVolume *physVol) const override
ChamberParameterisation(G4int noChambers, G4double startZ, G4double spacing, G4double widthChamber, G4double lengthInitial, G4double lengthFinal)