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
AlignmentTrackFromVertexSelector::findClosestVertex
const reco::Vertex * findClosestVertex(const reco::TrackCollection &leptonTracks, const reco::VertexCollection *vertices, const edm::EventSetup &setup) const
Definition: AlignmentTracksFromVertexSelector.cc:30
AlignmentTrackFromVertexSelector::useClosestVertex_
bool useClosestVertex_
Definition: AlignmentTracksFromVertexSelector.h:45
edm::EDGetTokenT< reco::VertexCollection >
edm
HLT enums.
Definition: AlignableModifier.h:19
AlignmentTrackFromVertexSelector::diLeptonToken_
edm::EDGetTokenT< reco::TrackCollection > diLeptonToken_
Definition: AlignmentTracksFromVertexSelector.h:44
reco::VertexCollection
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition: VertexFwd.h:9
AlignmentTrackFromVertexSelector::Tracks
std::vector< const reco::Track * > Tracks
Definition: AlignmentTracksFromVertexSelector.h:23
edm::Handle< reco::TrackCollection >
AlignmentTrackFromVertexSelector::~AlignmentTrackFromVertexSelector
~AlignmentTrackFromVertexSelector()
destructor
Definition: AlignmentTracksFromVertexSelector.cc:27
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
AlignmentTracksFromVertexSelector_cfi.vertices
vertices
Definition: AlignmentTracksFromVertexSelector_cfi.py:5
AlignmentTrackFromVertexSelector::vertexToken_
edm::EDGetTokenT< reco::VertexCollection > vertexToken_
Definition: AlignmentTracksFromVertexSelector.h:43
Track.h
Event
EDGetToken.h
TransientTrackBuilder.h
AlignmentTrackFromVertexSelector::select
Tracks select(const edm::Handle< reco::TrackCollection > &tc, const edm::Event &evt, const edm::EventSetup &setup) const
select tracks
Definition: AlignmentTracksFromVertexSelector.cc:72
edm::ParameterSet
Definition: ParameterSet.h:47
ParameterSet
Definition: Functions.h:16
AlignmentTrackFromVertexSelector
Definition: AlignmentTracksFromVertexSelector.h:21
edm::EventSetup
Definition: EventSetup.h:58
TransientTrackRecord.h
edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord >
InputTag.h
looper.cfg
cfg
Definition: looper.py:296
TrackingRecHit
Definition: TrackingRecHit.h:21
AlignmentTrackFromVertexSelector::AlignmentTrackFromVertexSelector
AlignmentTrackFromVertexSelector(const edm::ParameterSet &cfg, edm::ConsumesCollector &iC)
constructor
Definition: AlignmentTracksFromVertexSelector.cc:17
VertexFwd.h
AlignmentTrackFromVertexSelector::vertexIndex_
unsigned int vertexIndex_
Definition: AlignmentTracksFromVertexSelector.h:46
Vertex.h
AlignmentTrackFromVertexSelector::ttbESToken_
const edm::ESGetToken< TransientTrackBuilder, TransientTrackRecord > ttbESToken_
Definition: AlignmentTracksFromVertexSelector.h:42
ConsumesCollector.h
edm::Event
Definition: Event.h:73
reco::TrackCollection
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:14
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
reco::Vertex
Definition: Vertex.h:35