#include <HcalDigitizer.h>
Public Member Functions | |
HcalDigitizer (const edm::ParameterSet &ps) | |
virtual void | produce (edm::Event &e, const edm::EventSetup &c) |
void | setHBHENoiseSignalGenerator (HcalBaseSignalGenerator *noiseGenerator) |
void | setHFNoiseSignalGenerator (HcalBaseSignalGenerator *noiseGenerator) |
void | setHONoiseSignalGenerator (HcalBaseSignalGenerator *noiseGenerator) |
void | setZDCNoiseSignalGenerator (HcalBaseSignalGenerator *noiseGenerator) |
virtual | ~HcalDigitizer () |
Private Types | |
typedef CaloTDigitizer < HBHEDigitizerTraits > | HBHEDigitizer |
typedef CaloTDigitizer < HFDigitizerTraits > | HFDigitizer |
typedef CaloTDigitizer < HODigitizerTraits > | HODigitizer |
typedef CaloTDigitizer < ZDCDigitizerTraits > | ZDCDigitizer |
Private Member Functions | |
void | buildHOSiPMCells (const std::vector< DetId > &allCells) |
void | checkGeometry (const edm::EventSetup &eventSetup) |
void | fillFakeHits () |
some hits in each subdetector, just for testing purposes More... | |
void | updateGeometry () |
Definition at line 27 of file HcalDigitizer.h.
|
private |
Reconstruction algorithm
Definition at line 54 of file HcalDigitizer.h.
|
private |
Definition at line 56 of file HcalDigitizer.h.
|
private |
Definition at line 55 of file HcalDigitizer.h.
|
private |
Definition at line 57 of file HcalDigitizer.h.
|
explicit |
Definition at line 82 of file HcalDigitizer.cc.
References HcalCoderFactory::DB, edm::hlt::Exception, HcalDigitizerImpl::fillSiPMCells(), edm::RandomNumberGenerator::getEngine(), edm::ParameterSet::getParameter(), hitsProducer_, edm::Service< T >::isAvailable(), HcalAmplifier::setHFtuningParameter(), CaloHitResponse::setHitCorrection(), CaloHitResponse::setHitFilter(), HcalAmplifier::setHOtuningParameter(), CaloTDigitizer< Traits >::setNoiseHitGenerator(), CaloTDigitizer< Traits >::setNoiseSignalGenerator(), CaloHitResponse::setPECorrection(), HPDIonFeedbackSim::setRandomEngine(), HcalHitCorrection::setRandomEngine(), CaloTDigitizer< Traits >::setRandomEngine(), HPDIonFeedbackSim::setShape(), HcalAmplifier::setUseOldHF(), HcalAmplifier::setUseOldHO(), theCoderFactory, theHBHEAmplifier, theHBHEDigitizer, theHBHEElectronicsSim, theHBHEHitFilter, theHBHEResponse, theHBHESiPMDigitizer, theHBHESiPMResponse, theHcalIntegratedShape, theHcalShape, theHFAmplifier, theHFDigitizer, theHFElectronicsSim, theHFHitFilter, theHFResponse, theHitCorrection, theHOAmplifier, theHODigitizer, theHOElectronicsSim, theHOHitFilter, theHOResponse, theHOSiPMCode, theHOSiPMDigitizer, theHOSiPMHitFilter, theHOSiPMResponse, theIonFeedback, theNoiseGenerator, theNoiseHitGenerator, theParameterMap, theSiPMIntegratedShape, theSiPMShape, theZDCAmplifier, theZDCDigitizer, theZDCElectronicsSim, theZDCHitFilter, and theZDCResponse.
|
virtual |
Definition at line 289 of file HcalDigitizer.cc.
References theCoderFactory, theHBHEAmplifier, theHBHEDigitizer, theHBHEElectronicsSim, theHBHEResponse, theHBHESiPMDigitizer, theHBHESiPMResponse, theHcalIntegratedShape, theHcalShape, theHFAmplifier, theHFDigitizer, theHFElectronicsSim, theHFIntegratedShape, theHFResponse, theHFShape, theHitCorrection, theHOAmplifier, theHODigitizer, theHOElectronicsSim, theHOResponse, theHOSiPMDigitizer, theHOSiPMResponse, theNoiseGenerator, theParameterMap, theSiPMIntegratedShape, theSiPMShape, theZDCAmplifier, theZDCDigitizer, theZDCElectronicsSim, theZDCIntegratedShape, theZDCResponse, and theZDCShape.
|
private |
Definition at line 504 of file HcalDigitizer.cc.
References HcalDetId::ieta(), HcalDetId::iphi(), HcalHitFilter::setDetIds(), CaloTDigitizer< Traits >::setDetIds(), HcalSimParameterMap::setHOHamamatsuDetIds(), HcalSimParameterMap::setHOZecotekDetIds(), theHODigitizer, theHOHPDDetIds, theHOSiPMCode, theHOSiPMDetIds, theHOSiPMDigitizer, theHOSiPMHitFilter, and theParameterMap.
Referenced by updateGeometry().
|
private |
make sure the digitizer has the correct list of all cells that exist in the geometry
Definition at line 456 of file HcalDigitizer.cc.
References geometry, edm::EventSetup::get(), theGeometry, and updateGeometry().
Referenced by produce().
|
private |
some hits in each subdetector, just for testing purposes
|
virtual |
Produces the EDM products,
Definition at line 358 of file HcalDigitizer.cc.
References checkGeometry(), HcalHitCorrection::clear(), HcalHitCorrection::fillChargeSums(), edm::EventSetup::get(), edm::Event::getByLabel(), hbhegeo, hfgeo, hitsProducer_, hogeo, isHCAL, edm::HandleBase::isValid(), isZDC, edm::Handle< T >::product(), edm::ESHandle< class >::product(), edm::Event::put(), CaloTDigitizer< Traits >::run(), HcalAmplifier::setADCPeds(), HcalAmplifier::setCholesky(), HcalCoderFactory::setDbService(), HcalAmplifier::setDbService(), HcalSimParameterMap::setDbService(), theCoderFactory, theHBHEAmplifier, theHBHEDigitizer, theHBHESiPMDigitizer, theHFAmplifier, theHFDigitizer, theHitCorrection, theHOAmplifier, theHODigitizer, theHOSiPMDigitizer, theParameterMap, theZDCAmplifier, theZDCDigitizer, and zdcgeo.
Referenced by HcalDigiProducer::produce(), and edm::DataMixingHcalDigiWorkerProd::putHcal().
void HcalDigitizer::setHBHENoiseSignalGenerator | ( | HcalBaseSignalGenerator * | noiseGenerator | ) |
Definition at line 325 of file HcalDigitizer.cc.
References HcalBaseSignalGenerator::setElectronicsSim(), HcalAmplifier::setNoiseSignalGenerator(), CaloTDigitizer< Traits >::setNoiseSignalGenerator(), HcalBaseSignalGenerator::setParameterMap(), theHBHEAmplifier, theHBHEDigitizer, theHBHEElectronicsSim, and theParameterMap.
void HcalDigitizer::setHFNoiseSignalGenerator | ( | HcalBaseSignalGenerator * | noiseGenerator | ) |
Definition at line 333 of file HcalDigitizer.cc.
References HcalBaseSignalGenerator::setElectronicsSim(), HcalAmplifier::setNoiseSignalGenerator(), CaloTDigitizer< Traits >::setNoiseSignalGenerator(), HcalBaseSignalGenerator::setParameterMap(), theHFAmplifier, theHFDigitizer, theHFElectronicsSim, and theParameterMap.
void HcalDigitizer::setHONoiseSignalGenerator | ( | HcalBaseSignalGenerator * | noiseGenerator | ) |
Definition at line 341 of file HcalDigitizer.cc.
References HcalBaseSignalGenerator::setElectronicsSim(), HcalAmplifier::setNoiseSignalGenerator(), CaloTDigitizer< Traits >::setNoiseSignalGenerator(), HcalBaseSignalGenerator::setParameterMap(), theHOAmplifier, theHODigitizer, theHOElectronicsSim, and theParameterMap.
void HcalDigitizer::setZDCNoiseSignalGenerator | ( | HcalBaseSignalGenerator * | noiseGenerator | ) |
Definition at line 349 of file HcalDigitizer.cc.
References HcalBaseSignalGenerator::setElectronicsSim(), HcalAmplifier::setNoiseSignalGenerator(), CaloTDigitizer< Traits >::setNoiseSignalGenerator(), HcalBaseSignalGenerator::setParameterMap(), theParameterMap, theZDCAmplifier, theZDCDigitizer, and theZDCElectronicsSim.
|
private |
Definition at line 469 of file HcalDigitizer.cc.
References buildHOSiPMCells(), DetId::Calo, HcalDigitizerImpl::fillCells(), CaloGeometry::getValidDetIds(), hbhegeo, DetId::Hcal, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, hfgeo, hogeo, CaloTDigitizer< Traits >::setDetIds(), CaloHitResponse::setGeometry(), HcalZDCDetId::SubdetectorId, theGeometry, theHBHEDetIds, theHBHEDigitizer, theHBHEResponse, theHBHESiPMDigitizer, theHBHESiPMResponse, theHFDigitizer, theHFResponse, theHOResponse, theHOSiPMResponse, theZDCDigitizer, theZDCResponse, and zdcgeo.
Referenced by checkGeometry().
|
private |
Definition at line 115 of file HcalDigitizer.h.
Referenced by produce(), and updateGeometry().
|
private |
Definition at line 115 of file HcalDigitizer.h.
Referenced by produce(), and updateGeometry().
|
private |
Definition at line 117 of file HcalDigitizer.h.
Referenced by HcalDigitizer(), and produce().
|
private |
Definition at line 115 of file HcalDigitizer.h.
Referenced by produce(), and updateGeometry().
|
private |
Definition at line 115 of file HcalDigitizer.h.
Referenced by produce().
|
private |
Definition at line 115 of file HcalDigitizer.h.
Referenced by produce().
|
private |
Definition at line 84 of file HcalDigitizer.h.
Referenced by HcalDigitizer(), produce(), and ~HcalDigitizer().
|
private |
Definition at line 48 of file HcalDigitizer.h.
Referenced by checkGeometry(), and updateGeometry().
|
private |
Definition at line 78 of file HcalDigitizer.h.
Referenced by HcalDigitizer(), produce(), setHBHENoiseSignalGenerator(), and ~HcalDigitizer().
|
private |
Definition at line 111 of file HcalDigitizer.h.
Referenced by updateGeometry().
|
private |
Definition at line 102 of file HcalDigitizer.h.
Referenced by HcalDigitizer(), produce(), setHBHENoiseSignalGenerator(), updateGeometry(), and ~HcalDigitizer().
|
private |
Definition at line 86 of file HcalDigitizer.h.
Referenced by HcalDigitizer(), setHBHENoiseSignalGenerator(), and ~HcalDigitizer().
|
private |
Definition at line 92 of file HcalDigitizer.h.
Referenced by HcalDigitizer().
|
private |
Definition at line 69 of file HcalDigitizer.h.
Referenced by HcalDigitizer(), updateGeometry(), and ~HcalDigitizer().
|
private |
Definition at line 103 of file HcalDigitizer.h.
Referenced by HcalDigitizer(), produce(), updateGeometry(), and ~HcalDigitizer().
|
private |
Definition at line 70 of file HcalDigitizer.h.
Referenced by HcalDigitizer(), updateGeometry(), and ~HcalDigitizer().
|
private |
Definition at line 64 of file HcalDigitizer.h.
Referenced by HcalDigitizer(), and ~HcalDigitizer().
|
private |
Definition at line 60 of file HcalDigitizer.h.
Referenced by HcalDigitizer(), and ~HcalDigitizer().
|
private |
Definition at line 79 of file HcalDigitizer.h.
Referenced by HcalDigitizer(), produce(), setHFNoiseSignalGenerator(), and ~HcalDigitizer().
|
private |
Definition at line 106 of file HcalDigitizer.h.
Referenced by HcalDigitizer(), produce(), setHFNoiseSignalGenerator(), updateGeometry(), and ~HcalDigitizer().
|
private |
Definition at line 87 of file HcalDigitizer.h.
Referenced by HcalDigitizer(), setHFNoiseSignalGenerator(), and ~HcalDigitizer().
|
private |
Definition at line 93 of file HcalDigitizer.h.
Referenced by HcalDigitizer().
|
private |
Definition at line 66 of file HcalDigitizer.h.
Referenced by ~HcalDigitizer().
|
private |
Definition at line 73 of file HcalDigitizer.h.
Referenced by HcalDigitizer(), updateGeometry(), and ~HcalDigitizer().
|
private |
Definition at line 62 of file HcalDigitizer.h.
Referenced by ~HcalDigitizer().
|
private |
Definition at line 98 of file HcalDigitizer.h.
Referenced by HcalDigitizer(), produce(), and ~HcalDigitizer().
|
private |
Definition at line 80 of file HcalDigitizer.h.
Referenced by HcalDigitizer(), produce(), setHONoiseSignalGenerator(), and ~HcalDigitizer().
|
private |
Definition at line 104 of file HcalDigitizer.h.
Referenced by buildHOSiPMCells(), HcalDigitizer(), produce(), setHONoiseSignalGenerator(), and ~HcalDigitizer().
|
private |
Definition at line 88 of file HcalDigitizer.h.
Referenced by HcalDigitizer(), setHONoiseSignalGenerator(), and ~HcalDigitizer().
|
private |
Definition at line 94 of file HcalDigitizer.h.
Referenced by HcalDigitizer().
|
private |
Definition at line 112 of file HcalDigitizer.h.
Referenced by buildHOSiPMCells().
|
private |
Definition at line 71 of file HcalDigitizer.h.
Referenced by HcalDigitizer(), updateGeometry(), and ~HcalDigitizer().
|
private |
Definition at line 119 of file HcalDigitizer.h.
Referenced by buildHOSiPMCells(), and HcalDigitizer().
|
private |
Definition at line 113 of file HcalDigitizer.h.
Referenced by buildHOSiPMCells().
|
private |
Definition at line 105 of file HcalDigitizer.h.
Referenced by buildHOSiPMCells(), HcalDigitizer(), produce(), and ~HcalDigitizer().
|
private |
Definition at line 95 of file HcalDigitizer.h.
Referenced by buildHOSiPMCells(), and HcalDigitizer().
|
private |
Definition at line 72 of file HcalDigitizer.h.
Referenced by HcalDigitizer(), updateGeometry(), and ~HcalDigitizer().
|
private |
Definition at line 83 of file HcalDigitizer.h.
Referenced by HcalDigitizer().
|
private |
Definition at line 99 of file HcalDigitizer.h.
Referenced by HcalDigitizer(), and ~HcalDigitizer().
|
private |
Definition at line 100 of file HcalDigitizer.h.
Referenced by HcalDigitizer().
|
private |
Definition at line 59 of file HcalDigitizer.h.
Referenced by buildHOSiPMCells(), HcalDigitizer(), produce(), setHBHENoiseSignalGenerator(), setHFNoiseSignalGenerator(), setHONoiseSignalGenerator(), setZDCNoiseSignalGenerator(), and ~HcalDigitizer().
|
private |
Definition at line 65 of file HcalDigitizer.h.
Referenced by HcalDigitizer(), and ~HcalDigitizer().
|
private |
Definition at line 61 of file HcalDigitizer.h.
Referenced by HcalDigitizer(), and ~HcalDigitizer().
|
private |
Definition at line 81 of file HcalDigitizer.h.
Referenced by HcalDigitizer(), produce(), setZDCNoiseSignalGenerator(), and ~HcalDigitizer().
|
private |
Definition at line 107 of file HcalDigitizer.h.
Referenced by HcalDigitizer(), produce(), setZDCNoiseSignalGenerator(), updateGeometry(), and ~HcalDigitizer().
|
private |
Definition at line 89 of file HcalDigitizer.h.
Referenced by HcalDigitizer(), setZDCNoiseSignalGenerator(), and ~HcalDigitizer().
|
private |
Definition at line 96 of file HcalDigitizer.h.
Referenced by HcalDigitizer().
|
private |
Definition at line 67 of file HcalDigitizer.h.
Referenced by ~HcalDigitizer().
|
private |
Definition at line 74 of file HcalDigitizer.h.
Referenced by HcalDigitizer(), updateGeometry(), and ~HcalDigitizer().
|
private |
Definition at line 63 of file HcalDigitizer.h.
Referenced by ~HcalDigitizer().
|
private |
Definition at line 115 of file HcalDigitizer.h.
Referenced by produce(), and updateGeometry().