1 #ifndef RectangularEtaPhiTrackingRegion_H
2 #define RectangularEtaPhiTrackingRegion_H
53 float ptMin,
float rVertex,
float zVertex,
55 float whereToUseMeasurementTracker = 0.,
58 bool etaPhiRegion=
false)
60 thePhiMargin(std::
abs(deltaPhi),std::
abs(deltaPhi)),
61 theMeasurementTrackerUsage(whereToUseMeasurementTracker), thePrecise(
precise),
73 float ptMin,
float rVertex,
float zVertex,
76 float whereToUseMeasurementTracker = 0.,
79 bool etaPhiRegion=
false)
81 thePhiMargin( phiMargin), theMeasurementTrackerUsage(whereToUseMeasurementTracker),
82 thePrecise(
precise),theUseEtaPhi(etaPhiRegion),
84 { initEtaRange(dir, etaMargin); }
93 float rVertex,
float zVertex,
96 float whereToUseMeasurementTracker = 0.,
99 bool etaPhiRegion=
false)
101 thePhiMargin( phiMargin), theMeasurementTrackerUsage(whereToUseMeasurementTracker), thePrecise(
precise),theUseEtaPhi(etaPhiRegion),
103 { initEtaRange(dir, etaMargin); }
127 const Hit & outerHit,
130 float lr=0,
float gz=0,
float dr=0,
float dz=0)
const
131 {
return checkRZOld(layer,outerHit->hit(),iSetup); }
141 template <
typename T,
typename F>
167 float theMeasurementTrackerUsage;
170 std::
string theMeasurementTrackerName;
RectangularEtaPhiTrackingRegion(const GlobalVector &dir, const GlobalPoint &vertexPos, float ptMin, float rVertex, float zVertex, Margin etaMargin, Margin phiMargin, float whereToUseMeasurementTracker=0., bool precise=true, const std::string &measurementTrackerName="", bool etaPhiRegion=false)
const Margin & phiMargin() const
GloballyPositioned< float >::GlobalPoint GlobalPoint
std::string print(const Track &, edm::Verbosity=edm::Concise)
Track print utility.
virtual RectangularEtaPhiTrackingRegion * clone() const
TkTrackingRegionsMargin< float > Margin
virtual std::string name() const
RectangularEtaPhiTrackingRegion(const GlobalVector &dir, const GlobalPoint &vertexPos, Range invPtRange, float rVertex, float zVertex, Margin etaMargin, Margin phiMargin, float whereToUseMeasurementTracker=0., bool precise=true, const std::string &measurementTrackerName="", bool etaPhiRegion=false)
bool isPrecise() const
is precise error calculation switched on
Abs< T >::type abs(const T &t)
GloballyPositioned< float >::GlobalVector GlobalVector
std::pair< ContainerIterator, ContainerIterator > Range
RectangularEtaPhiTrackingRegion(const GlobalVector &dir, const GlobalPoint &vertexPos, float ptMin, float rVertex, float zVertex, float deltaEta, float deltaPhi, float whereToUseMeasurementTracker=0., bool precise=true, const std::string &measurementTrackerName="", bool etaPhiRegion=false)
static uInt32 F(BLOWFISH_CTX *ctx, uInt32 x)
tuple measurementTrackerName
virtual HitRZCompatibility * checkRZ(const DetLayer *layer, const Hit &outerHit, const edm::EventSetup &iSetup, const DetLayer *outerlayer=0, float lr=0, float gz=0, float dr=0, float dz=0) const
const Range & etaRange() const
allowed eta range [eta_min, eta_max] interval
Unlimited (trivial) bounds.