CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackWithVertexSelector.h
Go to the documentation of this file.
1 #ifndef CommonTools_RecoAlgos_TrackWithVertexSelector_H
2 #define CommonTools_RecoAlgos_TrackWithVertexSelector_H
3 
4 // Original Author: Giovanni Petrucciani
5 // Created: Fri May 25 10:06:02 CEST 2007
6 // $Id: TrackWithVertexSelector.h,v 1.4 2010/04/07 08:56:18 gpetrucc Exp $
7 
8 
16 
18  public:
20  TrackWithVertexSelector(iConfig, iC) {}
23  bool operator()(const reco::Track &t, const edm::Event &iEvent) const ;
24  bool operator()(const reco::Track &t, const reco::VertexCollection &vtxs) const;
25  bool testTrack(const reco::Track &t) const ;
26  bool testVertices(const reco::Track &t, const reco::VertexCollection &vtxs) const ;
27  private:
33  double dzMax_, d0Max_;
34  double ptErrorCut_;
36 
37  uint32_t nVertices_;
40  double zetaVtx_, rhoVtx_;
41 
43 };
44 
45 #endif
bool testTrack(const reco::Track &t) const
bool testVertices(const reco::Track &t, const reco::VertexCollection &vtxs) const
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
edm::EDGetTokenT< reco::VertexCollection > vertexToken_
int iEvent
Definition: GenABIO.cc:230
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
bool operator()(const reco::Track &t, const edm::Event &iEvent) const
TrackWithVertexSelector(const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC)