#include <EcalDigisValidation.h>
Protected Member Functions | |
void | analyze (edm::Event const &e, edm::EventSetup const &c) |
Analyze. More... | |
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 Member Functions | |
void | checkCalibrations (edm::EventSetup const &c) |
Definition at line 48 of file EcalDigisValidation.h.
|
private |
Definition at line 50 of file EcalDigisValidation.h.
EcalDigisValidation::EcalDigisValidation | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 14 of file EcalDigisValidation.cc.
References barrelADCtoGeV_, endcapADCtoGeV_, gainConv_, edm::ParameterSet::getUntrackedParameter(), meEBDigiSimRatio_, meEBDigiSimRatiogt100ADC_, meEBDigiSimRatiogt10ADC_, meEEDigiSimRatio_, meEEDigiSimRatiogt100ADC_, meEEDigiSimRatiogt20ADC_, meGunEnergy_, meGunEta_, meGunPhi_, outputFile_, AlCaHLTBitMon_QueryRunRegistry::string, and verbose_.
EcalDigisValidation::~EcalDigisValidation | ( | ) |
|
protectedvirtual |
Analyze.
Implements edm::stream::EDAnalyzerBase.
Definition at line 117 of file EcalDigisValidation.cc.
References funct::abs(), EcalMGPASample::adc(), barrelADCtoGeV_, HLT_25ns14e33_v3_cff::barrelHits, crossingFramePCaloHitEBToken_, crossingFramePCaloHitEEToken_, crossingFramePCaloHitESToken_, EBdigiCollectionToken_, EEdigiCollectionToken_, endcapADCtoGeV_, HLT_25ns14e33_v3_cff::endcapHits, ESdigiCollectionToken_, edm::EventID::event(), MonitorElement::Fill(), g4TkInfoToken_, g4VtxInfoToken_, gainConv_, EcalMGPASample::gainId(), edm::Event::getByToken(), HepMCToken_, EEDataFrame::id(), EBDataFrame::id(), edm::EventBase::id(), EBDetId::ieta(), EBDetId::iphi(), GeomDetEnumerators::isBarrel(), GeomDetEnumerators::isEndcap(), edm::HandleBase::isValid(), EEDetId::ix(), EEDetId::iy(), create_public_lumi_plots::log, LogDebug, M_PI, EcalDataFrame::MAXSAMPLES, meEBDigiSimRatio_, meEBDigiSimRatiogt100ADC_, meEBDigiSimRatiogt10ADC_, meEEDigiSimRatio_, meEEDigiSimRatiogt100ADC_, meEEDigiSimRatiogt20ADC_, meGunEnergy_, meGunEta_, meGunPhi_, ecalTB2006H4_GenSimDigiReco_cfg::mySample, AlCaHLTBitMon_ParallelJobs::p, ESDetId::plane(), edm::Handle< T >::product(), DetId::rawId(), edm::EventID::run(), compare_using_db::sample, ESDetId::six(), ESDetId::siy(), EcalDataFrame::size(), edm::DataFrameContainer::size(), ESDetId::strip(), funct::tan(), ESDetId::zside(), and EEDetId::zside().
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 82 of file EcalDigisValidation.cc.
References DQMStore::IBooker::book1D(), timingPdfMaker::histo, meEBDigiSimRatio_, meEBDigiSimRatiogt100ADC_, meEBDigiSimRatiogt10ADC_, meEEDigiSimRatio_, meEEDigiSimRatiogt100ADC_, meEEDigiSimRatiogt20ADC_, meGunEnergy_, meGunEta_, meGunPhi_, and DQMStore::IBooker::setCurrentFolder().
|
private |
Definition at line 418 of file EcalDigisValidation.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 76 of file EcalDigisValidation.cc.
References checkCalibrations().
|
private |
Definition at line 88 of file EcalDigisValidation.h.
Referenced by analyze(), checkCalibrations(), and EcalDigisValidation().
|
private |
Definition at line 84 of file EcalDigisValidation.h.
Referenced by analyze().
|
private |
Definition at line 84 of file EcalDigisValidation.h.
Referenced by analyze().
|
private |
Definition at line 84 of file EcalDigisValidation.h.
Referenced by analyze().
|
private |
Definition at line 80 of file EcalDigisValidation.h.
Referenced by analyze().
|
private |
Definition at line 81 of file EcalDigisValidation.h.
Referenced by analyze().
|
private |
Definition at line 89 of file EcalDigisValidation.h.
Referenced by analyze(), checkCalibrations(), and EcalDigisValidation().
|
private |
Definition at line 82 of file EcalDigisValidation.h.
Referenced by analyze().
|
private |
Definition at line 77 of file EcalDigisValidation.h.
Referenced by analyze().
|
private |
Definition at line 78 of file EcalDigisValidation.h.
Referenced by analyze().
|
private |
Definition at line 86 of file EcalDigisValidation.h.
Referenced by analyze(), checkCalibrations(), and EcalDigisValidation().
|
private |
Definition at line 76 of file EcalDigisValidation.h.
Referenced by analyze().
|
private |
Definition at line 95 of file EcalDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalDigisValidation().
|
private |
Definition at line 101 of file EcalDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalDigisValidation().
|
private |
Definition at line 98 of file EcalDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalDigisValidation().
|
private |
Definition at line 96 of file EcalDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalDigisValidation().
|
private |
Definition at line 102 of file EcalDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalDigisValidation().
|
private |
Definition at line 99 of file EcalDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalDigisValidation().
|
private |
Definition at line 91 of file EcalDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalDigisValidation().
|
private |
Definition at line 92 of file EcalDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalDigisValidation().
|
private |
Definition at line 93 of file EcalDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalDigisValidation().
|
private |
Definition at line 74 of file EcalDigisValidation.h.
Referenced by EcalDigisValidation().
|
private |
Definition at line 72 of file EcalDigisValidation.h.
Referenced by EcalDigisValidation().