20 theTIPMax( ps.getParameter<double>(
"tipMax") ),
21 theNSigmaTipMaxTolerance( ps.getParameter<double>(
"nSigmaTipMaxTolerance")),
22 theLIPMax( ps.getParameter<double>(
"lipMax") ),
23 theNSigmaLipMaxTolerance( ps.getParameter<double>(
"nSigmaLipMaxTolerance")),
24 theChi2Max( ps.getParameter<double>(
"chi2") ),
25 thePtMin( ps.getParameter<double>(
"ptMin") ),
26 useClusterShape( ps.getParameter<bool>(
"useClusterShape") ),
27 theVertexCollection( ps.getParameter<edm::
InputTag>(
"VertexCollection")),
42 if (!track)
return false;
47 double vzErr =0.0, vxErr=0.0, vyErr=0.0;
58 double d0=0.0, dz=0.0, d0sigma=0.0, dzsigma=0.0;
59 d0 = -1.*track->
dxy(vtxPoint);
60 dz = track->
dz(vtxPoint);
87 <<
"[HIPixelTrackFilter] Pixel track selection based on best vertex"
89 <<
"\n vz sigma = " <<
theVertices->begin()->zError();
virtual ~HIPixelTrackFilter()
std::vector< const TrackingRecHit * > Hits
double d0Error() const
error on d0
bool getByToken(EDGetToken token, Handle< PROD > &result) const
virtual bool operator()(const reco::Track *, const std::vector< const TrackingRecHit * > &hits, const TrackerTopology *tTopo) const
std::vector< Vertex > VertexCollection
collection of Vertex objects
edm::EDGetTokenT< reco::VertexCollection > theVertexCollectionToken
const reco::VertexCollection * theVertices
double chi2() const
chi-squared of the fit
double pt() const
track transverse momentum
virtual bool operator()(const reco::Track *, const PixelTrackFilter::Hits &hits, const TrackerTopology *tTopo) const
double theNSigmaLipMaxTolerance
edm::InputTag theVertexCollection
double dz() const
dz parameter (= dsz/cos(lambda)). This is the track z0 w.r.t (0,0,0) only if the refPoint is close to...
double dzError() const
error on dz
T const * product() const
XYZPointD XYZPoint
point in space with cartesian internal representation
HIPixelTrackFilter(const edm::ParameterSet &ps, edm::ConsumesCollector &iC)
double theNSigmaTipMaxTolerance
double dxy() const
dxy parameter. (This is the transverse impact parameter w.r.t. to (0,0,0) ONLY if refPoint is close t...
virtual void update(const edm::Event &ev, const edm::EventSetup &es) override
void update(const edm::Event &ev, const edm::EventSetup &es) override