#include <EcalBarrelDigisValidation.h>
Protected Member Functions | |
void | analyze (edm::Event const &e, edm::EventSetup const &c) override |
Analyze. More... | |
void | checkCalibrations (edm::EventSetup const &c) |
void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) override |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Private Types | |
typedef std::map< uint32_t, float, std::less< uint32_t > > | MapType |
Private Attributes | |
double | barrelADCtoGeV_ |
edm::EDGetTokenT < EBDigiCollection > | EBdigiCollection_ |
double | endcapADCtoGeV_ |
std::map< int, double, std::less< int > > | gainConv_ |
MonitorElement * | meEBDigiADCAnalog_ [10] |
MonitorElement * | meEBDigiADCg12_ [10] |
MonitorElement * | meEBDigiADCg1_ [10] |
MonitorElement * | meEBDigiADCg6_ [10] |
MonitorElement * | meEBDigiADCGlobal_ |
MonitorElement * | meEBDigiADCgS_ [10] |
MonitorElement * | meEBDigiGain_ [10] |
MonitorElement * | meEBDigiMultiplicity_ |
MonitorElement * | meEBDigiOccupancy_ |
MonitorElement * | meEBMaximumgt100ADC_ |
MonitorElement * | meEBMaximumgt10ADC_ |
MonitorElement * | meEBnADCafterSwitch_ |
MonitorElement * | meEBPedestal_ |
std::string | outputFile_ |
bool | verbose_ |
Definition at line 36 of file EcalBarrelDigisValidation.h.
|
private |
Definition at line 38 of file EcalBarrelDigisValidation.h.
EcalBarrelDigisValidation::EcalBarrelDigisValidation | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 16 of file EcalBarrelDigisValidation.cc.
References barrelADCtoGeV_, endcapADCtoGeV_, gainConv_, edm::ParameterSet::getUntrackedParameter(), i, meEBDigiADCAnalog_, meEBDigiADCg12_, meEBDigiADCg1_, meEBDigiADCg6_, meEBDigiADCGlobal_, meEBDigiADCgS_, meEBDigiGain_, meEBDigiMultiplicity_, meEBDigiOccupancy_, meEBMaximumgt100ADC_, meEBMaximumgt10ADC_, meEBnADCafterSwitch_, meEBPedestal_, and verbose_.
EcalBarrelDigisValidation::~EcalBarrelDigisValidation | ( | ) |
|
overrideprotectedvirtual |
Analyze.
Implements edm::stream::EDAnalyzerBase.
Definition at line 121 of file EcalBarrelDigisValidation.cc.
References EcalMGPASample::adc(), barrelADCtoGeV_, EBdigiCollection_, MonitorElement::Fill(), gainConv_, EcalMGPASample::gainId(), edm::Event::getByToken(), i, EBDataFrame::id(), EBDetId::ieta(), EBDetId::iphi(), edm::HandleBase::isValid(), LogDebug, EcalDataFrame::MAXSAMPLES, meEBDigiADCAnalog_, meEBDigiADCg12_, meEBDigiADCg1_, meEBDigiADCg6_, meEBDigiADCGlobal_, meEBDigiADCgS_, meEBDigiGain_, meEBDigiMultiplicity_, meEBDigiOccupancy_, meEBMaximumgt100ADC_, meEBMaximumgt10ADC_, meEBnADCafterSwitch_, meEBPedestal_, edm::Handle< T >::product(), DetId::rawId(), compare_using_db::sample, and EcalDataFrame::size().
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 63 of file EcalBarrelDigisValidation.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DQMStore::IBooker::bookProfile(), timingPdfMaker::histo, i, meEBDigiADCAnalog_, meEBDigiADCg12_, meEBDigiADCg1_, meEBDigiADCg6_, meEBDigiADCGlobal_, meEBDigiADCgS_, meEBDigiGain_, meEBDigiMultiplicity_, meEBDigiOccupancy_, meEBMaximumgt100ADC_, meEBMaximumgt10ADC_, meEBnADCafterSwitch_, meEBPedestal_, and DQMStore::IBooker::setCurrentFolder().
|
protected |
Definition at line 246 of file EcalBarrelDigisValidation.cc.
References barrelADCtoGeV_, endcapADCtoGeV_, EcalMGPAGainRatio::gain12Over6(), EcalMGPAGainRatio::gain6Over1(), gainConv_, edm::EventSetup::get(), EcalADCToGeVConstant::getEBValue(), EcalADCToGeVConstant::getEEValue(), LogDebug, and edm::ESHandle< class >::product().
Referenced by dqmBeginRun().
|
overrideprotectedvirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 114 of file EcalBarrelDigisValidation.cc.
References checkCalibrations().
|
private |
Definition at line 68 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), checkCalibrations(), and EcalBarrelDigisValidation().
|
private |
Definition at line 64 of file EcalBarrelDigisValidation.h.
Referenced by analyze().
|
private |
Definition at line 69 of file EcalBarrelDigisValidation.h.
Referenced by checkCalibrations(), and EcalBarrelDigisValidation().
|
private |
Definition at line 66 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), checkCalibrations(), and EcalBarrelDigisValidation().
|
private |
Definition at line 77 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalBarrelDigisValidation().
|
private |
Definition at line 82 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalBarrelDigisValidation().
|
private |
Definition at line 80 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalBarrelDigisValidation().
|
private |
Definition at line 81 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalBarrelDigisValidation().
|
private |
Definition at line 75 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalBarrelDigisValidation().
|
private |
Definition at line 79 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalBarrelDigisValidation().
|
private |
Definition at line 84 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalBarrelDigisValidation().
|
private |
Definition at line 73 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalBarrelDigisValidation().
|
private |
Definition at line 71 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalBarrelDigisValidation().
|
private |
Definition at line 88 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalBarrelDigisValidation().
|
private |
Definition at line 90 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalBarrelDigisValidation().
|
private |
Definition at line 92 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalBarrelDigisValidation().
|
private |
Definition at line 86 of file EcalBarrelDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalBarrelDigisValidation().
|
private |
Definition at line 62 of file EcalBarrelDigisValidation.h.
|
private |
Definition at line 60 of file EcalBarrelDigisValidation.h.
Referenced by EcalBarrelDigisValidation().