CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
PreMixingDigiAccumulatorWorker Class Reference
Inheritance diagram for PreMixingDigiAccumulatorWorker:
PreMixingWorker

Public Member Functions

void addPileups (PileUpEventPrincipal const &pep, edm::EventSetup const &ES) override
 
void addSignals (const edm::Event &e, const edm::EventSetup &ES) override
 
void finalizeBunchCrossing (edm::Event &e, edm::EventSetup const &ES, int bunchCrossing) override
 
void initializeBunchCrossing (edm::Event const &e, edm::EventSetup const &ES, int bunchCrossing) override
 
void initializeEvent (const edm::Event &e, const edm::EventSetup &ES) override
 
 PreMixingDigiAccumulatorWorker (const edm::ParameterSet &ps, edm::ProducesCollector producesCollector, edm::ConsumesCollector &&iC)
 
void put (edm::Event &e, const edm::EventSetup &ES, std::vector< PileupSummaryInfo > const &ps, int bs) override
 
 ~PreMixingDigiAccumulatorWorker () override=default
 
- Public Member Functions inherited from PreMixingWorker
virtual void beginLuminosityBlock (edm::LuminosityBlock const &iLumi, edm::EventSetup const &iSetup)
 
virtual void beginRun (edm::Run const &iRun, edm::EventSetup const &iSetup)
 
virtual void endRun ()
 
 PreMixingWorker ()=default
 
virtual ~PreMixingWorker ()=default
 

Private Attributes

std::unique_ptr
< DigiAccumulatorMixMod
accumulator_
 

Detailed Description

Definition at line 14 of file PreMixingDigiAccumulatorWorker.cc.

Constructor & Destructor Documentation

PreMixingDigiAccumulatorWorker::PreMixingDigiAccumulatorWorker ( const edm::ParameterSet ps,
edm::ProducesCollector  producesCollector,
edm::ConsumesCollector &&  iC 
)
inline

Definition at line 16 of file PreMixingDigiAccumulatorWorker.cc.

20  ps.getParameter<edm::ParameterSet>("accumulator"), producesCollector, iC)) {}
std::unique_ptr< DigiAccumulatorMixMod > accumulator_
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
static DigiAccumulatorMixModFactory const * get()
PreMixingDigiAccumulatorWorker::~PreMixingDigiAccumulatorWorker ( )
overridedefault

Member Function Documentation

void PreMixingDigiAccumulatorWorker::addPileups ( PileUpEventPrincipal const &  pep,
edm::EventSetup const &  ES 
)
inlineoverridevirtual

Implements PreMixingWorker.

Definition at line 35 of file PreMixingDigiAccumulatorWorker.cc.

References accumulator_, PileUpEventPrincipal::principal(), and edm::EventPrincipal::streamID().

35  {
36  accumulator_->accumulate(pep, ES, pep.principal().streamID());
37  }
std::unique_ptr< DigiAccumulatorMixMod > accumulator_
void PreMixingDigiAccumulatorWorker::addSignals ( const edm::Event e,
const edm::EventSetup ES 
)
inlineoverridevirtual

Implements PreMixingWorker.

Definition at line 34 of file PreMixingDigiAccumulatorWorker.cc.

References accumulator_.

34 { accumulator_->accumulate(e, ES); }
std::unique_ptr< DigiAccumulatorMixMod > accumulator_
void PreMixingDigiAccumulatorWorker::finalizeBunchCrossing ( edm::Event e,
edm::EventSetup const &  ES,
int  bunchCrossing 
)
inlineoverridevirtual

Reimplemented from PreMixingWorker.

Definition at line 30 of file PreMixingDigiAccumulatorWorker.cc.

References accumulator_.

30  {
31  accumulator_->finalizeBunchCrossing(e, ES, bunchCrossing);
32  }
std::unique_ptr< DigiAccumulatorMixMod > accumulator_
void PreMixingDigiAccumulatorWorker::initializeBunchCrossing ( edm::Event const &  e,
edm::EventSetup const &  ES,
int  bunchCrossing 
)
inlineoverridevirtual

Reimplemented from PreMixingWorker.

Definition at line 27 of file PreMixingDigiAccumulatorWorker.cc.

References accumulator_.

27  {
28  accumulator_->initializeBunchCrossing(e, ES, bunchCrossing);
29  }
std::unique_ptr< DigiAccumulatorMixMod > accumulator_
void PreMixingDigiAccumulatorWorker::initializeEvent ( const edm::Event e,
const edm::EventSetup ES 
)
inlineoverridevirtual

Implements PreMixingWorker.

Definition at line 23 of file PreMixingDigiAccumulatorWorker.cc.

References accumulator_.

23  {
24  accumulator_->initializeEvent(e, ES);
25  }
std::unique_ptr< DigiAccumulatorMixMod > accumulator_
void PreMixingDigiAccumulatorWorker::put ( edm::Event e,
const edm::EventSetup ES,
std::vector< PileupSummaryInfo > const &  ps,
int  bs 
)
inlineoverridevirtual

Implements PreMixingWorker.

Definition at line 38 of file PreMixingDigiAccumulatorWorker.cc.

References accumulator_.

38  {
39  accumulator_->finalizeEvent(e, ES);
40  }
std::unique_ptr< DigiAccumulatorMixMod > accumulator_

Member Data Documentation

std::unique_ptr<DigiAccumulatorMixMod> PreMixingDigiAccumulatorWorker::accumulator_
private