SimCalorimetry
HGCalSimProducers
plugins
HGCDigiProducer.h
Go to the documentation of this file.
1
#ifndef SimCalorimetry_HGCSimProducers_HGCDigiProducer_h
2
#define SimCalorimetry_HGCSimProducers_HGCDigiProducer_h
3
4
#include "
SimGeneral/MixingModule/interface/DigiAccumulatorMixMod.h
"
5
#include "
SimCalorimetry/HGCalSimProducers/interface/HGCDigitizer.h
"
6
#include "
FWCore/Framework/interface/ProducesCollector.h
"
7
8
#include <vector>
9
10
namespace
edm
{
11
class
ConsumesCollector;
12
namespace
stream
{
13
class
EDProducerBase
;
14
}
15
class
ParameterSet
;
16
class
StreamID;
17
}
// namespace edm
18
19
namespace
CLHEP
{
20
class
HepRandomEngine;
21
}
22
23
class
HGCDigiProducer
:
public
DigiAccumulatorMixMod
{
24
public
:
25
HGCDigiProducer
(
edm::ParameterSet
const
&
pset
,
edm::ProducesCollector
,
edm::ConsumesCollector
& iC);
26
HGCDigiProducer
(
edm::ParameterSet
const
&
pset
,
edm::ConsumesCollector
& iC);
27
28
void
initializeEvent
(
edm::Event
const
&,
edm::EventSetup
const
&)
override
;
29
void
finalizeEvent
(
edm::Event
&,
edm::EventSetup
const
&)
override
;
30
void
accumulate
(
edm::Event
const
&,
edm::EventSetup
const
&)
override
;
31
void
accumulate
(
PileUpEventPrincipal
const
&,
edm::EventSetup
const
&,
edm::StreamID
const
&)
override
;
32
~HGCDigiProducer
()
override
=
default
;
33
34
private
:
35
//the digitizer
36
bool
premixStage1_
,
premixStage2_
;
37
HGCDigitizer
theDigitizer_
;
38
CLHEP::HepRandomEngine*
randomEngine_
=
nullptr
;
39
};
40
41
#endif
edm::StreamID
Definition:
StreamID.h:30
HGCDigiProducer::accumulate
void accumulate(edm::Event const &, edm::EventSetup const &) override
Definition:
HGCDigiProducer.cc:40
edm
HLT enums.
Definition:
AlignableModifier.h:19
cms::cuda::stream
uint32_t const T *__restrict__ const uint32_t *__restrict__ int32_t int Histo::index_type cudaStream_t stream
Definition:
HistoContainer.h:51
HGCDigiProducer::finalizeEvent
void finalizeEvent(edm::Event &, edm::EventSetup const &) override
Definition:
HGCDigiProducer.cc:34
HGCDigiProducer
Definition:
HGCDigiProducer.h:23
PileUpEventPrincipal
Definition:
PileUpEventPrincipal.h:19
ProducesCollector.h
HGCDigiProducer::HGCDigiProducer
HGCDigiProducer(edm::ParameterSet const &pset, edm::ProducesCollector, edm::ConsumesCollector &iC)
Definition:
HGCDigiProducer.cc:11
HGCDigiProducer::initializeEvent
void initializeEvent(edm::Event const &, edm::EventSetup const &) override
Definition:
HGCDigiProducer.cc:27
DigiAccumulatorMixMod.h
HGCDigiProducer::premixStage1_
bool premixStage1_
Definition:
HGCDigiProducer.h:36
DigiAccumulatorMixMod
Definition:
DigiAccumulatorMixMod.h:41
CLHEP
Definition:
CocoaGlobals.h:27
edm::ParameterSet
Definition:
ParameterSet.h:47
ParameterSet
Definition:
Functions.h:16
EDProducerBase
HGCDigiProducer::theDigitizer_
HGCDigitizer theDigitizer_
Definition:
HGCDigiProducer.h:37
HGCDigiProducer::~HGCDigiProducer
~HGCDigiProducer() override=default
edm::EventSetup
Definition:
EventSetup.h:58
edm::ProducesCollector
Definition:
ProducesCollector.h:43
HGCDigitizer.h
HGCDigitizer
Definition:
HGCDigitizer.h:29
edm::Event
Definition:
Event.h:73
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
HGCDigiProducer::premixStage2_
bool premixStage2_
Definition:
HGCDigiProducer.h:36
HGCDigiProducer::randomEngine_
CLHEP::HepRandomEngine * randomEngine_
Definition:
HGCDigiProducer.h:38
Generated for CMSSW Reference Manual by
1.8.16