1 #ifndef FASTSIM_BARRELSIMPLIFIEDGEOMETRY_H
2 #define FASTSIM_BARRELSIMPLIFIEDGEOMETRY_H
67 (fabs(momentum.X() * position.X() + momentum.Y() * position.Y()) /
68 (momentum.P() *
std::sqrt(position.X() * position.X() + position.Y() * position.Y())));
const double getMagneticFieldZ(const math::XYZTLorentzVector &position) const override
Return magnetic field (field only has Z component!) on the barrel layer.
Implementation of a generic detector layer (base class for forward/barrel layers).
const double getThickness(const math::XYZTLorentzVector &position, const math::XYZTLorentzVector &momentum) const override
Return thickness of the barrel layer at a given position, also considering the incident angle...
std::unique_ptr< TH1F > magneticFieldHist_
Histogram that stores the size of the magnetic field along the layer.
Implementation of a barrel detector layer (cylindrical).
BarrelSimplifiedGeometry(double radius)
Constructor.
std::unique_ptr< TH1F > thicknessHist_
Histogram that stores the tickness (radLengths) along the layer.
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
bool isForward() const override
Returns false since class for barrel layer.
~BarrelSimplifiedGeometry() override
Default destructor.
const double getThickness(const math::XYZTLorentzVector &position) const override
Return thickness of the barrel layer at a given position.
static int position[264][3]
const double getRadius() const
Return radius of the barrel layer.
double geomProperty_
Geometric property of the layer: radius (barrel layer) / position z (forward layer) ...