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