#include <EcalDigisValidation.h>
Protected Member Functions | |
void | analyze (edm::Event const &e, edm::EventSetup const &c) override |
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 | ( | ) |
|
overrideprotectedvirtual |
Analyze.
Implements edm::stream::EDAnalyzerBase.
Definition at line 117 of file EcalDigisValidation.cc.
References funct::abs(), EcalMGPASample::adc(), barrelADCtoGeV_, cosmicBasicClusters_cfi::barrelHits, crossingFramePCaloHitEBToken_, crossingFramePCaloHitEEToken_, crossingFramePCaloHitESToken_, EBdigiCollectionToken_, EEdigiCollectionToken_, endcapADCtoGeV_, cosmicBasicClusters_cfi::endcapHits, ESdigiCollectionToken_, edm::EventID::event(), MonitorElement::Fill(), g4TkInfoToken_, g4VtxInfoToken_, gainConv_, EcalMGPASample::gainId(), edm::Event::getByToken(), edm::HepMCProduct::GetEvent(), HepMCToken_, EEDataFrame::id(), EBDataFrame::id(), edm::EventBase::id(), EBDetId::ieta(), createfilelist::int, EBDetId::iphi(), gedGsfElectrons_cfi::isBarrel, GeomDetEnumerators::isEndcap(), edm::HandleBase::isValid(), EEDetId::ix(), EEDetId::iy(), cmsBatch::log, LogDebug, M_PI, EcalDataFrame::MAXSAMPLES, meEBDigiSimRatio_, meEBDigiSimRatiogt100ADC_, meEBDigiSimRatiogt10ADC_, meEEDigiSimRatio_, meEEDigiSimRatiogt100ADC_, meEEDigiSimRatiogt20ADC_, meGunEnergy_, meGunEta_, meGunPhi_, ecalTB2006H4_GenSimDigiReco_cfg::mySample, AlCaHLTBitMon_ParallelJobs::p, ESDetId::plane(), dataAnalyzerFineBiningParameters_cff::Pmax, gedPhotons_cfi::preshowerHits, edm::Handle< T >::product(), DetId::rawId(), edm::DataFrameContainer::reserve(), edm::EventID::run(), simplePhotonAnalyzer_cfi::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(), trackerHits::histo, meEBDigiSimRatio_, meEBDigiSimRatiogt100ADC_, meEBDigiSimRatiogt10ADC_, meEEDigiSimRatio_, meEEDigiSimRatiogt100ADC_, meEEDigiSimRatiogt20ADC_, meGunEnergy_, meGunEta_, meGunPhi_, and DQMStore::IBooker::setCurrentFolder().
|
private |
Definition at line 406 of file EcalDigisValidation.cc.
References barrelADCtoGeV_, endcapADCtoGeV_, EcalMGPAGainRatio::gain12Over6(), EcalMGPAGainRatio::gain6Over1(), gainConv_, edm::EventSetup::get(), EcalADCToGeVConstant::getEBValue(), EcalADCToGeVConstant::getEEValue(), LogDebug, and edm::ESHandle< T >::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().