1 #ifndef EcalMixingModuleValidation_H
2 #define EcalMixingModuleValidation_H
71 class HepRandomEngine;
76 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
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 analyze(edm::Event const &e, edm::EventSetup const &c)
Analyze.
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_
CaloHitResponse * theEEResponse
const EEShape * theEEShape
const ESPedestals * m_ESpeds
MonitorElement * meEEShape_
void endRun(const edm::Run &r, const edm::EventSetup &c)
void beginRun(edm::Run const &, edm::EventSetup const &c)
~EcalMixingModuleValidation()
Destructor.
EcalMixingModuleValidation(const edm::ParameterSet &ps)
Constructor.
edm::EDGetTokenT< EEDigiCollection > EEdigiCollectionToken_
MonitorElement * meEBDigiMixRatiogt100ADC_
MonitorElement * meEEDigiMixRatiogt100ADC_
MonitorElement * meEEDigiMixRatioOriggt40pc_