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