|
| ThroughputServiceClient (edm::ParameterSet const &) |
|
| ~ThroughputServiceClient () override=default |
|
void | accumulate (edm::Event const &ev, edm::EventSetup const &es) final |
|
void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final |
|
void | beginRun (edm::Run const &, edm::EventSetup const &) override |
|
| DQMEDHarvester () |
|
void | endJob () final |
|
void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final |
|
void | endLuminosityBlockProduce (edm::LuminosityBlock &, edm::EventSetup const &) final |
|
void | endRun (edm::Run const &, edm::EventSetup const &) override |
|
void | endRunProduce (edm::Run &run, edm::EventSetup const &setup) override |
|
| ~DQMEDHarvester () override=default |
|
| EDProducer ()=default |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
bool | hasAbilityToProduceInLumis () const final |
|
bool | hasAbilityToProduceInRuns () const final |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () const final |
|
| EDProducerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
bool | wantsStreamLuminosityBlocks () const |
|
bool | wantsStreamRuns () const |
|
| ~EDProducerBase () override |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
|
| ProducerBase () |
|
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
|
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, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
|
| ~ProducerBase () override |
|
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 |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
typedef EDProducerBase | ModuleType |
|
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
|
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
|
typedef ProductLabels | Labels |
|
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) |
|
edm::EDPutTokenT< DQMToken > | lumiToken_ |
|
edm::EDPutTokenT< DQMToken > | runToken_ |
|
Definition at line 26 of file ThroughputServiceClient.cc.
Definition at line 62 of file ThroughputServiceClient.cc.
References DQMStore::IBooker::book1D(), plotBeamSpotDB::first, printsummarytable::folder, folders, DQMStore::IGetter::get(), DQMStore::IGetter::getSubdirs(), MonitorElement::getTH1F(), mps_fire::i, plotBeamSpotDB::last, m_dqm_path, SiStripPI::max, min(), pileupCalc::nbins, DQMStore::IGetter::removeElement(), DQMStore::IBooker::setCurrentFolder(), and ApeEstimator_cff::width.
Referenced by dqmEndJob(), and dqmEndLuminosityBlock().
65 std::vector<std::string>
folders;
70 static const boost::regex running_n_processes(
".*/Running .*");
72 std::vector<std::string> subdirs = getter.
getSubdirs();
73 for (
auto const & subdir: subdirs) {
74 if (boost::regex_match(subdir, running_n_processes)) {
75 if (getter.
get(subdir +
"/throughput_sourced"))
77 folders.push_back(subdir +
"/throughput_sourced");
81 for (
auto const &
folder: folders) {
85 unsigned int nbins = sourced->GetXaxis()->GetNbins();
86 double range = sourced->GetXaxis()->GetXmax();
92 TH1F* concurrent = booker.
book1D(
"concurrent",
"Concurrent events being processed", nbins, 0., range)->
getTH1F();
95 for (
unsigned int i = 0;
i <= nbins+1; ++
i) {
96 sum += sourced->GetBinContent(
i) - retired->GetBinContent(
i);
97 concurrent->Fill( concurrent->GetXaxis()->GetBinCenter(
i), sum );
101 double avg_min =
std::min(sourced->GetMinimum(0.), retired->GetMinimum(0.));
102 double avg_max =
std::max(sourced->GetMaximum(), retired->GetMaximum());
103 double width = avg_max - avg_min;
104 avg_min = std::floor( avg_min - width * 0.2 );
105 if (avg_min < 0.) avg_min = 0.;
106 avg_max = std::ceil( avg_max + width * 0.2 );
107 width = avg_max - avg_min;
110 if (getter.
get(
folder +
"/average_sourced"))
117 average = booker.
book1D(
"average_sourced",
"Throughput (sourced events)", (
int) width, avg_min, avg_max)->
getTH1F();
118 for (
unsigned int i = first;
i <=
last; ++
i)
119 average->Fill(sourced->GetBinContent(
i));
122 if (getter.
get(
folder +
"/average_retired"))
125 first = retired->FindFirstBinAbove(0.);
126 last = retired->FindLastBinAbove(0.);
129 average = booker.
book1D(
"average_retired",
"Throughput (retired events)", (
int) width, avg_min, avg_max)->
getTH1F();
130 for (
unsigned int i = first;
i <=
last; ++
i)
131 average->Fill(retired->GetBinContent(
i));
MonitorElement * get(const std::string &path)
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle otherwise a larger ***bin number will have no effects or even make the ***precision lower than before *********************************************************************************************************it lies in three folders
MonitorElement * book1D(Args &&...args)
void setCurrentFolder(const std::string &fullpath)
unsigned long long uint64_t
std::vector< std::string > getSubdirs()
void removeElement(Args &&...args)