#include <DataMixingEMDigiWorker.h>
Public Member Functions | |
void | addEMPileups (const int bcr, edm::EventPrincipal *, unsigned int EventId, const edm::EventSetup &ES) |
void | addEMSignals (const edm::Event &e, const edm::EventSetup &ES) |
DataMixingEMDigiWorker () | |
DataMixingEMDigiWorker (const edm::ParameterSet &ps) | |
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 41 of file DataMixingEMDigiWorker.h.
|
private |
Definition at line 85 of file DataMixingEMDigiWorker.h.
|
private |
Definition at line 86 of file DataMixingEMDigiWorker.h.
|
private |
Definition at line 87 of file DataMixingEMDigiWorker.h.
DataMixingEMDigiWorker::DataMixingEMDigiWorker | ( | ) |
Definition at line 36 of file DataMixingEMDigiWorker.cc.
|
explicit |
standard constructor
Definition at line 39 of file DataMixingEMDigiWorker.cc.
References EBDigiCollectionDM_, EBPileInputTag_, EBProducerSig_, EEDigiCollectionDM_, EEPileInputTag_, EEProducerSig_, ESDigiCollectionDM_, ESPileInputTag_, ESProducerSig_, edm::ParameterSet::getParameter(), label_, and sel_.
|
virtual |
void DataMixingEMDigiWorker::addEMPileups | ( | const int | bcr, |
edm::EventPrincipal * | ep, | ||
unsigned int | EventId, | ||
const edm::EventSetup & | ES | ||
) |
Definition at line 184 of file DataMixingEMDigiWorker.cc.
References edm::SortedCollection< T, SORT >::begin(), edm::DataFrameContainer::begin(), EBDigiStorage_, EBPileInputTag_, EEDigiStorage_, EEPileInputTag_, edm::SortedCollection< T, SORT >::end(), edm::DataFrameContainer::end(), ESDigiStorage_, ESPileInputTag_, edm::EventPrincipal::id(), LogDebug, edm::SortedCollection< T, SORT >::size(), and edm::DataFrameContainer::size().
Referenced by edm::DataMixingModule::addPileups().
void DataMixingEMDigiWorker::addEMSignals | ( | const edm::Event & | e, |
const edm::EventSetup & | ES | ||
) |
Definition at line 87 of file DataMixingEMDigiWorker.cc.
References edm::SortedCollection< T, SORT >::begin(), edm::DataFrameContainer::begin(), gather_cfg::cout, EBdigiCollectionSig_, EBDigiStorage_, EBProducerSig_, EEDigiStorage_, EEProducerSig_, edm::SortedCollection< T, SORT >::end(), edm::DataFrameContainer::end(), ESDigiStorage_, ESProducerSig_, edm::Event::getByLabel(), edm::EventBase::id(), edm::InputTag::label(), LogDebug, edm::Handle< T >::product(), edm::SortedCollection< T, SORT >::size(), 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 625 of file DataMixingEMDigiWorker.cc.
References cond::rpcobgas::detid, EcalMGPAGainRatio::gain12Over6(), EcalMGPAGainRatio::gain6Over1(), and edm::EventSetup::get().
Referenced by putEM().
|
private |
retrieve pedestals for that detid [0]=g12, [1]=g6, [2]=g12
Definition at line 594 of file DataMixingEMDigiWorker.cc.
References EcalCondObjectContainer< T >::end(), EcalCondObjectContainer< T >::find(), edm::EventSetup::get(), and edm::ESHandle< class >::product().
Referenced by putEM().
void DataMixingEMDigiWorker::putEM | ( | edm::Event & | e, |
const edm::EventSetup & | ES | ||
) |
Definition at line 266 of file DataMixingEMDigiWorker.cc.
References ecalMGPA::adc(), edm::DataFrame::begin(), runTheMatrix::data, EBDigiCollectionDM_, EBDigiStorage_, EEDigiCollectionDM_, EEDigiStorage_, ESDigiCollectionDM_, ESDigiStorage_, EcalDataFrame::frame(), ecalMGPA::gainId(), GetGainRatios(), GetPedestals(), max(), min, edm::Event::put(), ESDataFrame::setSample(), EcalDataFrame::setSample(), ESDataFrame::size(), EcalDataFrame::size(), and findQualityFiles::size.
Referenced by edm::DataMixingModule::put().
|
private |
Definition at line 81 of file DataMixingEMDigiWorker.h.
Referenced by DataMixingEMDigiWorker(), and putEM().
|
private |
Definition at line 73 of file DataMixingEMDigiWorker.h.
Referenced by addEMSignals().
|
private |
Definition at line 89 of file DataMixingEMDigiWorker.h.
Referenced by addEMPileups(), addEMSignals(), and putEM().
|
private |
Definition at line 77 of file DataMixingEMDigiWorker.h.
Referenced by addEMPileups(), and DataMixingEMDigiWorker().
|
private |
Definition at line 69 of file DataMixingEMDigiWorker.h.
Referenced by addEMSignals(), and DataMixingEMDigiWorker().
|
private |
Definition at line 82 of file DataMixingEMDigiWorker.h.
Referenced by DataMixingEMDigiWorker(), and putEM().
|
private |
Definition at line 74 of file DataMixingEMDigiWorker.h.
|
private |
Definition at line 90 of file DataMixingEMDigiWorker.h.
Referenced by addEMPileups(), addEMSignals(), and putEM().
|
private |
Definition at line 78 of file DataMixingEMDigiWorker.h.
Referenced by addEMPileups(), and DataMixingEMDigiWorker().
|
private |
Definition at line 70 of file DataMixingEMDigiWorker.h.
Referenced by addEMSignals(), and DataMixingEMDigiWorker().
|
private |
Definition at line 83 of file DataMixingEMDigiWorker.h.
Referenced by DataMixingEMDigiWorker(), and putEM().
|
private |
Definition at line 75 of file DataMixingEMDigiWorker.h.
|
private |
Definition at line 91 of file DataMixingEMDigiWorker.h.
Referenced by addEMPileups(), addEMSignals(), and putEM().
|
private |
Definition at line 79 of file DataMixingEMDigiWorker.h.
Referenced by addEMPileups(), and DataMixingEMDigiWorker().
|
private |
Definition at line 71 of file DataMixingEMDigiWorker.h.
Referenced by addEMSignals(), and DataMixingEMDigiWorker().
|
private |
Definition at line 97 of file DataMixingEMDigiWorker.h.
Referenced by Mixins._Labelable::_findDependencies(), DataMixingEMDigiWorker(), and Mixins._TypedParameterizable::dumpPython().
|
private |
Definition at line 96 of file DataMixingEMDigiWorker.h.
Referenced by DataMixingEMDigiWorker(), and ~DataMixingEMDigiWorker().