Public Member Functions | |
LumiCalculator (edm::ParameterSet const &pset) | |
virtual | ~LumiCalculator () |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Private Member Functions | |
virtual void | analyze (edm::Event const &e, edm::EventSetup const &c) |
virtual void | beginJob () |
virtual void | beginRun (const edm::Run &run, const edm::EventSetup &c) |
virtual void | endJob () |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &lumiBlock, edm::EventSetup const &c) |
virtual void | endRun (edm::Run const &, edm::EventSetup const &) |
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::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Definition at line 32 of file LumiCalculator.cc.
|
explicit |
Definition at line 60 of file LumiCalculator.cc.
References edm::ParameterSet::getUntrackedParameter(), and showTrgInfo_.
|
virtual |
|
privatevirtual |
|
privatevirtual |
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 84 of file LumiCalculator.cc.
References edm::hlt::Exception, edm::ParameterSet::getParameter(), runregparse::hlt, hltConfig_, hltmap_, lumiCalc2::hltname, i, HLTConfigProvider::init(), l1map_, log_, HLTConfigProvider::moduleLabels(), HLTConfigProvider::modulePSet(), HLTConfigProvider::moduleType(), perrunlumiinfo_, hltPerPathInfo::prescale, edm::RunBase::run(), showTrgInfo_, HLTConfigProvider::size(), findQualityFiles::size, splitpathstr(), lumiQTWidget::t, HLTConfigProvider::tableName(), trgpathMmap_, and HLTConfigProvider::triggerName().
|
privatevirtual |
|
privatevirtual |
Integrated Luminosity per Lumi Section instantaneousLumi*93.244(sec)
for(hltit=hltitBeg;hltit!=hltitEnd;++hltit){ }
Reimplemented from edm::EDAnalyzer.
Definition at line 200 of file LumiCalculator.cc.
References trackerHits::c, currentlumi_, MyPerLumiInfo::deadcount, edm::LuminosityBlock::getByLabel(), edm::Run::getByLabel(), edm::LuminosityBlock::getRun(), hltmap_, lumiCalc2::hltname, i, edm::LuminosityBlockBase::id(), MyPerLumiInfo::intglumi, prof2calltree::l, l1map_, MyPerLumiInfo::livefraction, log_, MyPerLumiInfo::lsnum, edm::LuminosityBlockID::luminosityBlock(), runregparse::lumiSummary, n, perrunlumiinfo_, l1PerBitInfo::prescale, LumiSummary::L1::prescale, showTrgInfo_, lumiQTWidget::t, and trgpathMmap_.
|
privatevirtual |
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
Reimplemented from edm::EDAnalyzer.
Definition at line 283 of file LumiCalculator.cc.
References gather_cfg::cout, hltmap_, l1map_, log_, perrunlumiinfo_, edm::RunBase::run(), and trgpathMmap_.
|
private |
Definition at line 351 of file LumiCalculator.cc.
References end, and AlCaHLTBitMon_ParallelJobs::p.
Referenced by beginRun().
|
private |
Definition at line 55 of file LumiCalculator.cc.
Referenced by endLuminosityBlock().
|
private |
Definition at line 47 of file LumiCalculator.cc.
Referenced by beginRun().
|
private |
Definition at line 49 of file LumiCalculator.cc.
Referenced by beginRun(), endLuminosityBlock(), and endRun().
|
private |
Definition at line 50 of file LumiCalculator.cc.
Referenced by beginRun(), endLuminosityBlock(), and endRun().
|
private |
Definition at line 53 of file LumiCalculator.cc.
Referenced by beginRun(), endLuminosityBlock(), endRun(), and ~LumiCalculator().
|
private |
Definition at line 51 of file LumiCalculator.cc.
Referenced by beginRun(), endLuminosityBlock(), and endRun().
|
private |
Definition at line 54 of file LumiCalculator.cc.
Referenced by beginRun(), endLuminosityBlock(), and LumiCalculator().
|
private |
Definition at line 48 of file LumiCalculator.cc.
Referenced by beginRun(), endLuminosityBlock(), and endRun().