Public Member Functions | |
void | addPileups (PileUpEventPrincipal const &, edm::EventSetup const &es) override |
void | addSignals (edm::Event const &e, edm::EventSetup const &es) override |
void | initializeEvent (edm::Event const &e, edm::EventSetup const &c) override |
PreMixingSiPixelWorker (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 |
~PreMixingSiPixelWorker () 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 Types | |
typedef int | Amplitude |
typedef std::multimap< int, PixelDigi > | OneDetectorMap |
typedef std::map< uint32_t, OneDetectorMap > | SiGlobalIndex |
typedef std::map< int, Amplitude, std::less< int > > | signal_map_type |
typedef std::map< uint32_t, signal_map_type > | signalMaps |
Private Attributes | |
SiPixelDigitizerAlgorithm | digitizer_ |
bool | firstFinalizeEvent_ = true |
bool | firstInitializeEvent_ = true |
const edm::ESGetToken < TrackerGeometry, TrackerDigiGeometryRecord > | pDDToken_ |
edm::InputTag | pixeldigi_collectionPile_ |
edm::InputTag | pixeldigi_collectionSig_ |
std::string | PixelDigiCollectionDM_ |
edm::EDGetTokenT < edm::DetSetVector< PixelDigi > > | PixelDigiPToken_ |
edm::EDGetTokenT < edm::DetSetVector< PixelDigi > > | PixelDigiToken_ |
SiGlobalIndex | SiHitStorage_ |
const edm::ESGetToken < TrackerTopology, TrackerTopologyRcd > | tTopoToken_ |
Definition at line 40 of file PreMixingSiPixelWorker.cc.
|
private |
Definition at line 65 of file PreMixingSiPixelWorker.cc.
|
private |
Definition at line 70 of file PreMixingSiPixelWorker.cc.
|
private |
Definition at line 71 of file PreMixingSiPixelWorker.cc.
|
private |
Definition at line 66 of file PreMixingSiPixelWorker.cc.
|
private |
Definition at line 67 of file PreMixingSiPixelWorker.cc.
PreMixingSiPixelWorker::PreMixingSiPixelWorker | ( | const edm::ParameterSet & | ps, |
edm::ProducesCollector | producesCollector, | ||
edm::ConsumesCollector && | iC | ||
) |
Definition at line 80 of file PreMixingSiPixelWorker.cc.
References edm::ParameterSet::getParameter(), pixeldigi_collectionPile_, pixeldigi_collectionSig_, PixelDigiCollectionDM_, PixelDigiPToken_, PixelDigiToken_, edm::ProducesCollector::produces(), SiHitStorage_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridedefault |
|
overridevirtual |
Implements PreMixingWorker.
Definition at line 143 of file PreMixingSiPixelWorker.cc.
References SplitLinear::begin, PileUpEventPrincipal::bunchCrossing(), dataset::end, PileUpEventPrincipal::getByLabel(), edm::EventPrincipal::id(), input, edm::HandleBase::isValid(), LogDebug, pixeldigi_collectionPile_, PileUpEventPrincipal::principal(), and SiHitStorage_.
|
overridevirtual |
Implements PreMixingWorker.
Definition at line 112 of file PreMixingSiPixelWorker.cc.
References SplitLinear::begin, dataset::end, edm::Event::getByToken(), edm::EventBase::id(), input, LogDebug, PixelDigiToken_, and SiHitStorage_.
|
overridevirtual |
Implements PreMixingWorker.
Definition at line 104 of file PreMixingSiPixelWorker.cc.
References digitizer_, firstInitializeEvent_, SiPixelDigitizerAlgorithm::init(), and SiPixelDigitizerAlgorithm::initializeEvent().
|
overridevirtual |
Implements PreMixingWorker.
Definition at line 198 of file PreMixingSiPixelWorker.cc.
References gpuClustering::adc, SiPixelDigitizerAlgorithm::calculateInstlumiFactor(), SiPixelDigitizerAlgorithm::chooseScenario(), SiPixelDigitizerAlgorithm::digitize(), digitizer_, Exception, firstFinalizeEvent_, edm::EventSetup::getData(), edm::RandomNumberGenerator::getEngine(), SiPixelDigitizerAlgorithm::init_DynIneffDB(), SiPixelDigitizerAlgorithm::killBadFEDChannels(), eostools::move(), pDDToken_, PixelDigiCollectionDM_, edm::Event::put(), SiPixelDigitizerAlgorithm::setSimAccumulator(), SiHitStorage_, edm::Event::streamID(), and tTopoToken_.
|
private |
Definition at line 60 of file PreMixingSiPixelWorker.cc.
Referenced by initializeEvent(), and put().
|
private |
Definition at line 76 of file PreMixingSiPixelWorker.cc.
Referenced by put().
|
private |
Definition at line 75 of file PreMixingSiPixelWorker.cc.
Referenced by initializeEvent().
|
private |
Definition at line 58 of file PreMixingSiPixelWorker.cc.
Referenced by put().
|
private |
Definition at line 52 of file PreMixingSiPixelWorker.cc.
Referenced by addPileups(), and PreMixingSiPixelWorker().
|
private |
Definition at line 51 of file PreMixingSiPixelWorker.cc.
Referenced by PreMixingSiPixelWorker().
|
private |
Definition at line 53 of file PreMixingSiPixelWorker.cc.
Referenced by PreMixingSiPixelWorker(), and put().
|
private |
Definition at line 56 of file PreMixingSiPixelWorker.cc.
Referenced by PreMixingSiPixelWorker().
|
private |
Definition at line 55 of file PreMixingSiPixelWorker.cc.
Referenced by addSignals(), and PreMixingSiPixelWorker().
|
private |
Definition at line 73 of file PreMixingSiPixelWorker.cc.
Referenced by addPileups(), addSignals(), PreMixingSiPixelWorker(), and put().
|
private |
Definition at line 57 of file PreMixingSiPixelWorker.cc.
Referenced by put().