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 std::string | geometryType_ |
edm::ESHandle< TrackerGeometry > | pDD |
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_ |
Definition at line 41 of file PreMixingSiPixelWorker.cc.
|
private |
Definition at line 66 of file PreMixingSiPixelWorker.cc.
|
private |
Definition at line 71 of file PreMixingSiPixelWorker.cc.
|
private |
Definition at line 72 of file PreMixingSiPixelWorker.cc.
|
private |
Definition at line 67 of file PreMixingSiPixelWorker.cc.
|
private |
Definition at line 68 of file PreMixingSiPixelWorker.cc.
PreMixingSiPixelWorker::PreMixingSiPixelWorker | ( | const edm::ParameterSet & | ps, |
edm::ProducesCollector | producesCollector, | ||
edm::ConsumesCollector && | iC | ||
) |
Definition at line 83 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 145 of file PreMixingSiPixelWorker.cc.
References PileUpEventPrincipal::bunchCrossing(), mps_fire::end, PileUpEventPrincipal::getByLabel(), edm::EventPrincipal::id(), input, edm::HandleBase::isValid(), LogDebug, pixeldigi_collectionPile_, PileUpEventPrincipal::principal(), and SiHitStorage_.
|
overridevirtual |
Implements PreMixingWorker.
Definition at line 114 of file PreMixingSiPixelWorker.cc.
References MillePedeFileConverter_cfg::e, mps_fire::end, input, LogDebug, PixelDigiToken_, and SiHitStorage_.
|
overridevirtual |
Implements PreMixingWorker.
Definition at line 105 of file PreMixingSiPixelWorker.cc.
References digitizer_, firstInitializeEvent_, geometryType_, edm::EventSetup::get(), get, SiPixelDigitizerAlgorithm::init(), SiPixelDigitizerAlgorithm::initializeEvent(), and pDD.
|
overridevirtual |
Implements PreMixingWorker.
Definition at line 200 of file PreMixingSiPixelWorker.cc.
References ecalLiteDTU::adc(), cms::cuda::bs, SiPixelDigitizerAlgorithm::calculateInstlumiFactor(), SiPixelDigitizerAlgorithm::chooseScenario(), TrackerGeometry::detUnits(), SiPixelDigitizerAlgorithm::digitize(), digitizer_, MillePedeFileConverter_cfg::e, Exception, firstFinalizeEvent_, edm::EventSetup::get(), get, edm::RandomNumberGenerator::getEngine(), SiPixelDigitizerAlgorithm::init_DynIneffDB(), SiPixelDigitizerAlgorithm::killBadFEDChannels(), eostools::move(), pDD, PixelDigiCollectionDM_, edm::ESHandle< T >::product(), SiPixelDigitizerAlgorithm::setSimAccumulator(), and SiHitStorage_.
|
private |
Definition at line 61 of file PreMixingSiPixelWorker.cc.
Referenced by initializeEvent(), and put().
|
private |
Definition at line 79 of file PreMixingSiPixelWorker.cc.
Referenced by put().
|
private |
Definition at line 78 of file PreMixingSiPixelWorker.cc.
Referenced by initializeEvent().
|
private |
Definition at line 76 of file PreMixingSiPixelWorker.cc.
Referenced by initializeEvent().
|
private |
Definition at line 59 of file PreMixingSiPixelWorker.cc.
Referenced by initializeEvent(), and put().
|
private |
Definition at line 53 of file PreMixingSiPixelWorker.cc.
Referenced by addPileups(), and PreMixingSiPixelWorker().
|
private |
Definition at line 52 of file PreMixingSiPixelWorker.cc.
Referenced by PreMixingSiPixelWorker().
|
private |
Definition at line 54 of file PreMixingSiPixelWorker.cc.
Referenced by PreMixingSiPixelWorker(), and put().
|
private |
Definition at line 57 of file PreMixingSiPixelWorker.cc.
Referenced by PreMixingSiPixelWorker().
|
private |
Definition at line 56 of file PreMixingSiPixelWorker.cc.
Referenced by addSignals(), and PreMixingSiPixelWorker().
|
private |
Definition at line 74 of file PreMixingSiPixelWorker.cc.
Referenced by addPileups(), addSignals(), PreMixingSiPixelWorker(), and put().