|
| BrilClient (const edm::ParameterSet &ps) |
|
virtual | ~BrilClient () |
|
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override final |
|
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) override |
|
| DQMEDHarvester (void) |
|
virtual void | endJob () override final |
|
virtual void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override final |
|
virtual void | endRun (edm::Run const &, edm::EventSetup const &) override |
|
virtual void | produce (edm::Event &, edm::EventSetup const &) override final |
|
virtual | ~DQMEDHarvester ()=default |
|
| EDProducer ()=default |
|
| EDProducerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
virtual | ~EDProducerBase () |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
|
| ProducerBase () |
|
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
|
std::function< void(BranchDescription const &)> | registrationCallback () const |
| used by the fwk to register list of products More...
|
|
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
|
virtual | ~ProducerBase () noexcept(false) |
|
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) |
|
|
void | beginJob () override |
|
void | dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) override |
|
void | dqmEndLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override |
|
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) |
|
Definition at line 18 of file BrilClient.h.
Reimplemented from DQMEDHarvester.
Definition at line 30 of file BrilClient.cc.
References begin, DQMStore::IBooker::book2D(), DEFINE_FWK_MODULE, allElectronIsolations_cfi::elements, end, DQMStore::IGetter::get(), edm::LuminosityBlock::getByToken(), MonitorElement::getTH1F(), edmPickEvents::json, funct::m, dataset::name, pathToken_, DQMStore::IBooker::setCurrentFolder(), DQMStore::IGetter::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and fftjetcommon_cfi::title.
Referenced by beginJob().
42 if (!boost::filesystem::exists(*filePath_)) {
44 <<
" File missing: " << *filePath_
50 <<
" Opening: " << *filePath_ << std::endl;
56 for (
auto& mainTree : json.get_child(
"OccupancyPlots")) {
58 std::size_t
pos = title.find(
",");
61 <<
" Invalid title" << title << std::endl;
67 auto nBins = as_vector<int>(mainTree.second,
"nbins");
68 auto xrange = as_vector<int>(mainTree.second,
"xrange");
69 auto yrange = as_vector<int>(mainTree.second,
"yrange");
71 TH2F* th =
new TH2F(name.c_str(), title.c_str(), nBins.at(0), xrange.at(0),
72 xrange.at(1), nBins.at(1), yrange.at(0), yrange.at(1));
74 for (
auto& dataArray : mainTree.second.get_child(
"data")) {
78 for (
auto& binContent : dataArray.second) {
79 *element++ = stoi(binContent.second.get_value<
std::string>());
80 if (element ==
std::end(elements))
break;
83 th->SetBinContent(elements[0], elements[1], elements[2]);
92 m = ibooker_.
book2D(name, th);
MonitorElement * get(const std::string &path)
edm::EDGetTokenT< std::string > pathToken_
void setCurrentFolder(const std::string &fullpath)
MonitorElement * book2D(Args &&...args)
TH1F * getTH1F(void) const
void setCurrentFolder(const std::string &fullpath)