#include <DataMixingSiPixelWorker.h>
Public Member Functions | |
void | addSiPixelPileups (const int bcr, const edm::EventPrincipal *, unsigned int EventId, ModuleCallingContext const *) |
void | addSiPixelSignals (const edm::Event &e) |
DataMixingSiPixelWorker () | |
DataMixingSiPixelWorker (const edm::ParameterSet &ps, edm::ConsumesCollector &&iC) | |
void | putSiPixel (edm::Event &e) |
virtual | ~DataMixingSiPixelWorker () |
Private Types | |
typedef std::multimap< int, PixelDigi > | OneDetectorMap |
typedef std::map< uint32_t, OneDetectorMap > | SiGlobalIndex |
Private Attributes | |
std::string | label_ |
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 38 of file DataMixingSiPixelWorker.h.
|
private |
Definition at line 67 of file DataMixingSiPixelWorker.h.
|
private |
Definition at line 68 of file DataMixingSiPixelWorker.h.
DataMixingSiPixelWorker::DataMixingSiPixelWorker | ( | ) |
Definition at line 28 of file DataMixingSiPixelWorker.cc.
|
explicit |
standard constructor
Definition at line 31 of file DataMixingSiPixelWorker.cc.
References edm::ParameterSet::getParameter(), pixeldigi_collectionPile_, pixeldigi_collectionSig_, PixelDigiCollectionDM_, PixelDigiPToken_, PixelDigiToken_, SiHitStorage_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
void DataMixingSiPixelWorker::addSiPixelPileups | ( | const int | bcr, |
const edm::EventPrincipal * | ep, | ||
unsigned int | EventId, | ||
ModuleCallingContext const * | mcc | ||
) |
Definition at line 97 of file DataMixingSiPixelWorker.cc.
References begin, edm::DetSetVector< T >::begin(), end, edm::DetSetVector< T >::end(), edm::EventPrincipal::id(), input, LogDebug, pixeldigi_collectionPile_, and SiHitStorage_.
Referenced by edm::DataMixingModule::pileWorker().
void DataMixingSiPixelWorker::addSiPixelSignals | ( | const edm::Event & | e | ) |
Definition at line 61 of file DataMixingSiPixelWorker.cc.
References begin, end, edm::Event::getByToken(), edm::EventBase::id(), input, LogDebug, PixelDigiToken_, and SiHitStorage_.
Referenced by edm::DataMixingModule::addSignals().
void DataMixingSiPixelWorker::putSiPixel | ( | edm::Event & | e | ) |
Definition at line 165 of file DataMixingSiPixelWorker.cc.
References ecalMGPA::adc(), PixelDigiCollectionDM_, edm::DetSet< T >::push_back(), edm::Event::put(), and SiHitStorage_.
Referenced by edm::DataMixingModule::put().
|
private |
Definition at line 75 of file DataMixingSiPixelWorker.h.
Referenced by Mixins._Labelable::_findDependencies(), and Mixins._Labelable::setLabel().
|
private |
Definition at line 59 of file DataMixingSiPixelWorker.h.
Referenced by addSiPixelPileups(), and DataMixingSiPixelWorker().
|
private |
Definition at line 58 of file DataMixingSiPixelWorker.h.
Referenced by DataMixingSiPixelWorker().
|
private |
Definition at line 60 of file DataMixingSiPixelWorker.h.
Referenced by DataMixingSiPixelWorker(), and putSiPixel().
|
private |
Definition at line 63 of file DataMixingSiPixelWorker.h.
Referenced by DataMixingSiPixelWorker().
|
private |
Definition at line 62 of file DataMixingSiPixelWorker.h.
Referenced by addSiPixelSignals(), and DataMixingSiPixelWorker().
|
private |
Definition at line 70 of file DataMixingSiPixelWorker.h.
Referenced by addSiPixelPileups(), addSiPixelSignals(), DataMixingSiPixelWorker(), and putSiPixel().