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 "
SimGeneral/MixingModule/interface/DigiAccumulatorMixMod.h
"
5
#include "
SimFastTiming/FastTimingCommon/interface/FTLDigitizerBase.h
"
6
7
#include <memory>
8
#include <vector>
9
10
namespace
edm
{
11
class
ConsumesCollector;
12
class
ProducerBase;
13
class
ParameterSet
;
14
class
StreamID;
15
}
16
17
namespace
CLHEP
{
18
class
HepRandomEngine;
19
}
20
21
class
FTLDigiProducer
:
public
DigiAccumulatorMixMod
{
22
public
:
23
FTLDigiProducer
(
edm::ParameterSet
const
&
pset
,
edm::ProducerBase
& mixMod,
edm::ConsumesCollector
& iC);
24
FTLDigiProducer
(
edm::ParameterSet
const
& pset,
edm::ConsumesCollector
& iC)
25
{
26
throw
cms::Exception
(
"DeprecatedConstructor"
) <<
"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
private
:
37
//the digitizer
38
std::vector<std::unique_ptr<FTLDigitizerBase> >
theDigitizers_
;
39
CLHEP::HepRandomEngine* randomEngine_ =
nullptr
;
40
};
41
42
#include "
FWCore/Framework/interface/MakerMacros.h
"
43
#include "
SimGeneral/MixingModule/interface/DigiAccumulatorMixModFactory.h
"
44
DEFINE_DIGI_ACCUMULATOR
(
FTLDigiProducer
);
45
46
#endif
Exception
Definition:
hltDiff.cc:292
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
DigiAccumulatorMixMod
Definition:
DigiAccumulatorMixMod.h:42
CLHEP
Definition:
CocoaGlobals.h:27
FTLDigiProducer
Definition:
FTLDigiProducer.h:21
DigiAccumulatorMixModFactory.h
edm::EventSetup
Definition:
EventSetup.h:52
DigiAccumulatorMixMod.h
FTLDigiProducer::theDigitizers_
std::vector< std::unique_ptr< FTLDigitizerBase > > theDigitizers_
Definition:
FTLDigiProducer.h:38
PileUpEventPrincipal
Definition:
PileUpEventPrincipal.h:19
edm
HLT enums.
Definition:
AlignableModifier.h:17
DEFINE_DIGI_ACCUMULATOR
#define DEFINE_DIGI_ACCUMULATOR(type)
Definition:
DigiAccumulatorMixModFactory.h:30
edm::ProducerBase
Definition:
ProducerBase.h:59
edm::ParameterSet
Definition:
ParameterSet.h:36
edm::Event
Definition:
Event.h:70
Ecal2004TBTDCRanges_v1_cff.endRun
endRun
Definition:
Ecal2004TBTDCRanges_v1_cff.py:4
edm::Run
Definition:
Run.h:44
edm::ConsumesCollector
Definition:
ConsumesCollector.h:39
FTLDigitizerBase.h
Generated for CMSSW Reference Manual by
1.8.11