#include <ThirdHitRZPrediction.h>
Public Types | |
typedef helper::ThirdHitRZPredictionTraits < Propagator > | traits |
Public Member Functions | |
void | initPropagator (const Propagator *propagator) |
Range | operator() (float rORz) const |
Range | operator() (float rORz, const Propagator &propagator) const |
Range | operator() (const DetLayer *layer=0) |
ThirdHitRZPrediction (const Propagator *propagator, float tolerance, const DetLayer *layer=0) | |
ThirdHitRZPrediction () | |
Private Attributes | |
const Propagator * | thePropagator |
Definition at line 32 of file ThirdHitRZPrediction.h.
typedef helper::ThirdHitRZPredictionTraits<Propagator> ThirdHitRZPrediction< Propagator >::traits |
Definition at line 34 of file ThirdHitRZPrediction.h.
ThirdHitRZPrediction< Propagator >::ThirdHitRZPrediction | ( | ) | [inline] |
Definition at line 36 of file ThirdHitRZPrediction.h.
: ThirdHitRZPredictionBase(), thePropagator(0) {}
ThirdHitRZPrediction< Propagator >::ThirdHitRZPrediction | ( | const Propagator * | propagator, |
float | tolerance, | ||
const DetLayer * | layer = 0 |
||
) | [inline] |
Definition at line 37 of file ThirdHitRZPrediction.h.
: ThirdHitRZPredictionBase(tolerance, layer), thePropagator(propagator) {}
void ThirdHitRZPrediction< Propagator >::initPropagator | ( | const Propagator * | propagator | ) | [inline] |
Definition at line 44 of file ThirdHitRZPrediction.h.
References LargeD0_PixelPairStep_cff::propagator, and ThirdHitRZPrediction< Propagator >::thePropagator.
Referenced by PixelTripletHLTGenerator::hitTriplets().
{ thePropagator = propagator; }
Range ThirdHitRZPrediction< Propagator >::operator() | ( | float | rORz | ) | const [inline] |
Definition at line 41 of file ThirdHitRZPrediction.h.
References ThirdHitRZPrediction< Propagator >::thePropagator.
{ return (*this)(rORz, *thePropagator); }
ThirdHitRZPrediction< Propagator >::Range ThirdHitRZPrediction< Propagator >::operator() | ( | float | rORz, |
const Propagator & | propagator | ||
) | const |
Definition at line 64 of file ThirdHitRZPrediction.h.
References create_public_pileup_plots::transform, and v.
{ float v = traits::transform(propagator, theBarrel, rOrZ); return Range(v - theTolerance.left(), v + theTolerance.right()); }
ThirdHitRZPrediction< Propagator >::Range ThirdHitRZPrediction< Propagator >::operator() | ( | const DetLayer * | layer = 0 | ) |
Definition at line 52 of file ThirdHitRZPrediction.h.
References std::swap(), and create_public_pileup_plots::transform.
{ if (layer) initLayer(layer); if (!theBarrel && !theForward) return Range(0., 0.); float v1 = traits::transform(*thePropagator, theBarrel, theDetRange.min()); float v2 = traits::transform(*thePropagator, theBarrel, theDetRange.max()); if (v1 > v2) std::swap(v1, v2); return Range(v1 - theTolerance.left(), v2 + theTolerance.right()); }
const Propagator* ThirdHitRZPrediction< Propagator >::thePropagator [private] |
Definition at line 47 of file ThirdHitRZPrediction.h.
Referenced by ThirdHitRZPrediction< Propagator >::initPropagator(), and ThirdHitRZPrediction< Propagator >::operator()().