#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 | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
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) |
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 |
const DTGeometry * | muonGeom |
edm::ESGetToken< DTGeometry, MuonGeometryRecord > | muonGeomToken_ |
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 |
Definition at line 37 of file DTOccupancyTestML.h.
DTOccupancyTestML::DTOccupancyTestML | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 29 of file DTOccupancyTestML.cc.
References bookingdone, edm::ParameterSet::getUntrackedParameter(), lsCounter, nevents, nMinEvts, nMinEvtsPC, nZeroEvtsPC, rootFile, runOnAllHitsOccupancies, runOnInTimeOccupancies, runOnNoiseOccupancies, tpMode, and writeRootFile.
|
override |
|
overrideprotected |
BeginRun.
Definition at line 67 of file DTOccupancyTestML.cc.
References visDQMUpload::context, muonGeom, and muonGeomToken_.
|
private |
book the summary histograms
Definition at line 216 of file DTOccupancyTestML.cc.
References dqm::implementation::IBooker::book2D(), printsummarytable::folder, HltBtagPostValidation_cff::histoName, dtResolutionTest_cfi::histoTag, dqm::implementation::NavigatorBase::setCurrentFolder(), topFolder(), tpMode, makeMuonMisalignmentScenario::wheel, and wheelHistos.
Referenced by dqmEndLuminosityBlock().
|
overrideprotectedvirtual |
Endjob.
Implements DQMEDHarvester.
Definition at line 205 of file DTOccupancyTestML.cc.
References rootFile, and writeRootFile.
|
overrideprotectedvirtual |
DQM Client Diagnostic.
Reimplemented from DQMEDHarvester.
Definition at line 74 of file DTOccupancyTestML.cc.
References dqm::implementation::IBooker::book2D(), bookHistos(), bookingdone, relativeConstraints::chamber, DTGeometry::chambers(), chambers, tensorflow::closeSession(), tensorflow::createSession(), dqm::impl::MonitorElement::Fill(), edm::FileInPath::fullPath(), dqm::implementation::IGetter::get(), dqm::impl::MonitorElement::getBinContent(), dqm::impl::MonitorElement::getFloatValue(), getMEName(), dqm::legacy::MonitorElement::getTH2F(), glbSummaryHisto, timingPdfMaker::histo, createfilelist::int, tensorflow::loadGraphDef(), lsCounter, muonGeom, nameMonitoredHisto, nChannelDead, nChannelTotal, nMinEvts, dqm::impl::MonitorElement::Reset(), mps_fire::result, runOccupancyTest(), runOnAllHitsOccupancies, runOnInTimeOccupancies, runOnNoiseOccupancies, nano_mu_digi_cff::sector, DTChamberId::sector(), dqm::impl::MonitorElement::setAxisTitle(), dqm::impl::MonitorElement::setBinContent(), dqm::implementation::NavigatorBase::setCurrentFolder(), dqm::impl::MonitorElement::setEntries(), DTChamberId::station(), summaryHisto, runGCPTkAlMap::title, topFolder(), tpMode, DTChamberId::wheel(), wheelHistos, and writeRootFile.
|
private |
Definition at line 262 of file DTOccupancyTestML.cc.
References DTRecHitClients_cfi::doall, timingPdfMaker::histo, mps_fire::i, and dqmiolumiharvest::j.
|
private |
Get the ME name.
Definition at line 243 of file DTOccupancyTestML.cc.
References dtChamberEfficiencyTest_cfi::folderRoot, HltBtagPostValidation_cff::histoName, dtResolutionTest_cfi::histoTag, nano_mu_digi_cff::sector, DTChamberId::sector(), DTChamberId::station(), relativeConstraints::station, topFolder(), DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
Referenced by dqmEndLuminosityBlock().
|
private |
Definition at line 350 of file DTOccupancyTestML.cc.
References mps_fire::i, PixelMapPlotter::inputs, SiStripPI::min, and findQualityFiles::size.
Referenced by runOccupancyTest().
|
private |
Definition at line 277 of file DTOccupancyTestML.cc.
References DTTopology::channels(), DTTopology::firstChannel(), timingPdfMaker::histo, mps_fire::i, input, interpolateLayers(), nano_mu_digi_cff::layer, DTGeometry::layer(), LogTrace, muonGeom, PatBasicFWLiteJetAnalyzer_Selector_cfg::outputs, tensorflow::run(), DTLayer::specificTopology(), DTChamberId::station(), nano_mu_digi_cff::superLayer, and heppy_batch::val.
Referenced by dqmEndLuminosityBlock().
|
private |
Definition at line 370 of file DTOccupancyTestML.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and tpMode.
Referenced by bookHistos(), dqmEndLuminosityBlock(), and getMEName().
|
private |
Definition at line 106 of file DTOccupancyTestML.h.
Referenced by dqmEndLuminosityBlock(), and DTOccupancyTestML().
|
private |
Definition at line 87 of file DTOccupancyTestML.h.
Referenced by dqmEndLuminosityBlock().
|
private |
Definition at line 91 of file DTOccupancyTestML.h.
Referenced by dqmEndLuminosityBlock(), and DTOccupancyTestML().
|
private |
Definition at line 89 of file DTOccupancyTestML.h.
|
private |
Definition at line 82 of file DTOccupancyTestML.h.
Referenced by beginRun(), dqmEndLuminosityBlock(), and runOccupancyTest().
|
private |
Definition at line 81 of file DTOccupancyTestML.h.
Referenced by beginRun().
|
private |
Definition at line 104 of file DTOccupancyTestML.h.
Referenced by dqmEndLuminosityBlock().
|
private |
Definition at line 109 of file DTOccupancyTestML.h.
Referenced by dqmEndLuminosityBlock().
|
private |
Definition at line 108 of file DTOccupancyTestML.h.
Referenced by dqmEndLuminosityBlock().
|
private |
Definition at line 79 of file DTOccupancyTestML.h.
Referenced by DTOccupancyTestML().
|
private |
Definition at line 92 of file DTOccupancyTestML.h.
Referenced by dqmEndLuminosityBlock(), and DTOccupancyTestML().
|
private |
Definition at line 93 of file DTOccupancyTestML.h.
Referenced by DTOccupancyTestML().
|
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.
Referenced by DTOccupancyTestML().
|
private |
Definition at line 97 of file DTOccupancyTestML.h.
Referenced by dqmEndJob(), and DTOccupancyTestML().
|
private |
Definition at line 101 of file DTOccupancyTestML.h.
Referenced by dqmEndLuminosityBlock(), and DTOccupancyTestML().
|
private |
Definition at line 103 of file DTOccupancyTestML.h.
Referenced by dqmEndLuminosityBlock(), and DTOccupancyTestML().
|
private |
Definition at line 102 of file DTOccupancyTestML.h.
Referenced by dqmEndLuminosityBlock(), and DTOccupancyTestML().
|
private |
Definition at line 86 of file DTOccupancyTestML.h.
Referenced by dqmEndLuminosityBlock().
|
private |
Definition at line 99 of file DTOccupancyTestML.h.
Referenced by bookHistos(), dqmEndLuminosityBlock(), DTOccupancyTestML(), and topFolder().
|
private |
Definition at line 85 of file DTOccupancyTestML.h.
Referenced by bookHistos(), and dqmEndLuminosityBlock().
|
private |
Definition at line 96 of file DTOccupancyTestML.h.
Referenced by dqmEndJob(), dqmEndLuminosityBlock(), and DTOccupancyTestML().