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