CMS 3D CMS Logo

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

Public Member Functions

void addPileups (PileUpEventPrincipal const &pep, edm::EventSetup const &iSetup) override
 
void addSignals (edm::Event const &iEvent, edm::EventSetup const &iSetup) override
 
void initializeEvent (edm::Event const &iEvent, edm::EventSetup const &iSetup) override
 
 PreMixingCSCWorker (const edm::ParameterSet &ps, edm::ProducesCollector producesCollector, edm::ConsumesCollector &&iC)
 
void put (edm::Event &iEvent, edm::EventSetup const &iSetup, std::vector< PileupSummaryInfo > const &ps, int bunchSpacing) override
 
 ~PreMixingCSCWorker () 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

PreMixingMuonWorker< CSCComparatorDigiCollectioncomparatorWorker_
 
PreMixingMuonWorker< CSCStripDigiCollectionstripWorker_
 
PreMixingMuonWorker< CSCWireDigiCollectionwireWorker_
 

Detailed Description

Definition at line 103 of file PreMixingCSCWorker.cc.

Constructor & Destructor Documentation

◆ PreMixingCSCWorker()

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

Definition at line 105 of file PreMixingCSCWorker.cc.

106  : stripWorker_(ps.getParameter<edm::ParameterSet>("strip"), producesCollector, iC),
107  wireWorker_(ps.getParameter<edm::ParameterSet>("wire"), producesCollector, iC),
108  comparatorWorker_(ps.getParameter<edm::ParameterSet>("comparator"), producesCollector, iC) {}
T getParameter(std::string const &) const
Definition: ParameterSet.h:307
PreMixingMuonWorker< CSCStripDigiCollection > stripWorker_
PreMixingMuonWorker< CSCWireDigiCollection > wireWorker_
PreMixingMuonWorker< CSCComparatorDigiCollection > comparatorWorker_

◆ ~PreMixingCSCWorker()

PreMixingCSCWorker::~PreMixingCSCWorker ( )
overridedefault

Member Function Documentation

◆ addPileups()

void PreMixingCSCWorker::addPileups ( PileUpEventPrincipal const &  pep,
edm::EventSetup const &  iSetup 
)
inlineoverridevirtual

Implements PreMixingWorker.

Definition at line 119 of file PreMixingCSCWorker.cc.

References PreMixingMuonWorker< DigiCollection >::addPileups(), comparatorWorker_, stripWorker_, and wireWorker_.

119  {
120  stripWorker_.addPileups(pep, iSetup);
121  wireWorker_.addPileups(pep, iSetup);
122  comparatorWorker_.addPileups(pep, iSetup);
123  }
void addPileups(PileUpEventPrincipal const &pep, edm::EventSetup const &iSetup) override
PreMixingMuonWorker< CSCStripDigiCollection > stripWorker_
PreMixingMuonWorker< CSCWireDigiCollection > wireWorker_
PreMixingMuonWorker< CSCComparatorDigiCollection > comparatorWorker_

◆ addSignals()

void PreMixingCSCWorker::addSignals ( edm::Event const &  iEvent,
edm::EventSetup const &  iSetup 
)
inlineoverridevirtual

Implements PreMixingWorker.

Definition at line 113 of file PreMixingCSCWorker.cc.

References PreMixingMuonWorker< DigiCollection >::addSignals(), comparatorWorker_, iEvent, stripWorker_, and wireWorker_.

113  {
114  stripWorker_.addSignals(iEvent, iSetup);
115  wireWorker_.addSignals(iEvent, iSetup);
117  }
int iEvent
Definition: GenABIO.cc:224
PreMixingMuonWorker< CSCStripDigiCollection > stripWorker_
void addSignals(edm::Event const &iEvent, edm::EventSetup const &iSetup) override
PreMixingMuonWorker< CSCWireDigiCollection > wireWorker_
PreMixingMuonWorker< CSCComparatorDigiCollection > comparatorWorker_

◆ initializeEvent()

void PreMixingCSCWorker::initializeEvent ( edm::Event const &  iEvent,
edm::EventSetup const &  iSetup 
)
inlineoverridevirtual

Implements PreMixingWorker.

Definition at line 111 of file PreMixingCSCWorker.cc.

111 {}

◆ put()

void PreMixingCSCWorker::put ( edm::Event iEvent,
edm::EventSetup const &  iSetup,
std::vector< PileupSummaryInfo > const &  ps,
int  bunchSpacing 
)
inlineoverridevirtual

Implements PreMixingWorker.

Definition at line 125 of file PreMixingCSCWorker.cc.

References comparatorWorker_, iEvent, PreMixingMuonWorker< DigiCollection >::put(), stripWorker_, and wireWorker_.

128  {
132  }
void put(edm::Event &iEvent, edm::EventSetup const &iSetup, std::vector< PileupSummaryInfo > const &ps, int bunchSpacing) override
int iEvent
Definition: GenABIO.cc:224
PreMixingMuonWorker< CSCStripDigiCollection > stripWorker_
PreMixingMuonWorker< CSCWireDigiCollection > wireWorker_
PreMixingMuonWorker< CSCComparatorDigiCollection > comparatorWorker_

Member Data Documentation

◆ comparatorWorker_

PreMixingMuonWorker<CSCComparatorDigiCollection> PreMixingCSCWorker::comparatorWorker_
private

Definition at line 137 of file PreMixingCSCWorker.cc.

Referenced by addPileups(), addSignals(), and put().

◆ stripWorker_

PreMixingMuonWorker<CSCStripDigiCollection> PreMixingCSCWorker::stripWorker_
private

Definition at line 135 of file PreMixingCSCWorker.cc.

Referenced by addPileups(), addSignals(), and put().

◆ wireWorker_

PreMixingMuonWorker<CSCWireDigiCollection> PreMixingCSCWorker::wireWorker_
private

Definition at line 136 of file PreMixingCSCWorker.cc.

Referenced by addPileups(), addSignals(), and put().