Main Page
Namespaces
Classes
Package Documentation
SimFastTiming
FastTimingCommon
plugins
FTLDigiProducer.h
Go to the documentation of this file.
1
#ifndef SimFastTiming_FastTimingCommon_FTLDigiProducer_h
2
#define SimFastTiming_FastTimingCommon_FTLDigiProducer_h
3
4
#include "
FWCore/Framework/interface/ProducesCollector.h
"
5
#include "
SimGeneral/MixingModule/interface/DigiAccumulatorMixMod.h
"
6
#include "
SimFastTiming/FastTimingCommon/interface/FTLDigitizerBase.h
"
7
8
#include <memory>
9
#include <vector>
10
11
namespace
edm
{
12
class
ConsumesCollector;
13
class
ParameterSet
;
14
class
StreamID;
15
}
// namespace edm
16
17
namespace
CLHEP
{
18
class
HepRandomEngine;
19
}
20
21
class
FTLDigiProducer
:
public
DigiAccumulatorMixMod
{
22
public
:
23
FTLDigiProducer
(
edm::ParameterSet
const
&
pset
,
edm::ProducesCollector
,
edm::ConsumesCollector
& iC);
24
FTLDigiProducer
(
edm::ParameterSet
const
& pset,
edm::ConsumesCollector
& iC) {
25
throw
cms::Exception
(
"DeprecatedConstructor"
)
26
<<
"Please make sure you're calling this with the threaded mixing module..."
;
27
}
28
29
void
initializeEvent(
edm::Event
const
&,
edm::EventSetup
const
&)
override
;
30
void
finalizeEvent(
edm::Event
&,
edm::EventSetup
const
&)
override
;
31
void
accumulate(
edm::Event
const
&,
edm::EventSetup
const
&)
override
;
32
void
accumulate(
PileUpEventPrincipal
const
&,
edm::EventSetup
const
&,
edm::StreamID
const
&)
override
;
33
void
beginRun(
edm::Run
const
&,
edm::EventSetup
const
&)
override
;
34
void
endRun
(
edm::Run
const
&,
edm::EventSetup
const
&)
override
;
35
~
FTLDigiProducer
()
override
;
36
37
private
:
38
//the digitizer
39
std::vector<std::unique_ptr<FTLDigitizerBase> >
theDigitizers_
;
40
CLHEP::HepRandomEngine* randomEngine_ =
nullptr
;
41
};
42
43
#include "
FWCore/Framework/interface/MakerMacros.h
"
44
#include "
SimGeneral/MixingModule/interface/DigiAccumulatorMixModFactory.h
"
45
DEFINE_DIGI_ACCUMULATOR
(
FTLDigiProducer
);
46
47
#endif
Exception
Definition:
hltDiff.cc:246
ParameterSet
Definition:
Functions.h:16
edm::StreamID
Definition:
StreamID.h:30
MakerMacros.h
FTLDigiProducer::FTLDigiProducer
FTLDigiProducer(edm::ParameterSet const &pset, edm::ConsumesCollector &iC)
Definition:
FTLDigiProducer.h:24
muonDTDigis_cfi.pset
pset
Definition:
muonDTDigis_cfi.py:27
ProducesCollector.h
DigiAccumulatorMixMod
Definition:
DigiAccumulatorMixMod.h:41
CLHEP
Definition:
CocoaGlobals.h:27
FTLDigiProducer
Definition:
FTLDigiProducer.h:21
DigiAccumulatorMixModFactory.h
edm::EventSetup
Definition:
EventSetup.h:57
DigiAccumulatorMixMod.h
FTLDigiProducer::theDigitizers_
std::vector< std::unique_ptr< FTLDigitizerBase > > theDigitizers_
Definition:
FTLDigiProducer.h:39
PileUpEventPrincipal
Definition:
PileUpEventPrincipal.h:19
edm
HLT enums.
Definition:
AlignableModifier.h:19
DEFINE_DIGI_ACCUMULATOR
#define DEFINE_DIGI_ACCUMULATOR(type)
Definition:
DigiAccumulatorMixModFactory.h:31
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::ProducesCollector
Definition:
ProducesCollector.h:43
edm::Event
Definition:
Event.h:72
Ecal2004TBTDCRanges_v1_cff.endRun
endRun
Definition:
Ecal2004TBTDCRanges_v1_cff.py:4
edm::Run
Definition:
Run.h:45
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
FTLDigitizerBase.h
Generated for CMSSW Reference Manual by
1.8.11