SimCalorimetry
HGCalSimProducers
plugins
HGCHEfrontDigitizer.cc
Go to the documentation of this file.
1
#include "
SimCalorimetry/HGCalSimProducers/interface/HGCDigitizerBase.h
"
2
#include "
DataFormats/HGCDigi/interface/HGCDigiCollections.h
"
3
#include "
SimCalorimetry/HGCalSimProducers/interface/HGCDigitizerPluginFactory.h
"
4
5
using namespace
hgc_digi
;
6
7
class
HGCHEfrontDigitizer
:
public
HGCDigitizerBase
{
8
public
:
9
HGCHEfrontDigitizer
(
const
edm::ParameterSet
& ps);
10
void
runDigitizer(std::unique_ptr<HGCalDigiCollection>&
digiColl
,
11
hgc::HGCSimHitDataAccumulator
& simData,
12
const
CaloSubdetectorGeometry
* theGeom,
13
const
std::unordered_set<DetId>& validIds,
14
CLHEP::HepRandomEngine* engine)
override
;
15
~
HGCHEfrontDigitizer
()
override
;
16
17
private
:
18
};
19
20
HGCHEfrontDigitizer::HGCHEfrontDigitizer
(
const
edm::ParameterSet
& ps) :
HGCDigitizerBase
(ps) {
21
this->
det_
=
DetId::HGCalHSi
;
22
}
23
24
//
25
void
HGCHEfrontDigitizer::runDigitizer
(std::unique_ptr<HGCalDigiCollection>&
digiColl
,
26
HGCSimHitDataAccumulator
& simData,
27
const
CaloSubdetectorGeometry
* theGeom,
28
const
std::unordered_set<DetId>& validIds,
29
CLHEP::HepRandomEngine* engine) {}
30
31
//
32
HGCHEfrontDigitizer::~HGCHEfrontDigitizer
() {}
33
DEFINE_EDM_PLUGIN
(
HGCDigitizerPluginFactory
,
HGCHEfrontDigitizer
,
"HGCHEfrontDigitizer"
);
DigiToRawDM_cff.digiColl
digiColl
Definition:
DigiToRawDM_cff.py:32
HGCHEfrontDigitizer
Definition:
HGCHEfrontDigitizer.cc:7
HGCHEfrontDigitizer::~HGCHEfrontDigitizer
~HGCHEfrontDigitizer() override
Definition:
HGCHEfrontDigitizer.cc:32
HGCHEfrontDigitizer::runDigitizer
void runDigitizer(std::unique_ptr< HGCalDigiCollection > &digiColl, hgc::HGCSimHitDataAccumulator &simData, const CaloSubdetectorGeometry *theGeom, const std::unordered_set< DetId > &validIds, CLHEP::HepRandomEngine *engine) override
Definition:
HGCHEfrontDigitizer.cc:25
HGCDigitizerBase::det_
DetId::Detector det_
Definition:
HGCDigitizerBase.h:156
hgc_digi
Definition:
HGCDigitizerTypes.h:10
DetId::HGCalHSi
Definition:
DetId.h:33
DEFINE_EDM_PLUGIN
#define DEFINE_EDM_PLUGIN(factory, type, name)
Definition:
PluginFactory.h:124
HGCDigitizerPluginFactory.h
edm::ParameterSet
Definition:
ParameterSet.h:47
edmplugin::PluginFactory
Definition:
PluginFactory.h:34
HGCDigiCollections.h
HGCDigitizerBase.h
hgc_digi::HGCSimHitDataAccumulator
std::unordered_map< uint32_t, HGCCellInfo > HGCSimHitDataAccumulator
Definition:
HGCDigitizerTypes.h:38
HGCHEfrontDigitizer::HGCHEfrontDigitizer
HGCHEfrontDigitizer(const edm::ParameterSet &ps)
Definition:
HGCHEfrontDigitizer.cc:20
HGCDigitizerBase
Definition:
HGCDigitizerBase.h:54
CaloSubdetectorGeometry
Definition:
CaloSubdetectorGeometry.h:22
Generated for CMSSW Reference Manual by
1.8.16