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
39
class
SegmentsTrackAssociator
{
40
public
:
42
SegmentsTrackAssociator
(
const
edm::ParameterSet
&,
edm::ConsumesCollector
& iC);
43
45
virtual
~SegmentsTrackAssociator
();
46
48
MuonTransientTrackingRecHit::MuonRecHitContainer
associate
(
const
edm::Event
&,
49
const
edm::EventSetup
&,
50
const
reco::Track
&);
51
52
private
:
53
// the counters
54
int
numRecHit
;
55
int
numRecHitDT
;
56
int
numRecHitCSC
;
57
58
// collection label
59
edm::InputTag
theDTSegmentLabel
;
60
edm::InputTag
theCSCSegmentLabel
;
61
edm::InputTag
theSegmentContainerName
;
62
63
edm::EDGetTokenT<DTRecSegment4DCollection>
dtSegmentsToken
;
64
edm::EDGetTokenT<CSCSegmentCollection>
cscSegmentsToken
;
65
66
std::string
metname
;
67
};
68
69
#endif
SegmentsTrackAssociator::numRecHitDT
int numRecHitDT
Definition:
SegmentsTrackAssociator.h:55
TrajMeasLessEstim.h
MessageLogger.h
MuonPatternRecoDumper.h
SegmentsTrackAssociator::numRecHit
int numRecHit
Definition:
SegmentsTrackAssociator.h:54
SegmentsTrackAssociator::~SegmentsTrackAssociator
virtual ~SegmentsTrackAssociator()
Destructor.
Definition:
SegmentsTrackAssociator.cc:51
edm::EDGetTokenT< DTRecSegment4DCollection >
edm
HLT enums.
Definition:
AlignableModifier.h:19
TrajectoryMeasurement.h
MuonTransientTrackingRecHit::MuonRecHitContainer
std::vector< MuonRecHitPointer > MuonRecHitContainer
Definition:
MuonTransientTrackingRecHit.h:26
TransientTrackingRecHit.h
SegmentsTrackAssociator
Definition:
SegmentsTrackAssociator.h:39
SegmentsTrackAssociator::dtSegmentsToken
edm::EDGetTokenT< DTRecSegment4DCollection > dtSegmentsToken
Definition:
SegmentsTrackAssociator.h:63
MuonTransientTrackingRecHit.h
TransientTrack.h
SegmentsTrackAssociator::theDTSegmentLabel
edm::InputTag theDTSegmentLabel
Definition:
SegmentsTrackAssociator.h:59
SegmentsTrackAssociator::SegmentsTrackAssociator
SegmentsTrackAssociator(const edm::ParameterSet &, edm::ConsumesCollector &iC)
Constructor.
Definition:
SegmentsTrackAssociator.cc:37
MakerMacros.h
Track.h
TrackFwd.h
reco::Track
Definition:
Track.h:27
SegmentsTrackAssociator::numRecHitCSC
int numRecHitCSC
Definition:
SegmentsTrackAssociator.h:56
SegmentsTrackAssociator::metname
std::string metname
Definition:
SegmentsTrackAssociator.h:66
Event
SegmentsTrackAssociator::theCSCSegmentLabel
edm::InputTag theCSCSegmentLabel
Definition:
SegmentsTrackAssociator.h:60
SegmentsTrackAssociator::associate
MuonTransientTrackingRecHit::MuonRecHitContainer associate(const edm::Event &, const edm::EventSetup &, const reco::Track &)
Get the analysis.
Definition:
SegmentsTrackAssociator.cc:53
edm::ParameterSet
Definition:
ParameterSet.h:47
Event.h
ParameterSet
Definition:
Functions.h:16
edm::EventSetup
Definition:
EventSetup.h:58
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
InputTag.h
Frameworkfwd.h
DetLayer.h
SegmentsTrackAssociator::cscSegmentsToken
edm::EDGetTokenT< CSCSegmentCollection > cscSegmentsToken
Definition:
SegmentsTrackAssociator.h:64
ConsumesCollector.h
EventSetup
ParameterSet.h
edm::Event
Definition:
Event.h:73
SegmentsTrackAssociator::theSegmentContainerName
edm::InputTag theSegmentContainerName
Definition:
SegmentsTrackAssociator.h:61
edm::InputTag
Definition:
InputTag.h:15
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
DTRecSegment4DCollection.h
CSCSegmentCollection.h
Generated for CMSSW Reference Manual by
1.8.16