Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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: UserCode/luthra/MuonTrackSelector/src/MuonTrackSelector.cc
4
//
5
#ifndef MCTruth_TrackerMuonHitExtractor_h
6
#define MCTruth_TrackerMuonHitExtractor_h
7
8
#include <memory>
9
#include "
FWCore/Framework/interface/Event.h
"
10
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
11
#include "
DataFormats/MuonReco/interface/MuonFwd.h
"
12
#include "
DataFormats/MuonReco/interface/Muon.h
"
13
#include "
DataFormats/CSCRecHit/interface/CSCSegmentCollection.h
"
14
#include "
DataFormats/DTRecHit/interface/DTRecSegment4DCollection.h
"
15
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
16
17
class
TrackerMuonHitExtractor
{
18
public
:
19
explicit
TrackerMuonHitExtractor
(
const
edm::ParameterSet
&,
edm::ConsumesCollector
&& ic);
20
explicit
TrackerMuonHitExtractor
(
const
edm::ParameterSet
& );
21
~TrackerMuonHitExtractor
();
22
23
void
init
(
const
edm::Event
&,
const
edm::EventSetup
&);
24
std::vector<const TrackingRecHit *>
getMuonHits
(
const
reco::Muon
&
mu
)
const
;
25
private
:
26
edm::Handle<DTRecSegment4DCollection>
dtSegmentCollectionH_
;
27
edm::Handle<CSCSegmentCollection>
cscSegmentCollectionH_
;
28
29
edm::EDGetTokenT<DTRecSegment4DCollection>
inputDTRecSegment4DToken_
;
30
edm::EDGetTokenT<CSCSegmentCollection>
inputCSCSegmentToken_
;
31
edm::InputTag
inputDTRecSegment4DCollection_
;
32
edm::InputTag
inputCSCSegmentCollection_
;
33
34
};
35
36
#endif
TrackerMuonHitExtractor::inputDTRecSegment4DCollection_
edm::InputTag inputDTRecSegment4DCollection_
Definition:
TrackerMuonHitExtractor.h:31
TrackerMuonHitExtractor::getMuonHits
std::vector< const TrackingRecHit * > getMuonHits(const reco::Muon &mu) const
Definition:
TrackerMuonHitExtractor.cc:102
TrackerMuonHitExtractor::inputCSCSegmentCollection_
edm::InputTag inputCSCSegmentCollection_
Definition:
TrackerMuonHitExtractor.h:32
Event.h
edm::Handle< DTRecSegment4DCollection >
TrackerMuonHitExtractor::cscSegmentCollectionH_
edm::Handle< CSCSegmentCollection > cscSegmentCollectionH_
Definition:
TrackerMuonHitExtractor.h:27
edm::EDGetTokenT< DTRecSegment4DCollection >
MuonFwd.h
ParameterSet.h
edm::EventSetup
Definition:
EventSetup.h:45
RPCpg::mu
const int mu
Definition:
Constants.h:22
Muon.h
reco::Muon
Definition:
Muon.h:27
TrackerMuonHitExtractor
Definition:
TrackerMuonHitExtractor.h:17
TrackerMuonHitExtractor::init
void init(const edm::Event &, const edm::EventSetup &)
Definition:
TrackerMuonHitExtractor.cc:33
TrackerMuonHitExtractor::dtSegmentCollectionH_
edm::Handle< DTRecSegment4DCollection > dtSegmentCollectionH_
Definition:
TrackerMuonHitExtractor.h:26
CSCSegmentCollection.h
TrackerMuonHitExtractor::inputDTRecSegment4DToken_
edm::EDGetTokenT< DTRecSegment4DCollection > inputDTRecSegment4DToken_
Definition:
TrackerMuonHitExtractor.h:29
TrackerMuonHitExtractor::TrackerMuonHitExtractor
TrackerMuonHitExtractor(const edm::ParameterSet &, edm::ConsumesCollector &&ic)
Definition:
TrackerMuonHitExtractor.cc:15
edm::InputTag
Definition:
InputTag.h:18
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:64
TrackerMuonHitExtractor::inputCSCSegmentToken_
edm::EDGetTokenT< CSCSegmentCollection > inputCSCSegmentToken_
Definition:
TrackerMuonHitExtractor.h:30
ConsumesCollector.h
TrackerMuonHitExtractor::~TrackerMuonHitExtractor
~TrackerMuonHitExtractor()
Definition:
TrackerMuonHitExtractor.cc:30
DTRecSegment4DCollection.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:38
Generated for CMSSW Reference Manual by
1.8.5