#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 40 of file DataMixingEMDigiWorker.h.
|
private |
Definition at line 97 of file DataMixingEMDigiWorker.h.
|
private |
Definition at line 98 of file DataMixingEMDigiWorker.h.
|
private |
Definition at line 99 of file DataMixingEMDigiWorker.h.
DataMixingEMDigiWorker::DataMixingEMDigiWorker | ( | ) |
Definition at line 30 of file DataMixingEMDigiWorker.cc.
|
explicit |
standard constructor
Definition at line 33 of file DataMixingEMDigiWorker.cc.
References EBDigiCollectionDM_, EBDigiPileToken_, EBDigiToken_, EBPileInputTag_, EBProducerSig_, EEDigiCollectionDM_, EEDigiPileToken_, EEDigiToken_, EEPileInputTag_, EEProducerSig_, ESDigiCollectionDM_, ESDigiPileToken_, ESDigiToken_, ESPileInputTag_, ESProducerSig_, edm::ParameterSet::getParameter(), 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 149 of file DataMixingEMDigiWorker.cc.
References edm::DataFrameContainer::begin(), EBDigiStorage_, EBPileInputTag_, EEDigiStorage_, EEPileInputTag_, edm::DataFrameContainer::end(), SiStripBadComponentsDQMServiceTemplate_cfg::ep, ESDigiStorage_, ESPileInputTag_, LogDebug, and edm::DataFrameContainer::size().
Referenced by edm::DataMixingModule::pileWorker().
void DataMixingEMDigiWorker::addEMSignals | ( | const edm::Event & | e, |
const edm::EventSetup & | ES | ||
) |
Definition at line 67 of file DataMixingEMDigiWorker.cc.
References edm::DataFrameContainer::begin(), MillePedeFileConverter_cfg::e, EBDigiStorage_, EBDigiToken_, EEDigiStorage_, EEDigiToken_, edm::DataFrameContainer::end(), ESDigiStorage_, ESDigiToken_, 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 556 of file DataMixingEMDigiWorker.cc.
References EcalMGPAGainRatio::gain12Over6(), EcalMGPAGainRatio::gain6Over1(), edm::EventSetup::get(), and edm::get().
Referenced by putEM().
|
private |
retrieve pedestals for that detid [0]=g12, [1]=g6, [2]=g12
Definition at line 529 of file DataMixingEMDigiWorker.cc.
References EcalCondObjectContainer< T >::end(), EcalCondObjectContainer< T >::find(), edm::EventSetup::get(), edm::get(), EcalCondObjectContainer< T >::getMap(), and edm::ESHandle< T >::product().
Referenced by putEM().
void DataMixingEMDigiWorker::putEM | ( | edm::Event & | e, |
const edm::EventSetup & | ES | ||
) |
Definition at line 227 of file DataMixingEMDigiWorker.cc.
References ecalLiteDTU::adc(), edm::DataFrame::begin(), data, MillePedeFileConverter_cfg::e, EBDigiCollectionDM_, EBDigiStorage_, EEDigiCollectionDM_, EEDigiStorage_, ESDigiCollectionDM_, ESDigiStorage_, EcalDataFrame::frame(), ecalLiteDTU::gainId(), GetGainRatios(), GetPedestals(), createfilelist::int, SiStripPI::max, min(), eostools::move(), particleFlowDisplacedVertex_cfi::ratio, simplePhotonAnalyzer_cfi::sample, ESDataFrame::setSample(), EcalDataFrame::setSample(), ESDataFrame::size(), EcalDataFrame::size(), and findQualityFiles::size.
Referenced by edm::DataMixingModule::put().
|
private |
Definition at line 90 of file DataMixingEMDigiWorker.h.
Referenced by DataMixingEMDigiWorker(), and putEM().
|
private |
Definition at line 71 of file DataMixingEMDigiWorker.h.
|
private |
Definition at line 86 of file DataMixingEMDigiWorker.h.
Referenced by DataMixingEMDigiWorker().
|
private |
Definition at line 101 of file DataMixingEMDigiWorker.h.
Referenced by addEMPileups(), addEMSignals(), and putEM().
|
private |
Definition at line 82 of file DataMixingEMDigiWorker.h.
Referenced by addEMSignals(), and DataMixingEMDigiWorker().
|
private |
Definition at line 78 of file DataMixingEMDigiWorker.h.
Referenced by addEMPileups(), and DataMixingEMDigiWorker().
|
private |
Definition at line 67 of file DataMixingEMDigiWorker.h.
Referenced by DataMixingEMDigiWorker().
|
private |
Definition at line 92 of file DataMixingEMDigiWorker.h.
Referenced by DataMixingEMDigiWorker(), and putEM().
|
private |
Definition at line 73 of file DataMixingEMDigiWorker.h.
|
private |
Definition at line 87 of file DataMixingEMDigiWorker.h.
Referenced by DataMixingEMDigiWorker().
|
private |
Definition at line 102 of file DataMixingEMDigiWorker.h.
Referenced by addEMPileups(), addEMSignals(), and putEM().
|
private |
Definition at line 83 of file DataMixingEMDigiWorker.h.
Referenced by addEMSignals(), and DataMixingEMDigiWorker().
|
private |
Definition at line 79 of file DataMixingEMDigiWorker.h.
Referenced by addEMPileups(), and DataMixingEMDigiWorker().
|
private |
Definition at line 68 of file DataMixingEMDigiWorker.h.
Referenced by DataMixingEMDigiWorker().
|
private |
Definition at line 94 of file DataMixingEMDigiWorker.h.
Referenced by DataMixingEMDigiWorker(), and putEM().
|
private |
Definition at line 75 of file DataMixingEMDigiWorker.h.
|
private |
Definition at line 88 of file DataMixingEMDigiWorker.h.
Referenced by DataMixingEMDigiWorker().
|
private |
Definition at line 103 of file DataMixingEMDigiWorker.h.
Referenced by addEMPileups(), addEMSignals(), and putEM().
|
private |
Definition at line 84 of file DataMixingEMDigiWorker.h.
Referenced by addEMSignals(), and DataMixingEMDigiWorker().
|
private |
Definition at line 80 of file DataMixingEMDigiWorker.h.
Referenced by addEMPileups(), and DataMixingEMDigiWorker().
|
private |
Definition at line 69 of file DataMixingEMDigiWorker.h.
Referenced by DataMixingEMDigiWorker().
|
private |
Definition at line 107 of file DataMixingEMDigiWorker.h.
Referenced by SequenceTypes.DummyModule::__repr__(), Mixins._Labelable::_findDependencies(), and Mixins._Labelable::setLabel().