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