Public Member Functions | |
void | addPileups (PileUpEventPrincipal const &pep, edm::EventSetup const &es) override |
void | addSignals (edm::Event const &e, edm::EventSetup const &es) override |
void | beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &es) override |
void | initializeEvent (edm::Event const &e, edm::EventSetup const &es) override |
PreMixingPhase2TrackerWorker (const edm::ParameterSet &ps, edm::ProducesCollector, edm::ConsumesCollector &&iC) | |
void | put (edm::Event &e, edm::EventSetup const &iSetup, std::vector< PileupSummaryInfo > const &ps, int bs) override |
~PreMixingPhase2TrackerWorker () override=default | |
Public Member Functions inherited from PreMixingWorker | |
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 Types | |
using | SignalMap = std::map< uint32_t, std::map< int, float >> |
Private Member Functions | |
void | accumulate (const edm::DetSetVector< PixelDigi > &digis, const float electronsPerADC) |
Definition at line 20 of file PreMixingPhase2TrackerWorker.cc.
|
private |
Definition at line 46 of file PreMixingPhase2TrackerWorker.cc.
PreMixingPhase2TrackerWorker::PreMixingPhase2TrackerWorker | ( | const edm::ParameterSet & | ps, |
edm::ProducesCollector | producesCollector, | ||
edm::ConsumesCollector && | iC | ||
) |
Definition at line 50 of file PreMixingPhase2TrackerWorker.cc.
|
overridedefault |
|
private |
Definition at line 87 of file PreMixingPhase2TrackerWorker.cc.
References accumulator_.
Referenced by addPileups(), and addSignals().
|
overridevirtual |
Implements PreMixingWorker.
Definition at line 78 of file PreMixingPhase2TrackerWorker.cc.
References accumulate(), PileUpEventPrincipal::getByLabel(), pixelElectronPerAdc_, pixelPileupLabel_, trackerElectronPerAdc_, and trackerPileupLabel_.
|
overridevirtual |
Implements PreMixingWorker.
Definition at line 69 of file PreMixingPhase2TrackerWorker.cc.
References accumulate(), edm::Event::getByToken(), pixelElectronPerAdc_, pixelSignalToken_, trackerElectronPerAdc_, and trackerSignalToken_.
|
overridevirtual |
Reimplemented from PreMixingWorker.
Definition at line 61 of file PreMixingPhase2TrackerWorker.cc.
References DigiAccumulatorMixMod::beginLuminosityBlock(), and digitizer_.
|
overridevirtual |
Implements PreMixingWorker.
Definition at line 65 of file PreMixingPhase2TrackerWorker.cc.
References digitizer_, and cms::Phase2TrackerDigitizer::initializeEvent().
|
overridevirtual |
Implements PreMixingWorker.
Definition at line 99 of file PreMixingPhase2TrackerWorker.cc.
References accumulator_, digitizer_, cms::Phase2TrackerDigitizer::finalizeEvent(), and cms::Phase2TrackerDigitizer::loadAccumulator().
|
private |
Definition at line 47 of file PreMixingPhase2TrackerWorker.cc.
Referenced by accumulate(), and put().
|
private |
Definition at line 35 of file PreMixingPhase2TrackerWorker.cc.
Referenced by beginLuminosityBlock(), initializeEvent(), and put().
|
private |
Definition at line 41 of file PreMixingPhase2TrackerWorker.cc.
Referenced by addPileups(), and addSignals().
|
private |
Definition at line 39 of file PreMixingPhase2TrackerWorker.cc.
Referenced by addPileups().
|
private |
Definition at line 37 of file PreMixingPhase2TrackerWorker.cc.
Referenced by addSignals().
|
private |
Definition at line 42 of file PreMixingPhase2TrackerWorker.cc.
Referenced by addPileups(), and addSignals().
|
private |
Definition at line 40 of file PreMixingPhase2TrackerWorker.cc.
Referenced by addPileups().
|
private |
Definition at line 38 of file PreMixingPhase2TrackerWorker.cc.
Referenced by addSignals().