CMS 3D CMS Logo

AlignmentTracksFromVertexSelector.h
Go to the documentation of this file.
1 #ifndef Alignment_CommonAlignmentAlgorithm_AlignmentTrackFromVertexSelector_h
2 #define Alignment_CommonAlignmentAlgorithm_AlignmentTrackFromVertexSelector_h
3 
12 #include <vector>
13 
14 namespace edm {
15  class Event;
16  class ParameterSet;
17 } // namespace edm
18 
19 class TrackingRecHit;
20 
22 public:
23  typedef std::vector<const reco::Track*> Tracks;
24 
27 
30 
33  const edm::Event& evt,
34  const edm::EventSetup& setup) const;
35 
36  // compute closest vertex
37  const reco::Vertex* findClosestVertex(const reco::TrackCollection& leptonTracks,
39  const edm::EventSetup& setup) const;
40 
41 private:
46  unsigned int vertexIndex_;
47 };
48 
49 #endif
std::vector< const reco::Track * > Tracks
edm::EDGetTokenT< reco::TrackCollection > diLeptonToken_
AlignmentTrackFromVertexSelector(const edm::ParameterSet &cfg, edm::ConsumesCollector &iC)
constructor
const edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord > ttbESToken_
edm::EDGetTokenT< reco::VertexCollection > vertexToken_
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:14
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
const reco::Vertex * findClosestVertex(const reco::TrackCollection &leptonTracks, const reco::VertexCollection *vertices, const edm::EventSetup &setup) const
HLT enums.
Tracks select(const edm::Handle< reco::TrackCollection > &tc, const edm::Event &evt, const edm::EventSetup &setup) const
select tracks