1 #ifndef EcalMixingModuleValidation_H
2 #define EcalMixingModuleValidation_H
72 class HepRandomEngine;
77 typedef std::map<uint32_t,float,std::less<uint32_t> >
MapType;
void checkPedestals(const edm::EventSetup &c)
MonitorElement * meEBDigiMixRatioOriggt50pc_
void computeSDBunchDigi(const edm::EventSetup &eventSetup, MixCollection< PCaloHit > &theHits, MapType &ebSignalSimMap, const EcalSubdetector &thisDet, const double &theSimThreshold, CLHEP::HepRandomEngine *)
MonitorElement * meESbunchCrossing_
const ESIntercalibConstants * m_ESmips
void endRun(const edm::Run &r, const edm::EventSetup &c) override
edm::EDGetTokenT< CrossingFrame< PCaloHit > > crossingFramePCaloHitESToken_
void findPedestal(const DetId &detId, int gainId, double &ped) const
int gainId(sample_type sample)
get the gainId (2 bits)
edm::EDGetTokenT< edm::HepMCProduct > HepMCToken_
MonitorElement * meEEShapeRatio_
void checkCalibrations(edm::EventSetup const &c)
MonitorElement * meEEBunchShape_[nBunch]
edm::EDGetTokenT< EBDigiCollection > EBdigiCollectionToken_
std::vector< CLHEP::HepRandomEngine * > randomEngines_
MonitorElement * meEBBunchShape_[nBunch]
const EBShape * theEBShape
MonitorElement * meESShape_
CaloHitResponse * theESResponse
MonitorElement * meESShapeRatio_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > crossingFramePCaloHitEEToken_
MonitorElement * meEBbunchCrossing_
CaloHitResponse * theEBResponse
void bunchSumTest(std::vector< MonitorElement * > &theBunches, MonitorElement *&theTotal, MonitorElement *&theRatio, int nSample)
MonitorElement * meESBunchShape_[nBunch]
Creates electronics signals from hits.
CLHEP::HepRandomEngine * randomEngine(edm::StreamID const &streamID)
MonitorElement * meEBShape_
edm::EDGetTokenT< CrossingFrame< PCaloHit > > crossingFramePCaloHitEBToken_
std::map< int, double, std::less< int > > gainConv_
void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override
const EcalSimParameterMap * theParameterMap
const EcalPedestals * thePedestals
std::map< uint32_t, float, std::less< uint32_t > > MapType
edm::EDGetTokenT< ESDigiCollection > ESdigiCollectionToken_
MonitorElement * meEBShapeRatio_
const CaloGeometry * theGeometry
MonitorElement * meEEbunchCrossing_
void analyze(edm::Event const &e, edm::EventSetup const &c) override
Analyze.
CaloHitResponse * theEEResponse
const EEShape * theEEShape
const ESPedestals * m_ESpeds
MonitorElement * meEEShape_
~EcalMixingModuleValidation()
Destructor.
EcalMixingModuleValidation(const edm::ParameterSet &ps)
Constructor.
edm::EDGetTokenT< EEDigiCollection > EEdigiCollectionToken_
void bookHistograms(DQMStore::IBooker &i, edm::Run const &, edm::EventSetup const &) override
MonitorElement * meEBDigiMixRatiogt100ADC_
MonitorElement * meEEDigiMixRatiogt100ADC_
MonitorElement * meEEDigiMixRatioOriggt40pc_