7 os << (layer.
isForward() ?
"ForwardSimplifiedGeometry" :
"BarrelSimplifiedGeometry") <<
" index=" << layer.
index_
18 : geomProperty_(geomProperty),
21 nuclearInteractionThicknessFactor_(1.),
Implementation of a generic detector layer (base class for forward/barrel layers).
constexpr std::array< uint8_t, layerIndexSize > layer
std::ostream & operator<<(std::ostream &os, const fastsim::Geometry &geometry)
virtual bool isForward() const =0
Returns false/true depending if the object is a (non-abstract) barrel/forward layer.
int index_
Return index of this layer (layers are numbered according to their position in the detector)...
SimplifiedGeometry(double geomProperty)
Default constructor.
double geomProperty_
Geometric property of the layer: radius (barrel layer) / position z (forward layer) ...
virtual ~SimplifiedGeometry()
Default destructor.