|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef TRKDETDESCRTOOLS_LAYERARRAYCREATOR_H
10 #define TRKDETDESCRTOOLS_LAYERARRAYCREATOR_H
12 #ifndef TRKDETDESCR_TAKESMALLERBIGGER
13 #define TRKDETDESCR_TAKESMALLERBIGGER
14 #define takeSmaller(current,test) current = current < test ? current : test
15 #define takeBigger(current,test) current = current > test ? current : test
16 #define takeSmallerBigger(cSmallest, cBiggest, test) takeSmaller(cSmallest, test); takeBigger(cBiggest, test)
85 #endif // TRKDETDESCRTOOLS_LAYERARRAYCREATOR_H
std::pair< SharedObject< const Layer >, Amg::Vector3D > LayerOrderPosition
int m_emptyLayerMode
0 - do nothing, 1 - replace with navigation layer, 2 - delete
LayerArray * planeLayerArray(const std::vector< PlaneLayer * > &layers, double min, double max, BinningType btype=arbitrary, Trk::BinningValue bv=Trk::binX) const
LayerArrayCreator interface method - for Planar-like layers.
LayerArray * discLayerArray(const std::vector< DiscLayer * > &layers, double zmin, double zmax, BinningType btype=arbitrary) const
LayerArrayCreator interface method - for Endcap-like layers.
BinningValue
how to take the global / local position
LayerArrayCreator(const std::string &, const std::string &, const IInterface *)
Constructor.
Trk::Layer * checkAndReplaceEmptyLayer(Trk::Layer *lay) const
Ensure that the ATLAS eigen extensions are properly loaded.
Eigen::Matrix< double, 3, 1 > Vector3D
virtual ~LayerArrayCreator()
Destructor.
LayerArray * cylinderLayerArray(const std::vector< CylinderLayer * > &layers, double rmin, double rmax, BinningType btype=arbitrary) const
LayerArrayCreator interface method - for Barrel-like layers.