SimMuon
MCTruth
interface
TrackerMuonHitExtractor.h
Go to the documentation of this file.
1
//
2
// modified & integrated by Giovanni Abbiendi
3
// from code by Arun Luthra:
4
// UserCode/luthra/MuonTrackSelector/src/MuonTrackSelector.cc
5
//
6
#ifndef MCTruth_TrackerMuonHitExtractor_h
7
#define MCTruth_TrackerMuonHitExtractor_h
8
9
#include "
DataFormats/CSCRecHit/interface/CSCSegmentCollection.h
"
10
#include "
DataFormats/DTRecHit/interface/DTRecSegment4DCollection.h
"
11
#include "
DataFormats/MuonReco/interface/Muon.h
"
12
#include "
DataFormats/MuonReco/interface/MuonFwd.h
"
13
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
14
#include "
FWCore/Framework/interface/Event.h
"
15
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
16
#include <memory>
17
18
class
TrackerMuonHitExtractor
{
19
public
:
20
explicit
TrackerMuonHitExtractor
(
const
edm::ParameterSet
&,
edm::ConsumesCollector
&&ic);
21
~TrackerMuonHitExtractor
() =
default
;
22
23
void
init
(
const
edm::Event
&);
24
std::vector<const TrackingRecHit *>
getMuonHits
(
const
reco::Muon
&
mu
)
const
;
25
26
private
:
27
const
edm::EDGetTokenT<DTRecSegment4DCollection>
inputDTRecSegment4DToken_
;
28
const
edm::EDGetTokenT<CSCSegmentCollection>
inputCSCSegmentToken_
;
29
};
30
31
#endif
TrackerMuonHitExtractor::inputDTRecSegment4DToken_
const edm::EDGetTokenT< DTRecSegment4DCollection > inputDTRecSegment4DToken_
Definition:
TrackerMuonHitExtractor.h:27
Event.h
amptDefaultParameters_cff.mu
mu
Definition:
amptDefaultParameters_cff.py:16
edm::EDGetTokenT< DTRecSegment4DCollection >
MuonFwd.h
TrackerMuonHitExtractor::getMuonHits
std::vector< const TrackingRecHit * > getMuonHits(const reco::Muon &mu) const
Definition:
TrackerMuonHitExtractor.cc:92
ParameterSet.h
TrackerMuonHitExtractor::~TrackerMuonHitExtractor
~TrackerMuonHitExtractor()=default
Muon.h
reco::Muon
Definition:
Muon.h:27
TrackerMuonHitExtractor::inputCSCSegmentToken_
const edm::EDGetTokenT< CSCSegmentCollection > inputCSCSegmentToken_
Definition:
TrackerMuonHitExtractor.h:28
TrackerMuonHitExtractor
Definition:
TrackerMuonHitExtractor.h:18
CSCSegmentCollection.h
TrackerMuonHitExtractor::init
void init(const edm::Event &)
Definition:
TrackerMuonHitExtractor.cc:22
TrackerMuonHitExtractor::TrackerMuonHitExtractor
TrackerMuonHitExtractor(const edm::ParameterSet &, edm::ConsumesCollector &&ic)
Definition:
TrackerMuonHitExtractor.cc:16
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::Event
Definition:
Event.h:73
ConsumesCollector.h
DTRecSegment4DCollection.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
Generated for CMSSW Reference Manual by
1.8.14