Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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
16
class
TrackerMuonHitExtractor
{
17
public
:
18
explicit
TrackerMuonHitExtractor
(
const
edm::ParameterSet
&);
19
~TrackerMuonHitExtractor
();
20
21
void
init
(
const
edm::Event
&,
const
edm::EventSetup
&);
22
std::vector<const TrackingRecHit *>
getMuonHits
(
const
reco::Muon
&
mu
)
const
;
23
private
:
24
edm::Handle<DTRecSegment4DCollection>
dtSegmentCollectionH_
;
25
edm::Handle<CSCSegmentCollection>
cscSegmentCollectionH_
;
26
27
edm::InputTag
inputDTRecSegment4DCollection_
;
28
edm::InputTag
inputCSCSegmentCollection_
;
29
};
30
31
#endif
TrackerMuonHitExtractor::inputDTRecSegment4DCollection_
edm::InputTag inputDTRecSegment4DCollection_
Definition:
TrackerMuonHitExtractor.h:27
TrackerMuonHitExtractor::getMuonHits
std::vector< const TrackingRecHit * > getMuonHits(const reco::Muon &mu) const
Definition:
TrackerMuonHitExtractor.cc:93
TrackerMuonHitExtractor::inputCSCSegmentCollection_
edm::InputTag inputCSCSegmentCollection_
Definition:
TrackerMuonHitExtractor.h:28
Event.h
edm::Handle< DTRecSegment4DCollection >
TrackerMuonHitExtractor::cscSegmentCollectionH_
edm::Handle< CSCSegmentCollection > cscSegmentCollectionH_
Definition:
TrackerMuonHitExtractor.h:25
MuonFwd.h
TrackerMuonHitExtractor::TrackerMuonHitExtractor
TrackerMuonHitExtractor(const edm::ParameterSet &)
Definition:
TrackerMuonHitExtractor.cc:15
ParameterSet.h
edm::EventSetup
Definition:
EventSetup.h:44
RPCpg::mu
const int mu
Definition:
Constants.h:22
Muon.h
reco::Muon
Definition:
Muon.h:27
TrackerMuonHitExtractor
Definition:
TrackerMuonHitExtractor.h:16
TrackerMuonHitExtractor::init
void init(const edm::Event &, const edm::EventSetup &)
Definition:
TrackerMuonHitExtractor.cc:24
TrackerMuonHitExtractor::dtSegmentCollectionH_
edm::Handle< DTRecSegment4DCollection > dtSegmentCollectionH_
Definition:
TrackerMuonHitExtractor.h:24
CSCSegmentCollection.h
edm::InputTag
Definition:
InputTag.h:17
edm::ParameterSet
Definition:
ParameterSet.h:35
edm::Event
Definition:
Event.h:62
TrackerMuonHitExtractor::~TrackerMuonHitExtractor
~TrackerMuonHitExtractor()
Definition:
TrackerMuonHitExtractor.cc:21
DTRecSegment4DCollection.h
Generated for CMSSW Reference Manual by
1.8.5