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