#include <EgHLTOfflineSummaryClient.h>
|
void | analyze (const edm::Event &, const edm::EventSetup &) override |
|
void | beginJob () override |
|
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &context) override |
|
void | beginRun (const edm::Run &run, const edm::EventSetup &c) override |
|
| EgHLTOfflineSummaryClient (const edm::ParameterSet &) |
|
void | endJob () override |
|
void | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override |
|
void | endRun (const edm::Run &run, const edm::EventSetup &c) override |
|
| ~EgHLTOfflineSummaryClient () override |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzer () |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () |
|
SerialTaskQueue * | globalRunsQueue () |
|
ModuleDescription const & | moduleDescription () const |
|
std::string | workerType () const |
|
| ~EDAnalyzer () 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 &&)=default |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
std::vector< ESProxyIndex > const & | esGetTokenIndicesVector (edm::Transition iTrans) const |
|
std::vector< ESRecordIndex > const & | esGetTokenRecordIndicesVector (edm::Transition iTrans) const |
|
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::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
static const std::string & | baseType () |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &) |
|
static bool | wantsGlobalLuminosityBlocks () |
|
static bool | wantsGlobalRuns () |
|
static bool | wantsInputProcessBlocks () |
|
static bool | wantsProcessBlocks () |
|
static bool | wantsStreamLuminosityBlocks () |
|
static bool | wantsStreamRuns () |
|
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
template<BranchType B = InEvent> |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
|
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<Transition Tr = Transition::Event> |
constexpr auto | esConsumes () noexcept |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
template<Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag tag) noexcept |
|
template<Transition Tr = Transition::Event> |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
| Used with EventSetupRecord::doGet. More...
|
|
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
|
Definition at line 30 of file EgHLTOfflineSummaryClient.h.
◆ DQMStore
◆ MonitorElement
◆ EgHLTOfflineSummaryClient() [1/2]
◆ EgHLTOfflineSummaryClient() [2/2]
EgHLTOfflineSummaryClient::EgHLTOfflineSummaryClient |
( |
const edm::ParameterSet & |
iConfig | ) |
|
|
explicit |
Definition at line 17 of file EgHLTOfflineSummaryClient.cc.
24 <<
"unable to get DQMStore service, no summary histograms will be produced";
References dbe_, dirName_, egHLTSumHistXBins_, eleHLTFilterNames_, eleHLTFilterNamesForSumBit_, eleQTestsForSumBit_, fillQTestData_(), filterInactiveTriggers_, edm::ParameterSet::getParameter(), hltTag_, phoHLTFilterNames_, phoHLTFilterNamesForSumBit_, phoQTestsForSumBit_, runClientEndJob_, runClientEndLumiBlock_, runClientEndRun_, dqm::implementation::DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and usePathNames_.
◆ ~EgHLTOfflineSummaryClient()
EgHLTOfflineSummaryClient::~EgHLTOfflineSummaryClient |
( |
| ) |
|
|
overridedefault |
◆ analyze()
◆ beginJob()
void EgHLTOfflineSummaryClient::beginJob |
( |
void |
| ) |
|
|
overridevirtual |
◆ beginLuminosityBlock()
◆ beginRun()
Reimplemented from edm::EDAnalyzer.
Definition at line 66 of file EgHLTOfflineSummaryClient.cc.
72 std::vector<std::string> activeFilters;
73 std::vector<std::string> activeEleFilters;
74 std::vector<std::string> activeEle2LegFilters;
75 std::vector<std::string> activePhoFilters;
76 std::vector<std::string> activePho2LegFilters;
79 hltConfig, activeFilters, activeEleFilters, activeEle2LegFilters, activePhoFilters, activePho2LegFilters);
References c, egHLTFiltersToMon_, egHLTFiltersToMonPaths_, eleHLTFilterNames_, eleHLTFilterNamesForSumBit_, egHLT::trigTools::filterInactiveTriggers(), filterInactiveTriggers_, egHLT::trigTools::getActiveFilters(), getEgHLTFiltersToMon_(), HltComparatorCreateWorkflow::hltConfig, hltTag_, isSetup_, phoHLTFilterNames_, phoHLTFilterNamesForSumBit_, writedatasetfile::run, egHLT::trigTools::translateFiltersToPathNames(), and usePathNames_.
◆ endJob()
void EgHLTOfflineSummaryClient::endJob |
( |
void |
| ) |
|
|
overridevirtual |
◆ endLuminosityBlock()
◆ endRun()
◆ fillQTestData_()
◆ getEgHLTFiltersToMon_()
void EgHLTOfflineSummaryClient::getEgHLTFiltersToMon_ |
( |
std::vector< std::string > & |
filterNames | ) |
const |
|
private |
◆ getEgHLTSumHist_()
Definition at line 165 of file EgHLTOfflineSummaryClient.cc.
167 if (egHLTSumHist ==
nullptr) {
169 "E/g HLT Offline Summary",
189 hist->SetBinContent(xBinNr + 1, yBinNr + 1, -2);
References dqm::implementation::IBooker::book2D(), dbe_, dirName_, egHLTFiltersToMon_, egHLTFiltersToMonPaths_, egHLTSumHistName_, egHLTSumHistXBins_, dqm::implementation::IGetter::get(), gpuVertexFinder::hist, Skims_PA_cff::name, dqm::implementation::DQMStore::setCurrentFolder(), and usePathNames_.
Referenced by runClient_().
◆ getQTestBinData_()
◆ getQTestResults_()
int EgHLTOfflineSummaryClient::getQTestResults_ |
( |
const std::string & |
filterName, |
|
|
const std::vector< std::string > & |
pattern |
|
) |
| const |
|
private |
◆ operator=()
◆ runClient_()
void EgHLTOfflineSummaryClient::runClient_ |
( |
| ) |
|
|
private |
Definition at line 107 of file EgHLTOfflineSummaryClient.cc.
123 if (hltEleSumBit ==
nullptr)
125 if (hltPhoSumBit ==
nullptr)
128 float eleSumBit = 1.;
136 hltEleSumBit->
Fill(eleSumBit);
138 float phoSumBit = 1.;
146 hltPhoSumBit->
Fill(phoSumBit);
References dqm::implementation::IBooker::bookFloat(), dbe_, egHLTFiltersToMon_, egHLTSumHistXBins_, eleHLTFilterNamesForSumBit_, eleQTestsForSumBit_, dqm::impl::MonitorElement::Fill(), dqm::implementation::IGetter::get(), getEgHLTSumHist_(), getQTestResults_(), phoHLTFilterNamesForSumBit_, phoQTestsForSumBit_, dqm::impl::MonitorElement::setBinContent(), and dqm::implementation::DQMStore::setCurrentFolder().
Referenced by endJob(), endLuminosityBlock(), and endRun().
◆ splitStringsToPairs_()
void EgHLTOfflineSummaryClient::splitStringsToPairs_ |
( |
const std::vector< std::string > & |
stringsToSplit, |
|
|
std::vector< std::pair< std::string, std::string > > & |
splitStrings |
|
) |
| |
|
private |
Definition at line 148 of file EgHLTOfflineSummaryClient.cc.
150 splitStrings.clear();
151 splitStrings.reserve(stringsToSplit.size());
152 for (
auto const& stringNr : stringsToSplit) {
153 std::vector<std::string> tempSplitStrings;
155 if (tempSplitStrings.size() == 2) {
156 splitStrings.push_back(std::make_pair(tempSplitStrings[0], tempSplitStrings[1]));
159 <<
" Error : entry " << stringNr
160 <<
" is not of form A:B, ignoring (ie this quailty test isnt being included in the sumamry hist) ";
References submitPVValidationJobs::split(), and AlCaHLTBitMon_QueryRunRegistry::string.
◆ dbe_
DQMStore* EgHLTOfflineSummaryClient::dbe_ |
|
private |
◆ dirName_
std::string EgHLTOfflineSummaryClient::dirName_ |
|
private |
◆ egHLTFiltersToMon_
std::vector<std::string> EgHLTOfflineSummaryClient::egHLTFiltersToMon_ |
|
private |
◆ egHLTFiltersToMonPaths_
std::vector<std::string> EgHLTOfflineSummaryClient::egHLTFiltersToMonPaths_ |
|
private |
◆ egHLTSumHistName_
std::string EgHLTOfflineSummaryClient::egHLTSumHistName_ |
|
private |
◆ egHLTSumHistXBins_
std::vector<SumHistBinData> EgHLTOfflineSummaryClient::egHLTSumHistXBins_ |
|
private |
◆ eleHLTFilterNames_
std::vector<std::string> EgHLTOfflineSummaryClient::eleHLTFilterNames_ |
|
private |
◆ eleHLTFilterNamesForSumBit_
std::vector<std::string> EgHLTOfflineSummaryClient::eleHLTFilterNamesForSumBit_ |
|
private |
◆ eleQTestsForSumBit_
std::vector<SumHistBinData> EgHLTOfflineSummaryClient::eleQTestsForSumBit_ |
|
private |
◆ filterInactiveTriggers_
bool EgHLTOfflineSummaryClient::filterInactiveTriggers_ |
|
private |
◆ hltTag_
std::string EgHLTOfflineSummaryClient::hltTag_ |
|
private |
◆ isSetup_
bool EgHLTOfflineSummaryClient::isSetup_ |
|
private |
◆ phoHLTFilterNames_
std::vector<std::string> EgHLTOfflineSummaryClient::phoHLTFilterNames_ |
|
private |
◆ phoHLTFilterNamesForSumBit_
std::vector<std::string> EgHLTOfflineSummaryClient::phoHLTFilterNamesForSumBit_ |
|
private |
◆ phoQTestsForSumBit_
std::vector<SumHistBinData> EgHLTOfflineSummaryClient::phoQTestsForSumBit_ |
|
private |
◆ runClientEndJob_
bool EgHLTOfflineSummaryClient::runClientEndJob_ |
|
private |
◆ runClientEndLumiBlock_
bool EgHLTOfflineSummaryClient::runClientEndLumiBlock_ |
|
private |
◆ runClientEndRun_
bool EgHLTOfflineSummaryClient::runClientEndRun_ |
|
private |
◆ usePathNames_
bool EgHLTOfflineSummaryClient::usePathNames_ |
|
private |
std::pair< typename Association::data_type::first_type, double > match(Reference key, Association association, bool bestMatchByMaxValue)
Generic matching function.
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())