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 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 beginRun (edm::Run const &iRun, edm::EventSetup const &iSetup)
 
virtual void endRun ()
 
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

◆ initializeEvent()

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

Implements PreMixingWorker.

Definition at line 48 of file PreMixingHGCalWorker.cc.

48  {
50 }

References digitizer_, MillePedeFileConverter_cfg::e, and HGCDigitizer::initializeEvent().

◆ 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 34 of file PreMixingHGCalWorker.cc.

Referenced by addPileups().

◆ signalToken_

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

Definition at line 33 of file PreMixingHGCalWorker.cc.

Referenced by addSignals().

PHGCSimAccumulator
Definition: PHGCSimAccumulator.h:8
PreMixingHGCalWorker::pileupInputTag_
edm::InputTag pileupInputTag_
Definition: PreMixingHGCalWorker.cc:34
edm::RandomNumberGenerator::getEngine
virtual CLHEP::HepRandomEngine & getEngine(StreamID const &)=0
Use this engine in event methods.
HGCDigitizer::digiCollection
std::string digiCollection()
Definition: HGCDigitizer.h:76
patZpeak.handle
handle
Definition: patZpeak.py:23
PreMixingHGCalWorker::digitizer_
HGCDigitizer digitizer_
Definition: PreMixingHGCalWorker.cc:36
edm::SortedCollection
Definition: SortedCollection.h:49
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:343
edm::ConsumesCollector::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition: ConsumesCollector.h:55
HGCDigitizer::finalizeEvent
void finalizeEvent(edm::Event &e, edm::EventSetup const &c, CLHEP::HepRandomEngine *hre)
Definition: HGCDigitizer.cc:299
PreMixingHGCalWorker::signalToken_
edm::EDGetTokenT< PHGCSimAccumulator > signalToken_
Definition: PreMixingHGCalWorker.cc:33
edm::Service< edm::RandomNumberGenerator >
edm::ProducesCollector::produces
ProductRegistryHelper::BranchAliasSetterT< ProductType > produces()
Definition: ProducesCollector.h:52
HGCDigitizer::initializeEvent
void initializeEvent(edm::Event const &e, edm::EventSetup const &c)
actions at the start/end of event
Definition: HGCDigitizer.cc:269
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
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