src
SimGeneral
TrackingAnalysis
interface
MuonPSimHitSelector.h
Go to the documentation of this file.
1
#ifndef TrackingAnalysis_MuonPSimHitSelector_h
2
#define TrackingAnalysis_MuonPSimHitSelector_h
3
4
#include "
CondFormats/CSCObjects/interface/CSCBadChambers.h
"
5
#include "
CondFormats/DataRecord/interface/CSCBadChambersRcd.h
"
6
7
#include "
SimGeneral/TrackingAnalysis/interface/PSimHitSelector.h
"
8
10
class
MuonPSimHitSelector
:
public
PSimHitSelector
{
11
public
:
13
/* Creates a MuonPSimHitSelector with association given by pset.
14
15
/param[in] pset with the configuration values
16
*/
17
MuonPSimHitSelector
(
edm::ParameterSet
const
&
config
,
edm::ConsumesCollector
&iC)
18
:
PSimHitSelector
(
config
, iC),
cscBadToken_
(iC.
esConsumes
()) {}
19
21
void
select
(
PSimHitCollection
&,
edm::Event
const
&,
edm::EventSetup
const
&)
const override
;
22
23
private
:
24
const
edm::ESGetToken<CSCBadChambers, CSCBadChambersRcd>
cscBadToken_
;
25
};
26
27
#endif
deDxTools::esConsumes
ESGetTokenH3DDVariant esConsumes(std::string const &Record, edm::ConsumesCollector &)
Definition:
DeDxTools.cc:283
MuonPSimHitSelector::MuonPSimHitSelector
MuonPSimHitSelector(edm::ParameterSet const &config, edm::ConsumesCollector &iC)
Constructor by pset.
Definition:
MuonPSimHitSelector.h:17
MuonPSimHitSelector::select
void select(PSimHitCollection &, edm::Event const &, edm::EventSetup const &) const override
Pre-process event information.
Definition:
MuonPSimHitSelector.cc:11
PSimHitSelector.h
config
Definition:
config.py:1
edm::ESGetToken< CSCBadChambers, CSCBadChambersRcd >
PSimHitSelector
PSimHitSelector class.
Definition:
PSimHitSelector.h:16
MuonPSimHitSelector::cscBadToken_
const edm::ESGetToken< CSCBadChambers, CSCBadChambersRcd > cscBadToken_
Definition:
MuonPSimHitSelector.h:24
edm::EventSetup
Definition:
EventSetup.h:56
PSimHitSelector::PSimHitCollection
std::vector< PSimHit > PSimHitCollection
Definition:
PSimHitSelector.h:18
CSCBadChambersRcd.h
edm::ParameterSet
Definition:
ParameterSet.h:47
edm::Event
Definition:
Event.h:73
CSCBadChambers.h
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
MuonPSimHitSelector
MuonPSimHitSelector class.
Definition:
MuonPSimHitSelector.h:10
Generated for CMSSW Reference Manual by
1.8.14