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 21 of file PreMixingPhase2TrackerWorker.cc.
|
private |
Definition at line 47 of file PreMixingPhase2TrackerWorker.cc.
PreMixingPhase2TrackerWorker::PreMixingPhase2TrackerWorker | ( | const edm::ParameterSet & | ps, |
edm::ProducesCollector | producesCollector, | ||
edm::ConsumesCollector && | iC | ||
) |
Definition at line 51 of file PreMixingPhase2TrackerWorker.cc.
|
overridedefault |
|
private |
Definition at line 88 of file PreMixingPhase2TrackerWorker.cc.
References accumulator_.
Referenced by addPileups(), and addSignals().
|
overridevirtual |
Implements PreMixingWorker.
Definition at line 79 of file PreMixingPhase2TrackerWorker.cc.
References accumulate(), PileUpEventPrincipal::getByLabel(), pixelElectronPerAdc_, pixelPileupLabel_, trackerElectronPerAdc_, and trackerPileupLabel_.
|
overridevirtual |
Implements PreMixingWorker.
Definition at line 70 of file PreMixingPhase2TrackerWorker.cc.
References accumulate(), MillePedeFileConverter_cfg::e, pixelElectronPerAdc_, pixelSignalToken_, trackerElectronPerAdc_, and trackerSignalToken_.
|
overridevirtual |
Reimplemented from PreMixingWorker.
Definition at line 62 of file PreMixingPhase2TrackerWorker.cc.
References cms::Phase2TrackerDigitizer::beginLuminosityBlock(), and digitizer_.
|
overridevirtual |
Implements PreMixingWorker.
Definition at line 66 of file PreMixingPhase2TrackerWorker.cc.
References digitizer_, MillePedeFileConverter_cfg::e, and cms::Phase2TrackerDigitizer::initializeEvent().
|
overridevirtual |
Implements PreMixingWorker.
Definition at line 100 of file PreMixingPhase2TrackerWorker.cc.
References accumulator_, digitizer_, MillePedeFileConverter_cfg::e, cms::Phase2TrackerDigitizer::finalizeEvent(), and cms::Phase2TrackerDigitizer::loadAccumulator().
|
private |
Definition at line 48 of file PreMixingPhase2TrackerWorker.cc.
Referenced by accumulate(), and put().
|
private |
Definition at line 36 of file PreMixingPhase2TrackerWorker.cc.
Referenced by beginLuminosityBlock(), initializeEvent(), and put().
|
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().
|
private |
Definition at line 43 of file PreMixingPhase2TrackerWorker.cc.
Referenced by addPileups(), and addSignals().
|
private |
Definition at line 41 of file PreMixingPhase2TrackerWorker.cc.
Referenced by addPileups().
|
private |
Definition at line 39 of file PreMixingPhase2TrackerWorker.cc.
Referenced by addSignals().