17 template <
class T>
T sqr(
T t) {
return t*
t;}
19 using namespace GeomDetEnumerators;
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;
TrackingRegion::Hits hits(const edm::EventSetup &es, const SeedingLayerSetsHits::SeedingLayer &layer) const override
get hits from layer compatible with region constraints
bool isBarrel(GeomDetEnumerators::SubDetector m)
virtual SubDetector subDetector() const =0
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap)
static GlobalPoint vtxMean(const GlobalPoint &p1, const GlobalError &e1, const GlobalPoint &p2, const GlobalError &e2)
SeedingLayerSetsHits::Hits Hits
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 override
virtual std::string print() const
Square< F >::type sqr(const F &f)
bool isPixel(HitType hitType)
virtual std::string print() const override