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); }
122 const Hit & outerHit,
125 float lr=0,
float gz=0,
float dr=0,
float dz=0)
const
126 {
return checkRZOld(layer,outerHit->hit(),iSetup); }
155 float theMeasurementTrackerUsage;
158 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
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)
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.