CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
PreMixingHGCalWorker Class Reference
Inheritance diagram for PreMixingHGCalWorker:
PreMixingWorker

Public Member Functions

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

Private Attributes

HGCDigitizer digitizer_
 
edm::InputTag pileupInputTag_
 
edm::EDGetTokenT< PHGCSimAccumulatorsignalToken_
 

Detailed Description

Definition at line 19 of file PreMixingHGCalWorker.cc.

Constructor & Destructor Documentation

◆ PreMixingHGCalWorker() [1/2]

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

◆ ~PreMixingHGCalWorker()

PreMixingHGCalWorker::~PreMixingHGCalWorker ( )
overridedefault

◆ PreMixingHGCalWorker() [2/2]

PreMixingHGCalWorker::PreMixingHGCalWorker ( const PreMixingHGCalWorker )
delete

Member Function Documentation

◆ addPileups()

void PreMixingHGCalWorker::addPileups ( const PileUpEventPrincipal pep,
const edm::EventSetup ES 
)
overridevirtual

◆ addSignals()

void PreMixingHGCalWorker::addSignals ( const edm::Event e,
const edm::EventSetup ES 
)
overridevirtual

◆ beginRun()

void PreMixingHGCalWorker::beginRun ( const edm::Run run,
const edm::EventSetup ES 
)
overridevirtual

Reimplemented from PreMixingWorker.

Definition at line 50 of file PreMixingHGCalWorker.cc.

50 { digitizer_.beginRun(ES); }

References HGCDigitizer::beginRun(), and digitizer_.

◆ endRun()

void PreMixingHGCalWorker::endRun ( )
overridevirtual

Reimplemented from PreMixingWorker.

Definition at line 52 of file PreMixingHGCalWorker.cc.

52 { digitizer_.endRun(); }

References digitizer_, and HGCDigitizer::endRun().

◆ initializeEvent()

void PreMixingHGCalWorker::initializeEvent ( const edm::Event e,
const edm::EventSetup ES 
)
inlineoverridevirtual

Implements PreMixingWorker.

Definition at line 29 of file PreMixingHGCalWorker.cc.

29 {}

◆ operator=()

PreMixingHGCalWorker& PreMixingHGCalWorker::operator= ( const PreMixingHGCalWorker )
delete

◆ put()

void PreMixingHGCalWorker::put ( edm::Event e,
const edm::EventSetup ES,
std::vector< PileupSummaryInfo > const &  ps,
int  bs 
)
overridevirtual

Member Data Documentation

◆ digitizer_

HGCDigitizer PreMixingHGCalWorker::digitizer_
private

◆ pileupInputTag_

edm::InputTag PreMixingHGCalWorker::pileupInputTag_
private

Definition at line 36 of file PreMixingHGCalWorker.cc.

Referenced by addPileups().

◆ signalToken_

edm::EDGetTokenT<PHGCSimAccumulator> PreMixingHGCalWorker::signalToken_
private

Definition at line 35 of file PreMixingHGCalWorker.cc.

Referenced by addSignals().

PHGCSimAccumulator
Definition: PHGCSimAccumulator.h:8
PreMixingHGCalWorker::pileupInputTag_
edm::InputTag pileupInputTag_
Definition: PreMixingHGCalWorker.cc:36
edm::RandomNumberGenerator::getEngine
virtual CLHEP::HepRandomEngine & getEngine(StreamID const &)=0
Use this engine in event methods.
HGCDigitizer::digiCollection
std::string digiCollection()
Definition: HGCDigitizer.h:85
patZpeak.handle
handle
Definition: patZpeak.py:23
PreMixingHGCalWorker::digitizer_
HGCDigitizer digitizer_
Definition: PreMixingHGCalWorker.cc:38
HGCDigitizer::endRun
void endRun()
Definition: HGCDigitizer.cc:789
edm::SortedCollection
Definition: SortedCollection.h:49
HGCDigitizer::beginRun
void beginRun(const edm::EventSetup &es)
actions at the start/end of run
Definition: HGCDigitizer.cc:750
edm::Handle
Definition: AssociativeIterator.h:50
HGCDigitizer::accumulate_forPreMix
void accumulate_forPreMix(edm::Event const &e, edm::EventSetup const &c, CLHEP::HepRandomEngine *hre)
Definition: HGCDigitizer.cc:415
edm::ConsumesCollector::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition: ConsumesCollector.h:49
HGCDigitizer::finalizeEvent
void finalizeEvent(edm::Event &e, edm::EventSetup const &c, CLHEP::HepRandomEngine *hre)
Definition: HGCDigitizer.cc:339
PreMixingHGCalWorker::signalToken_
edm::EDGetTokenT< PHGCSimAccumulator > signalToken_
Definition: PreMixingHGCalWorker.cc:35
edm::Service< edm::RandomNumberGenerator >
edm::ProducesCollector::produces
ProductRegistryHelper::BranchAliasSetterT< ProductType > produces()
Definition: ProducesCollector.h:52
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
PileUpEventPrincipal::getByLabel
bool getByLabel(edm::InputTag const &tag, edm::Handle< T > &result) const
Definition: PileUpEventPrincipal.h:33
edm::InputTag
Definition: InputTag.h:15
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37