#include <EcalURecHitHists.h>
Public Member Functions | |
EcalURecHitHists (const edm::ParameterSet &) | |
~EcalURecHitHists () override | |
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 |
~EDAnalyzer () override | |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
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 | initHists (int) |
std::string | intToString (int num) |
Private Attributes | |
TH1F * | allFedsHist_ |
TH1F * | allFedsTimingHist_ |
edm::InputTag | EBUncalibratedRecHitCollection_ |
const EcalElectronicsMapping * | ecalElectronicsMap_ |
edm::InputTag | EEUncalibratedRecHitCollection_ |
EcalFedMap * | fedMap_ |
std::map< int, TH1F * > | FEDsAndHists_ |
std::map< int, TH1F * > | FEDsAndTimingHists_ |
TFile * | file |
std::string | fileName_ |
double | histRangeMax_ |
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::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
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) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 55 of file EcalURecHitHists.h.
|
explicit |
Definition at line 36 of file EcalURecHitHists.cc.
References allFedsHist_, allFedsTimingHist_, fedMap_, edm::ParameterSet::getUntrackedParameter(), histRangeMax_, histRangeMin_, createfilelist::int, maskedChannels_, maskedEBs_, and maskedFEDs_.
|
override |
Definition at line 79 of file EcalURecHitHists.cc.
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 90 of file EcalURecHitHists.cc.
References allFedsHist_, allFedsTimingHist_, EcalUncalibratedRecHit::amplitude(), edm::SortedCollection< T, SORT >::begin(), EcalElectronicsId::dccId(), EBUncalibratedRecHitCollection_, ecalElectronicsMap_, EEUncalibratedRecHitCollection_, edm::SortedCollection< T, SORT >::end(), edm::EventID::event(), FEDsAndHists_, FEDsAndTimingHists_, spr::find(), edm::Event::getByLabel(), EcalElectronicsMapping::getElectronicsId(), ecalpyutils::hashedIndex(), EBDetId::hashedIndex(), EEDetId::hashedIndex(), EBDetId::ic(), EEDetId::ic(), EcalUncalibratedRecHit::id(), edm::EventBase::id(), initHists(), EcalUncalibratedRecHit::jitter(), LogDebug, maskedChannels_, maskedFEDs_, mps_fire::result, edm::EventID::run(), runNum_, and edm::SortedCollection< T, SORT >::size().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 218 of file EcalURecHitHists.cc.
References ecalElectronicsMap_, edm::EventSetup::get(), and edm::ESHandle< T >::product().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 227 of file EcalURecHitHists.cc.
References allFedsHist_, allFedsTimingHist_, MessageLogger_cfi::cerr, dir, fedMap_, FEDsAndHists_, FEDsAndTimingHists_, fileName_, EcalFedMap::getSliceFromFed(), create_public_lumi_plots::hist, intToString(), maskedChannels_, runNum_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by o2olib.O2ORunMgr::executeJob().
|
private |
Definition at line 193 of file EcalURecHitHists.cc.
References fedMap_, FEDsAndHists_, FEDsAndTimingHists_, EcalFedMap::getSliceFromFed(), create_public_lumi_plots::hist, histRangeMax_, histRangeMin_, createfilelist::int, and intToString().
Referenced by analyze().
|
private |
Definition at line 274 of file EcalURecHitHists.cc.
Referenced by endJob(), and initHists().
|
private |
Definition at line 82 of file EcalURecHitHists.h.
Referenced by analyze(), EcalURecHitHists(), and endJob().
|
private |
Definition at line 83 of file EcalURecHitHists.h.
Referenced by analyze(), EcalURecHitHists(), and endJob().
|
private |
Definition at line 70 of file EcalURecHitHists.h.
Referenced by analyze().
|
private |
Definition at line 87 of file EcalURecHitHists.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 71 of file EcalURecHitHists.h.
Referenced by analyze().
|
private |
Definition at line 86 of file EcalURecHitHists.h.
Referenced by EcalURecHitHists(), endJob(), and initHists().
|
private |
Definition at line 79 of file EcalURecHitHists.h.
Referenced by analyze(), endJob(), and initHists().
|
private |
Definition at line 80 of file EcalURecHitHists.h.
Referenced by analyze(), endJob(), and initHists().
|
private |
Definition at line 85 of file EcalURecHitHists.h.
Referenced by ztee.GZipLog::finish().
|
private |
Definition at line 74 of file EcalURecHitHists.h.
Referenced by endJob().
|
private |
Definition at line 73 of file EcalURecHitHists.h.
Referenced by EcalURecHitHists(), and initHists().
|
private |
Definition at line 73 of file EcalURecHitHists.h.
Referenced by EcalURecHitHists(), and initHists().
|
private |
Definition at line 76 of file EcalURecHitHists.h.
Referenced by analyze(), EcalURecHitHists(), and endJob().
|
private |
Definition at line 78 of file EcalURecHitHists.h.
Referenced by EcalURecHitHists().
|
private |
Definition at line 77 of file EcalURecHitHists.h.
Referenced by analyze(), and EcalURecHitHists().
|
private |
Definition at line 72 of file EcalURecHitHists.h.