#include <EcalEndcapDigisValidation.h>
Protected Member Functions | |
void | analyze (edm::Event const &e, edm::EventSetup const &c) |
Analyze. More... | |
void | checkCalibrations (edm::EventSetup const &c) |
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 < EEDigiCollection > | EEdigiCollectionToken_ |
double | endcapADCtoGeV_ |
std::map< int, double, std::less< int > > | gainConv_ |
MonitorElement * | meEEDigiADCAnalog_ [10] |
MonitorElement * | meEEDigiADCg12_ [10] |
MonitorElement * | meEEDigiADCg1_ [10] |
MonitorElement * | meEEDigiADCg6_ [10] |
MonitorElement * | meEEDigiADCGlobal_ |
MonitorElement * | meEEDigiADCgS_ [10] |
MonitorElement * | meEEDigiGain_ [10] |
MonitorElement * | meEEDigiMultiplicityzm_ |
MonitorElement * | meEEDigiMultiplicityzp_ |
MonitorElement * | meEEDigiOccupancyzm_ |
MonitorElement * | meEEDigiOccupancyzp_ |
MonitorElement * | meEEMaximumgt100ADC_ |
MonitorElement * | meEEMaximumgt20ADC_ |
MonitorElement * | meEEnADCafterSwitch_ |
MonitorElement * | meEEPedestal_ |
std::string | outputFile_ |
bool | verbose_ |
Definition at line 35 of file EcalEndcapDigisValidation.h.
|
private |
Definition at line 37 of file EcalEndcapDigisValidation.h.
EcalEndcapDigisValidation::EcalEndcapDigisValidation | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 15 of file EcalEndcapDigisValidation.cc.
References barrelADCtoGeV_, endcapADCtoGeV_, gainConv_, edm::ParameterSet::getUntrackedParameter(), i, meEEDigiADCAnalog_, meEEDigiADCg12_, meEEDigiADCg1_, meEEDigiADCg6_, meEEDigiADCGlobal_, meEEDigiADCgS_, meEEDigiGain_, meEEDigiMultiplicityzm_, meEEDigiMultiplicityzp_, meEEDigiOccupancyzm_, meEEDigiOccupancyzp_, meEEMaximumgt100ADC_, meEEMaximumgt20ADC_, meEEnADCafterSwitch_, meEEPedestal_, and verbose_.
EcalEndcapDigisValidation::~EcalEndcapDigisValidation | ( | ) |
|
protectedvirtual |
Analyze.
Implements edm::stream::EDAnalyzerBase.
Definition at line 123 of file EcalEndcapDigisValidation.cc.
References EcalMGPASample::adc(), EEdigiCollectionToken_, endcapADCtoGeV_, MonitorElement::Fill(), gainConv_, EcalMGPASample::gainId(), edm::Event::getByToken(), i, EEDataFrame::id(), edm::HandleBase::isValid(), EEDetId::ix(), EEDetId::iy(), LogDebug, EcalDataFrame::MAXSAMPLES, meEEDigiADCAnalog_, meEEDigiADCg12_, meEEDigiADCg1_, meEEDigiADCg6_, meEEDigiADCGlobal_, meEEDigiADCgS_, meEEDigiGain_, meEEDigiMultiplicityzm_, meEEDigiMultiplicityzp_, meEEDigiOccupancyzm_, meEEDigiOccupancyzp_, meEEMaximumgt100ADC_, meEEMaximumgt20ADC_, meEEnADCafterSwitch_, meEEPedestal_, ecalTB2006H4_GenSimDigiReco_cfg::mySample, edm::Handle< T >::product(), DetId::rawId(), compare_using_db::sample, EcalDataFrame::size(), and EEDetId::zside().
|
overridevirtual |
Implements DQMEDAnalyzer.
Definition at line 60 of file EcalEndcapDigisValidation.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DQMStore::IBooker::bookProfile(), timingPdfMaker::histo, i, meEEDigiADCAnalog_, meEEDigiADCg12_, meEEDigiADCg1_, meEEDigiADCg6_, meEEDigiADCGlobal_, meEEDigiADCgS_, meEEDigiGain_, meEEDigiMultiplicityzm_, meEEDigiMultiplicityzp_, meEEDigiOccupancyzm_, meEEDigiOccupancyzp_, meEEMaximumgt100ADC_, meEEMaximumgt20ADC_, meEEnADCafterSwitch_, meEEPedestal_, and DQMStore::IBooker::setCurrentFolder().
|
protected |
Definition at line 253 of file EcalEndcapDigisValidation.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().
|
overridevirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 116 of file EcalEndcapDigisValidation.cc.
References checkCalibrations().
|
private |
Definition at line 67 of file EcalEndcapDigisValidation.h.
Referenced by checkCalibrations(), and EcalEndcapDigisValidation().
|
private |
Definition at line 63 of file EcalEndcapDigisValidation.h.
Referenced by analyze().
|
private |
Definition at line 68 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), checkCalibrations(), and EcalEndcapDigisValidation().
|
private |
Definition at line 65 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), checkCalibrations(), and EcalEndcapDigisValidation().
|
private |
Definition at line 78 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalEndcapDigisValidation().
|
private |
Definition at line 83 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalEndcapDigisValidation().
|
private |
Definition at line 81 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalEndcapDigisValidation().
|
private |
Definition at line 82 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalEndcapDigisValidation().
|
private |
Definition at line 76 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalEndcapDigisValidation().
|
private |
Definition at line 80 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalEndcapDigisValidation().
|
private |
Definition at line 85 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalEndcapDigisValidation().
|
private |
Definition at line 74 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalEndcapDigisValidation().
|
private |
Definition at line 73 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalEndcapDigisValidation().
|
private |
Definition at line 71 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalEndcapDigisValidation().
|
private |
Definition at line 70 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalEndcapDigisValidation().
|
private |
Definition at line 89 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalEndcapDigisValidation().
|
private |
Definition at line 91 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalEndcapDigisValidation().
|
private |
Definition at line 93 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalEndcapDigisValidation().
|
private |
Definition at line 87 of file EcalEndcapDigisValidation.h.
Referenced by analyze(), bookHistograms(), and EcalEndcapDigisValidation().
|
private |
Definition at line 61 of file EcalEndcapDigisValidation.h.
|
private |
Definition at line 59 of file EcalEndcapDigisValidation.h.
Referenced by EcalEndcapDigisValidation().