17 template <
class T>
T sqr(
T t) {
return t*
t;}
22 std::ostringstream
str;
38 const DetLayer* outerlayer,
float lr,
float gz,
float dr,
float dz)
const 48 dr = outerHit->errorGlobalR();
49 dz = outerHit->errorGlobalZ();
63 if unlikely((!thePrecise) &&(isPixel )) {
66 return new HitEtaCheck(isBarrel, outerred, VcotMax, VcotMin);
88 auto corr = isBarrel ? dz :
dr;
99 float innerScatt = 3.f * ( outerlayer ?
100 iSigma(
ptMin(), vtxMean, outerred, outerlayer->
seqNum())
107 corr = innerScatt/sinTheta +
dz;
110 corr = innerScatt/cosTheta +
dr;
virtual SubDetector subDetector() const =0
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap)
bool isBarrel(GeomDetEnumerators::SubDetector m)
std::string print() const override
static GlobalPoint vtxMean(const GlobalPoint &p1, const GlobalError &e1, const GlobalPoint &p2, const GlobalError &e2)
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 override
TrackingRegion::Hits hits(const edm::EventSetup &es, const SeedingLayerSetsHits::SeedingLayer &layer) const override
get hits from layer compatible with region constraints
SeedingLayerSetsHits::Hits Hits
virtual std::string print() const
bool isPixel(HitType hitType)