Go to the documentation of this file. 1 #ifndef SimCalorimetry_EcalSimProducers_EcalDigiProducer_h
2 #define SimCalorimetry_EcalSimProducers_EcalDigiProducer_h
66 class ConsumesCollector;
76 class HepRandomEngine;
188 std::array<std::unique_ptr<CorrelatedNoisifier<EcalCorrMatrix>>, 3>
m_EBCorrNoise;
189 std::array<std::unique_ptr<CorrelatedNoisifier<EcalCorrMatrix>>, 3>
m_EECorrNoise;
void accumulate(edm::Event const &e, edm::EventSetup const &c) override
void beginLuminosityBlock(edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) override
const double m_EBs25notCont
edm::ESGetToken< ESIntercalibConstants, ESIntercalibConstantsRcd > m_esMIPsToken
const CaloGeometry * m_Geometry
std::unique_ptr< EcalElectronicsSim_Ph1 > m_ElectronicsSim
const edm::ESGetToken< EcalADCToGeVConstant, EcalADCToGeVConstantRcd > m_agcToken
std::unique_ptr< EcalElectronicsSim_Ph1 > m_APDElectronicsSim
std::unique_ptr< EEHitResponse > m_EEResponse
std::unique_ptr< CaloHitResponse > m_ESOldResponse
const std::string m_apdDigiTag
CaloTSamples< float, 10 > EcalSamples
CLHEP::HepRandomEngine * randomEngine_
EcalDigiProducer(const edm::ParameterSet ¶ms, edm::ProducesCollector, edm::ConsumesCollector &iC)
~EcalDigiProducer() override
std::unique_ptr< ESElectronicsSimFast > m_ESElectronicsSimFast
const edm::ESGetToken< EcalGainRatios, EcalGainRatiosRcd > m_grToken
std::unique_ptr< ESOldDigitizer > m_ESOldDigitizer
std::unique_ptr< ESElectronicsSim > m_ESElectronicsSim
edm::ESGetToken< ESPedestals, ESPedestalsRcd > m_esPedestalsToken
const std::string m_EBdigiCollection
void beginRun(edm::Run const &run, edm::EventSetup const &setup) override
const bool m_apdSeparateDigi
void finalizeEvent(edm::Event &e, edm::EventSetup const &c) override
std::unique_ptr< const APDSimParameters > m_apdParameters
std::unique_ptr< ESDigitizer > m_ESDigitizer
std::unique_ptr< EBDigitizer > m_APDDigitizer
std::unique_ptr< EBHitResponse > m_EBResponse
const edm::ESGetToken< EcalPedestals, EcalPedestalsRcd > m_pedestalsToken
const double m_EEs25notCont
const edm::ESGetToken< EcalLaserDbService, EcalLaserDbRecord > m_laserToken
std::unique_ptr< const EcalSimParameterMap > m_ParameterMap
virtual void cacheEEDigis(const EEDigiCollection *eeDigiPtr) const
std::unique_ptr< EcalCoder > m_APDCoder
const edm::ESGetToken< EcalIntercalibConstantsMC, EcalIntercalibConstantsMCRcd > m_icalToken
edm::ESWatcher< CaloGeometryRecord > m_geometryWatcher
EcalTDigitizer< EEDigitizerTraits > EEDigitizer
CaloTDigitizer< ESOldDigitizerTraits > ESOldDigitizer
Creates electronics signals from hits.
edm::ESGetToken< ESMIPToGeVConstant, ESMIPToGeVConstantRcd > m_esMIPToGeVToken
edm::ESGetToken< ESGain, ESGainRcd > m_esGainToken
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > m_geometryToken
void initializeEvent(edm::Event const &e, edm::EventSetup const &c) override
virtual void cacheEBDigis(const EBDigiCollection *ebDigiPtr) const
const unsigned int m_readoutFrameSize
std::unique_ptr< EBHitResponse > m_APDResponse
EcalElectronicsSim< EcalCoder, EcalSamples, EcalDataFrame > EcalElectronicsSim_Ph1
const std::string m_hitsProducerTag
const std::string m_EEdigiCollection
void accumulateCaloHits(HitsHandle const &ebHandle, HitsHandle const &eeHandle, HitsHandle const &esHandle, int bunchCrossing)
void setESNoiseSignalGenerator(EcalBaseSignalGenerator *noiseGenerator)
std::unique_ptr< EEDigitizer > m_EndcapDigitizer
const std::string m_ESdigiCollection
std::unique_ptr< EcalCoder > m_Coder
EcalTDigitizer< EBDigitizerTraits > EBDigitizer
void setEENoiseSignalGenerator(EcalBaseSignalGenerator *noiseGenerator)
edm::Handle< std::vector< PCaloHit > > HitsHandle
void checkCalibrations(const edm::Event &event, const edm::EventSetup &eventSetup)
std::array< std::unique_ptr< CorrelatedNoisifier< EcalCorrMatrix > >, 3 > m_EBCorrNoise
std::unique_ptr< ESHitResponse > m_ESResponse
std::unique_ptr< EBDigitizer > m_BarrelDigitizer
void setEBNoiseSignalGenerator(EcalBaseSignalGenerator *noiseGenerator)
void checkGeometry(const edm::EventSetup &eventSetup)
std::array< std::unique_ptr< CorrelatedNoisifier< EcalCorrMatrix > >, 3 > m_EECorrNoise