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::ProducerBase &producer, 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 70 of file PreMixingSiPixelWorker.cc.
|
private |
Definition at line 71 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::ProducerBase & | producer, | ||
edm::ConsumesCollector && | iC | ||
) |
Definition at line 82 of file PreMixingSiPixelWorker.cc.
References edm::ParameterSet::getParameter(), pixeldigi_collectionPile_, pixeldigi_collectionSig_, PixelDigiCollectionDM_, PixelDigiPToken_, PixelDigiToken_, edm::ProductRegistryHelper::produces(), SiHitStorage_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridedefault |
|
overridevirtual |
Implements PreMixingWorker.
Definition at line 150 of file PreMixingSiPixelWorker.cc.
References begin, PileUpEventPrincipal::bunchCrossing(), 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 begin, end, edm::Event::getByToken(), edm::EventBase::id(), input, LogDebug, PixelDigiToken_, and SiHitStorage_.
|
overridevirtual |
Implements PreMixingWorker.
Definition at line 103 of file PreMixingSiPixelWorker.cc.
References digitizer_, firstInitializeEvent_, geometryType_, edm::EventSetup::get(), SiPixelDigitizerAlgorithm::init(), SiPixelDigitizerAlgorithm::initializeEvent(), and pDD.
|
overridevirtual |
Implements PreMixingWorker.
Definition at line 210 of file PreMixingSiPixelWorker.cc.
References ecalMGPA::adc(), SiPixelDigitizerAlgorithm::calculateInstlumiFactor(), DEFINE_PREMIXING_WORKER, TrackerGeometry::detUnits(), SiPixelDigitizerAlgorithm::digitize(), digitizer_, firstFinalizeEvent_, edm::EventSetup::get(), edm::RandomNumberGenerator::getEngine(), SiPixelDigitizerAlgorithm::init_DynIneffDB(), eostools::move(), pDD, PixelDigiCollectionDM_, edm::ESHandle< T >::product(), edm::Event::put(), SiPixelDigitizerAlgorithm::setSimAccumulator(), SiHitStorage_, and edm::Event::streamID().
|
private |
Definition at line 61 of file PreMixingSiPixelWorker.cc.
Referenced by initializeEvent(), and put().
|
private |
Definition at line 78 of file PreMixingSiPixelWorker.cc.
Referenced by put().
|
private |
Definition at line 77 of file PreMixingSiPixelWorker.cc.
Referenced by initializeEvent().
|
private |
Definition at line 75 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 73 of file PreMixingSiPixelWorker.cc.
Referenced by addPileups(), addSignals(), PreMixingSiPixelWorker(), and put().