#include <EcalURecHitHists.h>
Private Member Functions | |
void | analyze (edm::Event const &, edm::EventSetup const &) override |
void | beginRun (edm::Run const &, edm::EventSetup const &) override |
void | endJob () override |
void | endRun (edm::Run const &, edm::EventSetup const &) override |
void | initHists (int) |
std::string | intToString (int num) |
Private Attributes | |
TH1F * | allFedsHist_ |
TH1F * | allFedsTimingHist_ |
const edm::InputTag | ebUncalibratedRecHitCollection_ |
const edm::EDGetTokenT< EcalUncalibratedRecHitCollection > | ebUncalibRecHitsToken_ |
const EcalElectronicsMapping * | ecalElectronicsMap_ |
const edm::ESGetToken< EcalElectronicsMapping, EcalMappingRcd > | ecalMappingToken_ |
const edm::InputTag | eeUncalibratedRecHitCollection_ |
const edm::EDGetTokenT< EcalUncalibratedRecHitCollection > | eeUncalibRecHitsToken_ |
EcalFedMap * | fedMap_ |
std::map< int, TH1F * > | FEDsAndHists_ |
std::map< int, TH1F * > | FEDsAndTimingHists_ |
TFile * | file |
std::string | fileName_ |
const double | histRangeMax_ |
const double | histRangeMin_ |
std::vector< int > | maskedChannels_ |
std::vector< std::string > | maskedEBs_ |
std::vector< int > | maskedFEDs_ |
int | runNum_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 54 of file EcalURecHitHists.h.
|
explicit |
Definition at line 36 of file EcalURecHitHists.cc.
References allFedsHist_, allFedsTimingHist_, edm::BeginRun, fedMap_, EcalFedMap::getFedFromSlice(), edm::ParameterSet::getUntrackedParameter(), histRangeMax_, histRangeMin_, createfilelist::int, maskedChannels_, maskedEBs_, and maskedFEDs_.
|
override |
Definition at line 77 of file EcalURecHitHists.cc.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 84 of file EcalURecHitHists.cc.
References allFedsHist_, allFedsTimingHist_, edm::SortedCollection< T, SORT >::begin(), EcalElectronicsId::dccId(), ebUncalibRecHitsToken_, ecalElectronicsMap_, eeUncalibRecHitsToken_, edm::SortedCollection< T, SORT >::end(), FEDsAndHists_, FEDsAndTimingHists_, spr::find(), EcalElectronicsMapping::getElectronicsId(), ecalpyutils::hashedIndex(), EBDetId::hashedIndex(), EEDetId::hashedIndex(), EBDetId::ic(), EEDetId::ic(), hit::id, iEvent, initHists(), LogDebug, maskedChannels_, maskedFEDs_, mps_fire::result, runNum_, and edm::SortedCollection< T, SORT >::size().
|
overrideprivate |
Definition at line 199 of file EcalURecHitHists.cc.
References HltBtagPostValidation_cff::c, ecalElectronicsMap_, and ecalMappingToken_.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 206 of file EcalURecHitHists.cc.
References allFedsHist_, allFedsTimingHist_, DMR_cfg::cerr, ewkTauDQM_cfi::channels, DeadROC_duringRun::dir, fedMap_, FEDsAndHists_, FEDsAndTimingHists_, fileName_, EcalFedMap::getSliceFromFed(), compareTotals::hist, intToString(), maskedChannels_, runNum_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by o2olib.O2ORunMgr::executeJob().
|
overrideprivate |
Definition at line 203 of file EcalURecHitHists.cc.
|
private |
Definition at line 176 of file EcalURecHitHists.cc.
References fedMap_, FEDsAndHists_, FEDsAndTimingHists_, EcalFedMap::getSliceFromFed(), compareTotals::hist, histRangeMax_, histRangeMin_, createfilelist::int, and intToString().
Referenced by analyze().
|
private |
Definition at line 245 of file EcalURecHitHists.cc.
References EgammaValidation_cff::num.
Referenced by endJob(), and initHists().
|
private |
Definition at line 86 of file EcalURecHitHists.h.
Referenced by analyze(), EcalURecHitHists(), and endJob().
|
private |
Definition at line 87 of file EcalURecHitHists.h.
Referenced by analyze(), EcalURecHitHists(), and endJob().
|
private |
Definition at line 69 of file EcalURecHitHists.h.
|
private |
Definition at line 72 of file EcalURecHitHists.h.
Referenced by analyze().
|
private |
Definition at line 91 of file EcalURecHitHists.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 74 of file EcalURecHitHists.h.
Referenced by beginRun().
|
private |
Definition at line 70 of file EcalURecHitHists.h.
|
private |
Definition at line 73 of file EcalURecHitHists.h.
Referenced by analyze().
|
private |
Definition at line 90 of file EcalURecHitHists.h.
Referenced by EcalURecHitHists(), endJob(), and initHists().
|
private |
Definition at line 83 of file EcalURecHitHists.h.
Referenced by analyze(), endJob(), and initHists().
|
private |
Definition at line 84 of file EcalURecHitHists.h.
Referenced by analyze(), endJob(), and initHists().
|
private |
Definition at line 89 of file EcalURecHitHists.h.
Referenced by python.rootplot.utilities.RootFile::cd(), ztee.GZipLog::finish(), ztee.GZipLog::flush_block(), python.rootplot.utilities.RootFile::get(), tfile.TFileService::stop(), core.VertexHistograms.VertexHistograms::write(), core.TreeAnalyzerNumpy.TreeAnalyzerNumpy::write(), and ztee.GZipLog::write_block().
|
private |
Definition at line 78 of file EcalURecHitHists.h.
Referenced by endJob().
|
private |
Definition at line 77 of file EcalURecHitHists.h.
Referenced by EcalURecHitHists(), and initHists().
|
private |
Definition at line 77 of file EcalURecHitHists.h.
Referenced by EcalURecHitHists(), and initHists().
|
private |
Definition at line 80 of file EcalURecHitHists.h.
Referenced by analyze(), EcalURecHitHists(), and endJob().
|
private |
Definition at line 82 of file EcalURecHitHists.h.
Referenced by EcalURecHitHists().
|
private |
Definition at line 81 of file EcalURecHitHists.h.
Referenced by analyze(), and EcalURecHitHists().
|
private |
Definition at line 76 of file EcalURecHitHists.h.