1 #ifndef ThirdHitRZPrediction_H
2 #define ThirdHitRZPrediction_H
16 template<
class Propagator>
25 template<
class Propagator>
28 {
return barrel ? propagator.zAtR(rOrZ) : propagator.rAtZ(rOrZ); }
31 template<
class Propagator>
50 template<
class Propagator>
54 if (layer) initLayer(layer);
55 if (!theBarrel && !theForward)
return Range(0., 0.);
59 return Range(v1 - theTolerance.left(), v2 + theTolerance.right());
62 template<
class Propagator>
67 return Range(v - theTolerance.left(), v + theTolerance.right());
void initPropagator(const Propagator *propagator)
helper::ThirdHitRZPredictionTraits< Propagator > traits
Range operator()(const DetLayer *layer=0)
PixelRecoRange< float > Range
void swap(edm::DataFrameContainer &lhs, edm::DataFrameContainer &rhs)
Range operator()(float rORz) const
PixelRecoRange< float > Range
const Propagator * thePropagator
static float transform(const Propagator &propagator, bool barrel, float rOrZ)
ThirdHitRZPrediction(const Propagator *propagator, float tolerance, const DetLayer *layer=0)