#include <DataMixingHcalDigiWorker.h>
Public Member Functions | |
void | addHcalPileups (const int bcr, const edm::EventPrincipal *, unsigned int EventId, const edm::EventSetup &ES) |
void | addHcalSignals (const edm::Event &e, const edm::EventSetup &ES) |
DataMixingHcalDigiWorker () | |
DataMixingHcalDigiWorker (const edm::ParameterSet &ps) | |
void | putHcal (edm::Event &e, const edm::EventSetup &ES) |
virtual | ~DataMixingHcalDigiWorker () |
Private Types | |
typedef std::multimap< DetId, CaloSamples > | HBHEDigiMap |
typedef std::multimap< DetId, CaloSamples > | HFDigiMap |
typedef std::multimap< DetId, CaloSamples > | HODigiMap |
typedef std::multimap< DetId, CaloSamples > | ZDCDigiMap |
Private Attributes | |
bool | DoZDC_ |
std::string | HBHEDigiCollectionDM_ |
edm::InputTag | HBHEdigiCollectionSig_ |
HBHEDigiMap | HBHEDigiStorage_ |
edm::InputTag | HBHEPileInputTag_ |
std::string | HFDigiCollectionDM_ |
edm::InputTag | HFdigiCollectionSig_ |
HFDigiMap | HFDigiStorage_ |
edm::InputTag | HFPileInputTag_ |
std::string | HODigiCollectionDM_ |
edm::InputTag | HOdigiCollectionSig_ |
HODigiMap | HODigiStorage_ |
edm::InputTag | HOPileInputTag_ |
std::string | label_ |
Selector * | sel_ |
std::string | ZDCDigiCollectionDM_ |
edm::InputTag | ZDCdigiCollectionSig_ |
ZDCDigiMap | ZDCDigiStorage_ |
edm::InputTag | ZDCPileInputTag_ |
Definition at line 39 of file DataMixingHcalDigiWorker.h.
|
private |
Definition at line 75 of file DataMixingHcalDigiWorker.h.
|
private |
Definition at line 76 of file DataMixingHcalDigiWorker.h.
|
private |
Definition at line 77 of file DataMixingHcalDigiWorker.h.
|
private |
Definition at line 78 of file DataMixingHcalDigiWorker.h.
DataMixingHcalDigiWorker::DataMixingHcalDigiWorker | ( | ) |
Definition at line 35 of file DataMixingHcalDigiWorker.cc.
|
explicit |
standard constructor
Definition at line 38 of file DataMixingHcalDigiWorker.cc.
References DoZDC_, edm::ParameterSet::getParameter(), HBHEDigiCollectionDM_, HBHEdigiCollectionSig_, HBHEPileInputTag_, HFDigiCollectionDM_, HFdigiCollectionSig_, HFPileInputTag_, HODigiCollectionDM_, HOdigiCollectionSig_, HOPileInputTag_, edm::InputTag::label(), label_, sel_, ZDCDigiCollectionDM_, ZDCdigiCollectionSig_, and ZDCPileInputTag_.
|
virtual |
void DataMixingHcalDigiWorker::addHcalPileups | ( | const int | bcr, |
const edm::EventPrincipal * | ep, | ||
unsigned int | EventId, | ||
const edm::EventSetup & | ES | ||
) |
Definition at line 268 of file DataMixingHcalDigiWorker.cc.
References HcalCoderDb::adc2fC(), edm::SortedCollection< T, SORT >::begin(), DoZDC_, edm::SortedCollection< T, SORT >::end(), edm::EventSetup::get(), HBHEDigiStorage_, HBHEPileInputTag_, HFDigiStorage_, HFPileInputTag_, HODigiStorage_, HOPileInputTag_, edm::EventPrincipal::id(), LogDebug, edm::SortedCollection< T, SORT >::size(), ZDCDigiStorage_, and ZDCPileInputTag_.
Referenced by edm::DataMixingModule::pileWorker().
void DataMixingHcalDigiWorker::addHcalSignals | ( | const edm::Event & | e, |
const edm::EventSetup & | ES | ||
) |
Definition at line 85 of file DataMixingHcalDigiWorker.cc.
References HcalCoderDb::adc2fC(), edm::SortedCollection< T, SORT >::begin(), edm::SortedCollection< T, SORT >::end(), edm::EventSetup::get(), edm::Event::getByLabel(), HBHEdigiCollectionSig_, HBHEDigiStorage_, HFdigiCollectionSig_, HFDigiStorage_, HOdigiCollectionSig_, HODigiStorage_, edm::EventBase::id(), LogDebug, edm::Handle< T >::product(), edm::SortedCollection< T, SORT >::size(), ZDCdigiCollectionSig_, and ZDCDigiStorage_.
Referenced by edm::DataMixingModule::addSignals().
void DataMixingHcalDigiWorker::putHcal | ( | edm::Event & | e, |
const edm::EventSetup & | ES | ||
) |
Definition at line 424 of file DataMixingHcalDigiWorker.cc.
References HcalCoderDb::fC2adc(), edm::EventSetup::get(), HBHEDigiCollectionDM_, HBHEDigiStorage_, HFDigiCollectionDM_, HFDigiStorage_, HODigiCollectionDM_, HODigiStorage_, CaloSamples::id(), max(), edm::Event::put(), CaloSamples::size(), findQualityFiles::size, ZDCDigiCollectionDM_, and ZDCDigiStorage_.
Referenced by edm::DataMixingModule::put().
|
private |
Definition at line 90 of file DataMixingHcalDigiWorker.h.
Referenced by addHcalPileups(), and DataMixingHcalDigiWorker().
|
private |
Definition at line 70 of file DataMixingHcalDigiWorker.h.
Referenced by DataMixingHcalDigiWorker(), and putHcal().
|
private |
Definition at line 60 of file DataMixingHcalDigiWorker.h.
Referenced by addHcalSignals(), and DataMixingHcalDigiWorker().
|
private |
Definition at line 85 of file DataMixingHcalDigiWorker.h.
Referenced by addHcalPileups(), addHcalSignals(), and putHcal().
|
private |
Definition at line 65 of file DataMixingHcalDigiWorker.h.
Referenced by addHcalPileups(), and DataMixingHcalDigiWorker().
|
private |
Definition at line 72 of file DataMixingHcalDigiWorker.h.
Referenced by DataMixingHcalDigiWorker(), and putHcal().
|
private |
Definition at line 62 of file DataMixingHcalDigiWorker.h.
Referenced by addHcalSignals(), and DataMixingHcalDigiWorker().
|
private |
Definition at line 86 of file DataMixingHcalDigiWorker.h.
Referenced by addHcalPileups(), addHcalSignals(), and putHcal().
|
private |
Definition at line 67 of file DataMixingHcalDigiWorker.h.
Referenced by addHcalPileups(), and DataMixingHcalDigiWorker().
|
private |
Definition at line 71 of file DataMixingHcalDigiWorker.h.
Referenced by DataMixingHcalDigiWorker(), and putHcal().
|
private |
Definition at line 61 of file DataMixingHcalDigiWorker.h.
Referenced by addHcalSignals(), and DataMixingHcalDigiWorker().
|
private |
Definition at line 87 of file DataMixingHcalDigiWorker.h.
Referenced by addHcalPileups(), addHcalSignals(), and putHcal().
|
private |
Definition at line 66 of file DataMixingHcalDigiWorker.h.
Referenced by addHcalPileups(), and DataMixingHcalDigiWorker().
|
private |
Definition at line 95 of file DataMixingHcalDigiWorker.h.
Referenced by Mixins._Labelable::_findDependencies(), DataMixingHcalDigiWorker(), and Mixins._TypedParameterizable::dumpPython().
|
private |
Definition at line 94 of file DataMixingHcalDigiWorker.h.
Referenced by DataMixingHcalDigiWorker(), and ~DataMixingHcalDigiWorker().
|
private |
Definition at line 73 of file DataMixingHcalDigiWorker.h.
Referenced by DataMixingHcalDigiWorker(), and putHcal().
|
private |
Definition at line 63 of file DataMixingHcalDigiWorker.h.
Referenced by addHcalSignals(), and DataMixingHcalDigiWorker().
|
private |
Definition at line 88 of file DataMixingHcalDigiWorker.h.
Referenced by addHcalPileups(), addHcalSignals(), and putHcal().
|
private |
Definition at line 68 of file DataMixingHcalDigiWorker.h.
Referenced by addHcalPileups(), and DataMixingHcalDigiWorker().