30 Double_t startZ, Double_t spacingZ, Double_t widthChamber,
31 Double_t lengthInitial, Double_t lengthFinal)
50 if (spacingZ < widthChamber) {
51 Fatal(
"Ex02ChamberParameterisation",
52 "Ex02ChamberParameterisation construction: Width>Spacing");
65 Int_t copyNo, Double_t* position)
const
78 Int_t copyNo, Double_t* dimension)
const
86 dimension[0] = halfLength;
87 dimension[1] = halfLength;
Definition of the Ex02ChamberParameterisation class.
The chamber parameterisation.
void ComputeTransformation(Int_t copyNo, Double_t *position) const
Int_t fNoChambers
Number of chambers.
Double_t fSpacing
The distance between the chambers' centers.
Ex02ChamberParameterisation(Int_t noChambers, Double_t startZ, Double_t spacingZ, Double_t widthChamber, Double_t lengthInitial, Double_t lengthFinal)
Double_t fStartZ
The Z of the center of first chamber.
Double_t fHalfLengthFirst
The first half-length.
Double_t fHalfLengthIncr
The Increment for the half-length.
void ComputeDimensions(Int_t copyNo, Double_t *dimension) const
virtual ~Ex02ChamberParameterisation()
Double_t fHalfWidth
The half-width of each tracker chamber.