Private Member Functions | |
void | analyze (edm::Event const &e, edm::EventSetup const &c) override |
void | beginJob () override |
void | beginLuminosityBlock (edm::LuminosityBlock const &lumiBlock, edm::EventSetup const &c) override |
void | beginRun (const edm::Run &run, const edm::EventSetup &c) override |
void | endJob () override |
void | endLuminosityBlock (edm::LuminosityBlock const &lumiBlock, edm::EventSetup const &c) override |
void | endRun (edm::Run const &, edm::EventSetup const &) override |
std::vector< std::string > | splitpathstr (const std::string &strValue, const std::string separator) |
Private Attributes | |
unsigned int | currentlumi_ |
HLTConfigProvider | hltConfig_ |
std::map< std::string, hltPerPathInfo > | hltmap_ |
std::map< std::string, l1PerBitInfo > | l1map_ |
edm::LogInfo * | log_ |
std::vector< MyPerLumiInfo > | perrunlumiinfo_ |
bool | showTrgInfo_ |
std::multimap< std::string, std::string > | trgpathMmap_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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) |
Definition at line 34 of file LumiCalculator.cc.
|
explicit |
Definition at line 62 of file LumiCalculator.cc.
References ProducerED_cfi::InputTag, muonDTDigis_cfi::pset, and showTrgInfo_.
|
override |
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
inlineoverrideprivate |
Definition at line 43 of file LumiCalculator.cc.
|
overrideprivate |
Definition at line 85 of file LumiCalculator.cc.
References DummyCfis::c, Exception, edm::ParameterSet::getParameter(), ValidationMatrix::hlt, hltConfig_, hltmap_, mps_fire::i, HLTConfigProvider::init(), l1map_, log_, HLTConfigProvider::moduleLabels(), HLTConfigProvider::modulePSet(), HLTConfigProvider::moduleType(), perrunlumiinfo_, HLTScalers_cfi::processname, writedatasetfile::run, HLT_2024v13_cff::seeds, showTrgInfo_, HLTConfigProvider::size(), findQualityFiles::size, splitpathstr(), AlCaHLTBitMon_QueryRunRegistry::string, submitPVValidationJobs::t, HLTConfigProvider::tableName(), trgpathMmap_, and HLTConfigProvider::triggerName().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 349 of file LumiCalculator.cc.
|
overrideprivate |
Integrated Luminosity per Lumi Section instantaneousLumi*93.244(sec)
for(hltit=hltitBeg;hltit!=hltitEnd;++hltit){ }
Definition at line 201 of file LumiCalculator.cc.
References DummyCfis::c, currentlumi_, edm::LuminosityBlock::getByLabel(), edm::Run::getByLabel(), LumiSummaryRunHeader::getL1Index(), LumiSummaryRunHeader::getL1Name(), edm::LuminosityBlock::getRun(), hltmap_, mps_fire::i, edm::LuminosityBlockBase::id(), MainPageGenerator::l, l1map_, log_, edm::LuminosityBlockID::luminosityBlock(), bphysicsOniaDQM_cfi::lumiSummary, dqmiodumpmetadata::n, perrunlumiinfo_, LumiSummary::L1::prescale, showTrgInfo_, AlCaHLTBitMon_QueryRunRegistry::string, submitPVValidationJobs::t, and trgpathMmap_.
|
overrideprivate |
Notes on calculation:
CMS recorded Luminosity per run : sum over HLX&&HF certified LS lumiSummary->avgInsDelLumi()*93.244*livefraction()
avgInsDelLumi()*93.244*livefraction()/(HLTprescale*L1prescale) for now HLTprescale=1
Definition at line 285 of file LumiCalculator.cc.
References gpuPixelDoublets::cc, gather_cfg::cout, hltmap_, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, l1map_, log_, perrunlumiinfo_, edmLumisInFiles::recorded, writedatasetfile::run, and trgpathMmap_.
|
private |
Definition at line 351 of file LumiCalculator.cc.
References mps_fire::end, AlCaHLTBitMon_ParallelJobs::p, and mps_merge::separator.
Referenced by beginRun().
|
private |
Definition at line 57 of file LumiCalculator.cc.
Referenced by endLuminosityBlock().
|
private |
Definition at line 48 of file LumiCalculator.cc.
Referenced by beginRun().
|
private |
Definition at line 50 of file LumiCalculator.cc.
Referenced by beginRun(), endLuminosityBlock(), and endRun().
|
private |
Definition at line 51 of file LumiCalculator.cc.
Referenced by beginRun(), endLuminosityBlock(), and endRun().
|
private |
Definition at line 55 of file LumiCalculator.cc.
Referenced by beginRun(), endLuminosityBlock(), endRun(), and ~LumiCalculator().
|
private |
Definition at line 52 of file LumiCalculator.cc.
Referenced by beginRun(), endLuminosityBlock(), and endRun().
|
private |
Definition at line 56 of file LumiCalculator.cc.
Referenced by beginRun(), endLuminosityBlock(), and LumiCalculator().
|
private |
Definition at line 49 of file LumiCalculator.cc.
Referenced by beginRun(), endLuminosityBlock(), and endRun().