#include <DataMixingEMDigiWorker.h>
Public Member Functions | |
void | addEMPileups (const int bcr, const edm::EventPrincipal *, unsigned int EventId, const edm::EventSetup &ES, ModuleCallingContext const *) |
void | addEMSignals (const edm::Event &e, const edm::EventSetup &ES) |
DataMixingEMDigiWorker () | |
DataMixingEMDigiWorker (const edm::ParameterSet &ps, edm::ConsumesCollector &&iC) | |
void | putEM (edm::Event &e, const edm::EventSetup &ES) |
virtual | ~DataMixingEMDigiWorker () |
Private Types | |
typedef std::multimap< DetId, EBDataFrame > | EBDigiMap |
typedef std::multimap< DetId, EEDataFrame > | EEDigiMap |
typedef std::multimap< DetId, ESDataFrame > | ESDigiMap |
Private Member Functions | |
const std::vector< float > | GetGainRatios (const edm::EventSetup &ES, const DetId &detid) |
retrieve gain ratios for that detid [0]=g12, [1]=g6, [2]=g12 More... | |
const std::vector< float > | GetPedestals (const edm::EventSetup &ES, const DetId &detid) |
retrieve pedestals for that detid [0]=g12, [1]=g6, [2]=g12 More... | |
Definition at line 45 of file DataMixingEMDigiWorker.h.
|
private |
Definition at line 102 of file DataMixingEMDigiWorker.h.
|
private |
Definition at line 103 of file DataMixingEMDigiWorker.h.
|
private |
Definition at line 104 of file DataMixingEMDigiWorker.h.
DataMixingEMDigiWorker::DataMixingEMDigiWorker | ( | ) |
Definition at line 26 of file DataMixingEMDigiWorker.cc.
|
explicit |
standard constructor
Definition at line 29 of file DataMixingEMDigiWorker.cc.
References EBDigiCollectionDM_, EBDigiPileToken_, EBDigiToken_, EBPileInputTag_, EBProducerSig_, EEDigiCollectionDM_, EEDigiPileToken_, EEDigiToken_, EEPileInputTag_, EEProducerSig_, ESDigiCollectionDM_, ESDigiPileToken_, ESDigiToken_, ESPileInputTag_, ESProducerSig_, edm::ParameterSet::getParameter(), grToken_, pedToken_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
virtual |
void DataMixingEMDigiWorker::addEMPileups | ( | const int | bcr, |
const edm::EventPrincipal * | ep, | ||
unsigned int | EventId, | ||
const edm::EventSetup & | ES, | ||
ModuleCallingContext const * | mcc | ||
) |
Definition at line 148 of file DataMixingEMDigiWorker.cc.
References edm::DataFrameContainer::begin(), EBDigiStorage_, EBPileInputTag_, EEDigiStorage_, EEPileInputTag_, edm::DataFrameContainer::end(), SiStripBadComponentsDQMServiceTemplate_cfg::ep, ESDigiStorage_, ESPileInputTag_, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, LogDebug, and edm::DataFrameContainer::size().
Referenced by edm::DataMixingModule::pileWorker().
void DataMixingEMDigiWorker::addEMSignals | ( | const edm::Event & | e, |
const edm::EventSetup & | ES | ||
) |
Definition at line 66 of file DataMixingEMDigiWorker.cc.
References edm::DataFrameContainer::begin(), MillePedeFileConverter_cfg::e, EBDigiStorage_, EBDigiToken_, EEDigiStorage_, EEDigiToken_, edm::DataFrameContainer::end(), ESDigiStorage_, ESDigiToken_, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, LogDebug, edm::Handle< T >::product(), and edm::DataFrameContainer::size().
Referenced by edm::DataMixingModule::addSignals().
|
private |
retrieve gain ratios for that detid [0]=g12, [1]=g6, [2]=g12
Definition at line 554 of file DataMixingEMDigiWorker.cc.
References EcalMGPAGainRatio::gain12Over6(), EcalMGPAGainRatio::gain6Over1(), edm::EventSetup::getHandle(), and grToken_.
Referenced by putEM().
|
private |
retrieve pedestals for that detid [0]=g12, [1]=g6, [2]=g12
Definition at line 528 of file DataMixingEMDigiWorker.cc.
References EcalCondObjectContainer< T >::end(), EcalCondObjectContainer< T >::find(), edm::EventSetup::getHandle(), EcalCondObjectContainer< T >::getMap(), and pedToken_.
Referenced by putEM().
void DataMixingEMDigiWorker::putEM | ( | edm::Event & | e, |
const edm::EventSetup & | ES | ||
) |
Definition at line 226 of file DataMixingEMDigiWorker.cc.
References gpuClustering::adc, edm::DataFrame::begin(), data, MillePedeFileConverter_cfg::e, EBDigiCollectionDM_, EBDigiStorage_, EEDigiCollectionDM_, EEDigiStorage_, ESDigiCollectionDM_, ESDigiStorage_, EcalDataFrame::frame(), ecalLiteDTU::gainId(), GetGainRatios(), GetPedestals(), createfilelist::int, SiStripPI::max, SiStripPI::min, eostools::move(), particleFlowDisplacedVertex_cfi::ratio, ecalGpuTask_cfi::sample, ESDataFrame::setSample(), EcalDataFrame::setSample(), ESDataFrame::size(), and EcalDataFrame::size().
Referenced by edm::DataMixingModule::put().
|
private |
Definition at line 95 of file DataMixingEMDigiWorker.h.
Referenced by DataMixingEMDigiWorker(), and putEM().
|
private |
Definition at line 76 of file DataMixingEMDigiWorker.h.
|
private |
Definition at line 91 of file DataMixingEMDigiWorker.h.
Referenced by DataMixingEMDigiWorker().
|
private |
Definition at line 106 of file DataMixingEMDigiWorker.h.
Referenced by addEMPileups(), addEMSignals(), and putEM().
|
private |
Definition at line 87 of file DataMixingEMDigiWorker.h.
Referenced by addEMSignals(), and DataMixingEMDigiWorker().
|
private |
Definition at line 83 of file DataMixingEMDigiWorker.h.
Referenced by addEMPileups(), and DataMixingEMDigiWorker().
|
private |
Definition at line 72 of file DataMixingEMDigiWorker.h.
Referenced by DataMixingEMDigiWorker().
|
private |
Definition at line 97 of file DataMixingEMDigiWorker.h.
Referenced by DataMixingEMDigiWorker(), and putEM().
|
private |
Definition at line 78 of file DataMixingEMDigiWorker.h.
|
private |
Definition at line 92 of file DataMixingEMDigiWorker.h.
Referenced by DataMixingEMDigiWorker().
|
private |
Definition at line 107 of file DataMixingEMDigiWorker.h.
Referenced by addEMPileups(), addEMSignals(), and putEM().
|
private |
Definition at line 88 of file DataMixingEMDigiWorker.h.
Referenced by addEMSignals(), and DataMixingEMDigiWorker().
|
private |
Definition at line 84 of file DataMixingEMDigiWorker.h.
Referenced by addEMPileups(), and DataMixingEMDigiWorker().
|
private |
Definition at line 73 of file DataMixingEMDigiWorker.h.
Referenced by DataMixingEMDigiWorker().
|
private |
Definition at line 99 of file DataMixingEMDigiWorker.h.
Referenced by DataMixingEMDigiWorker(), and putEM().
|
private |
Definition at line 80 of file DataMixingEMDigiWorker.h.
|
private |
Definition at line 93 of file DataMixingEMDigiWorker.h.
Referenced by DataMixingEMDigiWorker().
|
private |
Definition at line 108 of file DataMixingEMDigiWorker.h.
Referenced by addEMPileups(), addEMSignals(), and putEM().
|
private |
Definition at line 89 of file DataMixingEMDigiWorker.h.
Referenced by addEMSignals(), and DataMixingEMDigiWorker().
|
private |
Definition at line 85 of file DataMixingEMDigiWorker.h.
Referenced by addEMPileups(), and DataMixingEMDigiWorker().
|
private |
Definition at line 74 of file DataMixingEMDigiWorker.h.
Referenced by DataMixingEMDigiWorker().
|
private |
Definition at line 115 of file DataMixingEMDigiWorker.h.
Referenced by DataMixingEMDigiWorker(), and GetGainRatios().
|
private |
Definition at line 112 of file DataMixingEMDigiWorker.h.
Referenced by Modules.SwitchProducer::__addParameter(), SequenceTypes.DummyModule::__repr__(), Modules.SwitchProducer::__setattr__(), Mixins._Labelable::_findDependencies(), and Mixins._Labelable::setLabel().
|
private |
Definition at line 114 of file DataMixingEMDigiWorker.h.
Referenced by DataMixingEMDigiWorker(), and GetPedestals().