VMC Examples Version 6.6
|
The chamber parameterisation. More...
#include <Ex02ChamberParameterisation.h>
Public Member Functions | |
Ex02ChamberParameterisation (Int_t noChambers, Double_t startZ, Double_t spacingZ, Double_t widthChamber, Double_t lengthInitial, Double_t lengthFinal) | |
virtual | ~Ex02ChamberParameterisation () |
void | ComputeTransformation (Int_t copyNo, Double_t *position) const |
void | ComputeDimensions (Int_t copyNo, Double_t *dimension) const |
Private Attributes | |
Int_t | fNoChambers |
Number of chambers. | |
Double_t | fStartZ |
The Z of the center of first chamber. | |
Double_t | fHalfWidth |
The half-width of each tracker chamber. | |
Double_t | fSpacing |
The distance between the chambers' centers. | |
Double_t | fHalfLengthFirst |
The first half-length. | |
Double_t | fHalfLengthIncr |
The Increment for the half-length. | |
The chamber parameterisation.
A parameterisation that describes a series of boxes along Z The boxes have equal width, & their lengths are a linear equation.
Definition at line 34 of file Ex02ChamberParameterisation.h.
Ex02ChamberParameterisation::Ex02ChamberParameterisation | ( | Int_t | noChambers, |
Double_t | startZ, | ||
Double_t | spacingZ, | ||
Double_t | widthChamber, | ||
Double_t | lengthInitial, | ||
Double_t | lengthFinal ) |
Standard constructor
noChambers | Number of chambers |
startZ | The Z of the center of first chamber |
spacingZ | The distance between the chambers' centers |
widthChamber | The width of each tracker chamber |
lengthInitial | The first chamber length |
lengthFinal | The last chamber length |
Definition at line 29 of file Ex02ChamberParameterisation.cxx.
|
virtual |
void Ex02ChamberParameterisation::ComputeTransformation | ( | Int_t | copyNo, |
Double_t * | position ) const |
Compute the chamber position
copyNo | The chamber copy number |
position | The computed chamber position |
Definition at line 64 of file Ex02ChamberParameterisation.cxx.
void Ex02ChamberParameterisation::ComputeDimensions | ( | Int_t | copyNo, |
Double_t * | dimension ) const |
Compute the chamber dimensions
copyNo | The chamber copy number |
dimension | The computed chamber dimensions |
Definition at line 77 of file Ex02ChamberParameterisation.cxx.
|
private |
Number of chambers.
Definition at line 48 of file Ex02ChamberParameterisation.h.
|
private |
The Z of the center of first chamber.
Definition at line 49 of file Ex02ChamberParameterisation.h.
|
private |
The half-width of each tracker chamber.
Definition at line 50 of file Ex02ChamberParameterisation.h.
|
private |
The distance between the chambers' centers.
Definition at line 51 of file Ex02ChamberParameterisation.h.
|
private |
The first half-length.
Definition at line 52 of file Ex02ChamberParameterisation.h.
|
private |
The Increment for the half-length.
Definition at line 53 of file Ex02ChamberParameterisation.h.