46 using SignalMap = std::map<unsigned int, std::map<int, float>>;
87 for(
const auto& detset: digis) {
89 for(
const auto& digi: detset) {
92 auto& acc = accDet[digi.channel()];
void addPileups(PileUpEventPrincipal const &pep, edm::EventSetup const &es) override
void put(edm::Event &e, edm::EventSetup const &iSetup, std::vector< PileupSummaryInfo > const &ps, int bs) override
void accumulate(const edm::DetSetVector< PixelDigi > &digis)
void finalizeEvent(edm::Event &e, edm::EventSetup const &c) override
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void initializeEvent(edm::Event const &e, edm::EventSetup const &c) override
void initializeEvent(edm::Event const &e, edm::EventSetup const &es) override
edm::InputTag pixelPileupLabel_
void loadAccumulator(const std::map< unsigned int, std::map< int, float > > &accumulator)
std::map< unsigned int, std::map< int, float >> SignalMap
edm::InputTag trackerPileupLabel_
void beginLuminosityBlock(edm::LuminosityBlock const &lumi, edm::EventSetup const &iSetup) override
cms::Phase2TrackerDigitizer digitizer_
~PreMixingPhase2TrackerWorker() override=default
bool getByLabel(edm::InputTag const &tag, edm::Handle< T > &result) const
PreMixingPhase2TrackerWorker(const edm::ParameterSet &ps, edm::ProducerBase &producer, edm::ConsumesCollector &&iC)
edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > pixelSignalToken_
edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > trackerSignalToken_
void addSignals(edm::Event const &e, edm::EventSetup const &es) override
#define DEFINE_PREMIXING_WORKER(TYPE)
void beginLuminosityBlock(edm::LuminosityBlock const &lumi, edm::EventSetup const &es) override