#include <EcalDigisValidation.h>
Public Member Functions | |
EcalDigisValidation (const edm::ParameterSet &ps) | |
Constructor. More... | |
~EcalDigisValidation () | |
Destructor. More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Protected Member Functions | |
void | analyze (edm::Event const &e, edm::EventSetup const &c) |
Analyze. More... | |
void | beginRun (edm::Run const &, edm::EventSetup const &c) |
void | endJob (void) |
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) |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Definition at line 47 of file EcalDigisValidation.h.
|
private |
Definition at line 49 of file EcalDigisValidation.h.
EcalDigisValidation::EcalDigisValidation | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 14 of file EcalDigisValidation.cc.
References barrelADCtoGeV_, dbe_, endcapADCtoGeV_, gainConv_, edm::ParameterSet::getUntrackedParameter(), timingPdfMaker::histo, meEBDigiSimRatio_, meEBDigiSimRatiogt100ADC_, meEBDigiSimRatiogt10ADC_, meEEDigiSimRatio_, meEEDigiSimRatiogt100ADC_, meEEDigiSimRatiogt20ADC_, meGunEnergy_, meGunEta_, meGunPhi_, cppFunctionSkipper::operator, outputFile_, AlCaHLTBitMon_QueryRunRegistry::string, and verbose_.
EcalDigisValidation::~EcalDigisValidation | ( | ) |
Destructor.
Definition at line 124 of file EcalDigisValidation.cc.
References dbe_, outputFile_, and DQMStore::save().
|
protectedvirtual |
Analyze.
Implements edm::EDAnalyzer.
Definition at line 140 of file EcalDigisValidation.cc.
References funct::abs(), EcalMGPASample::adc(), barrelADCtoGeV_, HLT_50ns_5e33_v1_cff::barrelHits, crossingFramePCaloHitEBToken_, crossingFramePCaloHitEEToken_, crossingFramePCaloHitESToken_, EBdigiCollectionToken_, EEdigiCollectionToken_, endcapADCtoGeV_, HLT_50ns_5e33_v1_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(), 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(), 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().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 130 of file EcalDigisValidation.cc.
References checkCalibrations().
|
private |
Definition at line 441 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 beginRun().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 136 of file EcalDigisValidation.cc.
|
private |
Definition at line 92 of file EcalDigisValidation.h.
Referenced by analyze(), checkCalibrations(), and EcalDigisValidation().
|
private |
Definition at line 88 of file EcalDigisValidation.h.
Referenced by analyze().
|
private |
Definition at line 88 of file EcalDigisValidation.h.
Referenced by analyze().
|
private |
Definition at line 88 of file EcalDigisValidation.h.
Referenced by analyze().
|
private |
Definition at line 76 of file EcalDigisValidation.h.
Referenced by EcalDigisValidation(), and ~EcalDigisValidation().
|
private |
Definition at line 84 of file EcalDigisValidation.h.
Referenced by analyze().
|
private |
Definition at line 85 of file EcalDigisValidation.h.
Referenced by analyze().
|
private |
Definition at line 93 of file EcalDigisValidation.h.
Referenced by analyze(), checkCalibrations(), and EcalDigisValidation().
|
private |
Definition at line 86 of file EcalDigisValidation.h.
Referenced by analyze().
|
private |
Definition at line 81 of file EcalDigisValidation.h.
Referenced by analyze().
|
private |
Definition at line 82 of file EcalDigisValidation.h.
Referenced by analyze().
|
private |
Definition at line 90 of file EcalDigisValidation.h.
Referenced by analyze(), checkCalibrations(), and EcalDigisValidation().
|
private |
Definition at line 80 of file EcalDigisValidation.h.
Referenced by analyze().
|
private |
Definition at line 99 of file EcalDigisValidation.h.
Referenced by analyze(), and EcalDigisValidation().
|
private |
Definition at line 105 of file EcalDigisValidation.h.
Referenced by analyze(), and EcalDigisValidation().
|
private |
Definition at line 102 of file EcalDigisValidation.h.
Referenced by analyze(), and EcalDigisValidation().
|
private |
Definition at line 100 of file EcalDigisValidation.h.
Referenced by analyze(), and EcalDigisValidation().
|
private |
Definition at line 106 of file EcalDigisValidation.h.
Referenced by analyze(), and EcalDigisValidation().
|
private |
Definition at line 103 of file EcalDigisValidation.h.
Referenced by analyze(), and EcalDigisValidation().
|
private |
Definition at line 95 of file EcalDigisValidation.h.
Referenced by analyze(), and EcalDigisValidation().
|
private |
Definition at line 96 of file EcalDigisValidation.h.
Referenced by analyze(), and EcalDigisValidation().
|
private |
Definition at line 97 of file EcalDigisValidation.h.
Referenced by analyze(), and EcalDigisValidation().
|
private |
Definition at line 78 of file EcalDigisValidation.h.
Referenced by EcalDigisValidation(), and ~EcalDigisValidation().
|
private |
Definition at line 74 of file EcalDigisValidation.h.
Referenced by EcalDigisValidation().