#include <DTOccupancyTestML.h>
Protected Member Functions | |
void | beginRun (edm::Run const &run, edm::EventSetup const &context) override |
BeginRun. More... | |
void | dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) override |
Endjob. More... | |
void | dqmEndLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override |
DQM Client Diagnostic. More... | |
Protected Member Functions inherited from edm::ProducerBase | |
ProducesCollector | producesCollector () |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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 Member Functions | |
void | bookHistos (DQMStore::IBooker &, const int wheelId, std::string folder, std::string histoTag) |
book the summary histograms More... | |
int | getIntegral (TH2F *histo, int, int, int, int, bool) |
std::string | getMEName (std::string histoTag, const DTChamberId &chId) |
Get the ME name. More... | |
std::vector< float > | interpolateLayers (std::vector< float > const &inputs, int size, int targetSize) |
int | runOccupancyTest (TH2F *histo, const DTChamberId &chId, float &chamberPercentage, tensorflow::GraphDef *graphDef, tensorflow::Session *session) |
std::string | topFolder (bool isBooking) const |
Private Attributes | |
bool | bookingdone |
MonitorElement * | glbSummaryHisto |
int | lsCounter |
std::set< DTLayerId > | monitoredLayers |
edm::ESHandle< DTGeometry > | muonGeom |
std::string | nameMonitoredHisto |
int | nChannelDead |
int | nChannelTotal |
int | nevents |
int | nMinEvts |
int | nMinEvtsPC |
TNtuple * | ntuple |
int | nZeroEvtsPC |
TFile * | rootFile |
bool | runOnAllHitsOccupancies |
bool | runOnInTimeOccupancies |
bool | runOnNoiseOccupancies |
MonitorElement * | summaryHisto |
bool | tpMode |
std::map< int, MonitorElement * > | wheelHistos |
bool | writeRootFile |
Additional Inherited Members | |
Public Types inherited from DQMEDHarvester | |
typedef dqm::harvesting::DQMStore | DQMStore |
typedef dqm::harvesting::MonitorElement | MonitorElement |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Attributes inherited from DQMEDHarvester | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
Definition at line 38 of file DTOccupancyTestML.h.
DTOccupancyTestML::DTOccupancyTestML | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 30 of file DTOccupancyTestML.cc.
References edm::ParameterSet::getUntrackedParameter(), cmsHarvester::nevents, indexGen::rootFile, dtOccupancyTest_cfi::runOnAllHitsOccupancies, dtOccupancyTest_cfi::runOnInTimeOccupancies, and dtOccupancyTest_cfi::runOnNoiseOccupancies.
|
override |
|
overrideprotected |
BeginRun.
Definition at line 67 of file DTOccupancyTestML.cc.
References edm::EventSetup::get().
|
private |
book the summary histograms
Definition at line 217 of file DTOccupancyTestML.cc.
References dqm::dqmstoreimpl::DQMStore::IBooker::book2D(), HltBtagPostValidation_cff::histoName, dqm::impl::MonitorElement::setBinLabel(), dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder(), and makeMuonMisalignmentScenario::wheel.
|
overrideprotectedvirtual |
Endjob.
Implements DQMEDHarvester.
Definition at line 206 of file DTOccupancyTestML.cc.
References indexGen::rootFile.
|
overrideprotectedvirtual |
DQM Client Diagnostic.
Reimplemented from DQMEDHarvester.
Definition at line 74 of file DTOccupancyTestML.cc.
References dqm::dqmstoreimpl::DQMStore::IBooker::book2D(), bookHistos(), relativeConstraints::chamber, chambers, tensorflow::closeSession(), tensorflow::createSession(), edm::FileInPath::fullPath(), dqm::dqmstoreimpl::DQMStore::IGetter::get(), dqm::impl::MonitorElement::getFloatValue(), dqm::legacy::MonitorElement::getTH2F(), timingPdfMaker::histo, createfilelist::int, tensorflow::loadGraphDef(), mps_fire::result, dtOccupancyTest_cfi::runOnAllHitsOccupancies, dtOccupancyTest_cfi::runOnInTimeOccupancies, dtOccupancyTest_cfi::runOnNoiseOccupancies, DTChamberId::sector(), dqm::impl::MonitorElement::setAxisTitle(), dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder(), tensorflow::setLogging(), DTChamberId::station(), overlapproblemtsosanalyzer_cfi::title, and DTChamberId::wheel().
|
private |
Definition at line 263 of file DTOccupancyTestML.cc.
References mps_fire::i, and dqmiolumiharvest::j.
|
private |
Get the ME name.
Definition at line 244 of file DTOccupancyTestML.cc.
References dtChamberEfficiencyTest_cfi::folderRoot, HltBtagPostValidation_cff::histoName, DTChamberId::sector(), DTChamberId::station(), relativeConstraints::station, DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
|
private |
Definition at line 351 of file DTOccupancyTestML.cc.
References mps_fire::i, and findQualityFiles::size.
|
private |
Definition at line 278 of file DTOccupancyTestML.cc.
References mps_fire::i, input, LogTrace, PatBasicFWLiteJetAnalyzer_Selector_cfg::outputs, tensorflow::run(), DTChamberId::station(), and heppy_batch::val.
|
private |
Definition at line 369 of file DTOccupancyTestML.cc.
References AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 106 of file DTOccupancyTestML.h.
|
private |
Definition at line 87 of file DTOccupancyTestML.h.
|
private |
Definition at line 91 of file DTOccupancyTestML.h.
|
private |
Definition at line 89 of file DTOccupancyTestML.h.
|
private |
Definition at line 82 of file DTOccupancyTestML.h.
|
private |
Definition at line 104 of file DTOccupancyTestML.h.
|
private |
Definition at line 109 of file DTOccupancyTestML.h.
|
private |
Definition at line 108 of file DTOccupancyTestML.h.
|
private |
Definition at line 80 of file DTOccupancyTestML.h.
|
private |
Definition at line 92 of file DTOccupancyTestML.h.
|
private |
Definition at line 93 of file DTOccupancyTestML.h.
|
private |
Definition at line 98 of file DTOccupancyTestML.h.
Referenced by hgcalTriggerChains.HGCalTriggerChains::create_sequences(), hgcalTriggerChains.HGCalTriggerChains::create_truth_sequences(), hgcalTriggerChains.HGCalTriggerChains::register_chain(), hgcalTriggerChains.HGCalTriggerChains::register_ntuple(), and hgcalTriggerChains.HGCalTriggerChains::register_truth_chain().
|
private |
Definition at line 94 of file DTOccupancyTestML.h.
|
private |
Definition at line 97 of file DTOccupancyTestML.h.
|
private |
Definition at line 101 of file DTOccupancyTestML.h.
|
private |
Definition at line 103 of file DTOccupancyTestML.h.
|
private |
Definition at line 102 of file DTOccupancyTestML.h.
|
private |
Definition at line 86 of file DTOccupancyTestML.h.
|
private |
Definition at line 99 of file DTOccupancyTestML.h.
|
private |
Definition at line 85 of file DTOccupancyTestML.h.
|
private |
Definition at line 96 of file DTOccupancyTestML.h.