src
RecoMuon
TrackingTools
interface
SegmentsTrackAssociator.h
Go to the documentation of this file.
1
#ifndef SegmentsTrackAssociator_H
2
#define SegmentsTrackAssociator_H
3
12
#include "
FWCore/Framework/interface/Frameworkfwd.h
"
13
#include "
FWCore/Framework/interface/Event.h
"
14
#include "
FWCore/Framework/interface/MakerMacros.h
"
15
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
16
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
17
#include "
FWCore/Utilities/interface/InputTag.h
"
18
19
#include "
TrackingTools/TransientTrack/interface/TransientTrack.h
"
20
#include "
TrackingTools/TransientTrackingRecHit/interface/TransientTrackingRecHit.h
"
21
#include "
TrackingTools/PatternTools/interface/TrajectoryMeasurement.h
"
22
#include "
TrackingTools/DetLayers/interface/DetLayer.h
"
23
#include "
TrackingTools/PatternTools/interface/TrajMeasLessEstim.h
"
24
#include "
RecoMuon/TrackingTools/interface/MuonPatternRecoDumper.h
"
25
#include "
RecoMuon/TransientTrackingRecHit/interface/MuonTransientTrackingRecHit.h
"
26
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
27
#include "
DataFormats/TrackReco/interface/Track.h
"
28
29
#include "
DataFormats/DTRecHit/interface/DTRecSegment4DCollection.h
"
30
#include "
DataFormats/CSCRecHit/interface/CSCSegmentCollection.h
"
31
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
32
33
namespace
edm
{
34
class
ParameterSet
;
35
class
Event
;
36
class
EventSetup
;
37
}
// namespace edm
38
class
GlobalTrackingGeometryRecord
;
39
40
class
SegmentsTrackAssociator
{
41
public
:
43
SegmentsTrackAssociator
(
const
edm::ParameterSet
&,
edm::ConsumesCollector
& iC);
44
46
virtual
~SegmentsTrackAssociator
();
47
49
MuonTransientTrackingRecHit::MuonRecHitContainer
associate
(
const
edm::Event
&,
50
const
edm::EventSetup
&,
51
const
reco::Track
&);
52
53
private
:
54
// the counters
55
int
numRecHit
;
56
int
numRecHitDT
;
57
int
numRecHitCSC
;
58
59
// collection label
60
edm::InputTag
theDTSegmentLabel
;
61
edm::InputTag
theCSCSegmentLabel
;
62
edm::InputTag
theSegmentContainerName
;
63
64
edm::EDGetTokenT<DTRecSegment4DCollection>
dtSegmentsToken
;
65
edm::EDGetTokenT<CSCSegmentCollection>
cscSegmentsToken
;
66
edm::ESGetToken<GlobalTrackingGeometry, GlobalTrackingGeometryRecord>
trackingGeometryToken
;
67
68
std::string
metname
;
69
};
70
71
#endif
TrajMeasLessEstim.h
SegmentsTrackAssociator::dtSegmentsToken
edm::EDGetTokenT< DTRecSegment4DCollection > dtSegmentsToken
Definition:
SegmentsTrackAssociator.h:64
TrajectoryMeasurement.h
MessageLogger.h
ParameterSet
Definition:
Functions.h:16
SegmentsTrackAssociator::~SegmentsTrackAssociator
virtual ~SegmentsTrackAssociator()
Destructor.
Definition:
SegmentsTrackAssociator.cc:52
TransientTrack.h
Event.h
SegmentsTrackAssociator::numRecHit
int numRecHit
Definition:
SegmentsTrackAssociator.h:55
TrackFwd.h
GlobalTrackingGeometryRecord
Definition:
GlobalTrackingGeometryRecord.h:17
SegmentsTrackAssociator::numRecHitCSC
int numRecHitCSC
Definition:
SegmentsTrackAssociator.h:57
SegmentsTrackAssociator::metname
std::string metname
Definition:
SegmentsTrackAssociator.h:68
edm::EDGetTokenT< DTRecSegment4DCollection >
Frameworkfwd.h
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
SegmentsTrackAssociator
Definition:
SegmentsTrackAssociator.h:40
ParameterSet.h
TransientTrackingRecHit.h
SegmentsTrackAssociator::SegmentsTrackAssociator
SegmentsTrackAssociator(const edm::ParameterSet &, edm::ConsumesCollector &iC)
Constructor.
Definition:
SegmentsTrackAssociator.cc:37
edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecord >
EventSetup
MuonPatternRecoDumper.h
SegmentsTrackAssociator::theDTSegmentLabel
edm::InputTag theDTSegmentLabel
Definition:
SegmentsTrackAssociator.h:60
SegmentsTrackAssociator::theCSCSegmentLabel
edm::InputTag theCSCSegmentLabel
Definition:
SegmentsTrackAssociator.h:61
edm::EventSetup
Definition:
EventSetup.h:56
SegmentsTrackAssociator::associate
MuonTransientTrackingRecHit::MuonRecHitContainer associate(const edm::Event &, const edm::EventSetup &, const reco::Track &)
Get the analysis.
Definition:
SegmentsTrackAssociator.cc:54
SegmentsTrackAssociator::trackingGeometryToken
edm::ESGetToken< GlobalTrackingGeometry, GlobalTrackingGeometryRecord > trackingGeometryToken
Definition:
SegmentsTrackAssociator.h:66
CSCSegmentCollection.h
MuonTransientTrackingRecHit.h
reco::Track
Definition:
Track.h:27
Event
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::InputTag
Definition:
InputTag.h:15
InputTag.h
DetLayer.h
Track.h
edm::ParameterSet
Definition:
ParameterSet.h:48
SegmentsTrackAssociator::theSegmentContainerName
edm::InputTag theSegmentContainerName
Definition:
SegmentsTrackAssociator.h:62
edm::Event
Definition:
Event.h:73
SegmentsTrackAssociator::cscSegmentsToken
edm::EDGetTokenT< CSCSegmentCollection > cscSegmentsToken
Definition:
SegmentsTrackAssociator.h:65
ConsumesCollector.h
MakerMacros.h
MuonTransientTrackingRecHit::MuonRecHitContainer
std::vector< MuonRecHitPointer > MuonRecHitContainer
Definition:
MuonTransientTrackingRecHit.h:26
DTRecSegment4DCollection.h
SegmentsTrackAssociator::numRecHitDT
int numRecHitDT
Definition:
SegmentsTrackAssociator.h:56
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.14