#include <GetLumi.h>
Public Types | |
enum | SQRT_S { SQRT_S_7TeV, SQRT_S_8TeV, SQRT_S_13TeV } |
Public Member Functions | |
double | convert2PU (double, double) |
double | convert2PU (double, int) |
GetLumi (const edm::ParameterSet &) | |
GetLumi (const edm::InputTag &, double) | |
GetLumi (const edm::ParameterSet &, edm::ConsumesCollector &iC) | |
GetLumi (const edm::InputTag &, double, edm::ConsumesCollector &iC) | |
double | getRawValue (const edm::Event &) |
double | getRawValue (edm::LuminosityBlock const &, edm::EventSetup const &) |
double | getValue (const edm::Event &) |
double | getValue (edm::LuminosityBlock const &, edm::EventSetup const &) |
virtual | ~GetLumi () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Public Attributes | |
edm::EDGetTokenT< LumiDetails > | lumiDetailsToken_ |
edm::InputTag | lumiInputTag_ |
double | lumiScale_ |
edm::EDGetTokenT< LumiSummary > | lumiSummaryToken_ |
Static Public Attributes | |
static double | CM2_TO_NANOBARN = 1.0/1.e-33 |
static double | FREQ_ORBIT = 11246. |
static double | INELASTIC_XSEC_13TeV = 71.3 |
static double | INELASTIC_XSEC_7TeV = 68.0 |
static double | INELASTIC_XSEC_8TeV = 69.3 |
static const unsigned int | lastBunchCrossing = 3564 |
static const unsigned int | NUM_BX = 3564 |
static double | rXSEC_PIXEL_CLUSTER = 9.4e-24 |
static double | rXSEC_PIXEL_CLUSTER_UNC = 0.119e-24 |
static double | SECONDS_PER_LS = double(0x40000)/double(FREQ_ORBIT) |
static double | XSEC_PIXEL_CLUSTER = 10.08e-24 |
static double | XSEC_PIXEL_CLUSTER_UNC = 0.17e-24 |
enum GetLumi::SQRT_S |
Enumerator | |
---|---|
SQRT_S_7TeV | |
SQRT_S_8TeV | |
SQRT_S_13TeV |
GetLumi::GetLumi | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 14 of file GetLumi.cc.
GetLumi::GetLumi | ( | const edm::InputTag & | lumiInputTag, |
double | lumiScale | ||
) |
Definition at line 20 of file GetLumi.cc.
GetLumi::GetLumi | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 26 of file GetLumi.cc.
References edm::ConsumesCollector::consumes(), edm::InLumi, lumiDetailsToken_, lumiInputTag_, and lumiSummaryToken_.
GetLumi::GetLumi | ( | const edm::InputTag & | lumiInputTag, |
double | lumiScale, | ||
edm::ConsumesCollector & | iC | ||
) |
Definition at line 32 of file GetLumi.cc.
References edm::ConsumesCollector::consumes(), edm::InLumi, lumiDetailsToken_, lumiInputTag_, and lumiSummaryToken_.
|
virtual |
Definition at line 38 of file GetLumi.cc.
double GetLumi::convert2PU | ( | double | instLumi, |
double | inelastic_xSec = GetLumi::INELASTIC_XSEC_8TeV |
||
) |
double GetLumi::convert2PU | ( | double | instLumi, |
int | sqrt_s = GetLumi::SQRT_S_8TeV |
||
) |
Definition at line 114 of file GetLumi.cc.
References convert2PU(), INELASTIC_XSEC_7TeV, INELASTIC_XSEC_8TeV, SQRT_S_7TeV, and SQRT_S_8TeV.
|
static |
double GetLumi::getRawValue | ( | const edm::Event & | iEvent | ) |
Definition at line 43 of file GetLumi.cc.
References edm::EventBase::bunchCrossing(), edm::LuminosityBlock::getByToken(), edm::Event::getLuminosityBlock(), LumiDetails::isValid(), LumiDetails::kOCC1, csvLumiCalc::lumi, lumiSummaryToken_, and LumiDetails::lumiValue().
Referenced by getValue().
double GetLumi::getRawValue | ( | edm::LuminosityBlock const & | lumiBlock, |
edm::EventSetup const & | eSetup | ||
) |
Definition at line 71 of file GetLumi.cc.
References LumiSummary::avgInsDelLumi(), gather_cfg::cout, edm::LuminosityBlock::getByToken(), LumiSummary::intgDelLumi(), LumiSummary::isValid(), csvLumiCalc::lumi, and lumiSummaryToken_.
double GetLumi::getValue | ( | const edm::Event & | iEvent | ) |
Definition at line 64 of file GetLumi.cc.
References getRawValue(), and lumiScale_.
Referenced by VertexMonitor::analyze(), LogMessageMonitor::analyze(), and TrackingMonitor::analyze().
double GetLumi::getValue | ( | edm::LuminosityBlock const & | lumiBlock, |
edm::EventSetup const & | eSetup | ||
) |
|
static |
Definition at line 47 of file GetLumi.h.
Referenced by LumiMonitor::dqmAnalyze(), and dqm::TrackAnalyzer::setLumi().
|
static |
Definition at line 32 of file GetLumi.h.
Referenced by convert2PU(), LumiMonitor::LumiMonitor(), and dqm::TrackAnalyzer::TrackAnalyzer().
|
static |
Definition at line 35 of file GetLumi.h.
Referenced by convert2PU().
|
static |
Definition at line 36 of file GetLumi.h.
Referenced by convert2PU().
|
static |
Definition at line 48 of file GetLumi.h.
Referenced by dqm::TrackAnalyzer::bookHistosForEfficiencyFromHitPatter().
edm::EDGetTokenT<LumiDetails> GetLumi::lumiDetailsToken_ |
edm::InputTag GetLumi::lumiInputTag_ |
double GetLumi::lumiScale_ |
Definition at line 68 of file GetLumi.h.
Referenced by getValue().
edm::EDGetTokenT<LumiSummary> GetLumi::lumiSummaryToken_ |
Definition at line 71 of file GetLumi.h.
Referenced by GetLumi(), and getRawValue().
|
static |
Definition at line 45 of file GetLumi.h.
Referenced by LumiMonitor::LumiMonitor(), and dqm::TrackAnalyzer::TrackAnalyzer().
|
static |
Definition at line 33 of file GetLumi.h.
Referenced by LumiMonitor::LumiMonitor(), and dqm::TrackAnalyzer::TrackAnalyzer().
|
static |
Definition at line 41 of file GetLumi.h.
Referenced by LumiMonitor::LumiMonitor(), and dqm::TrackAnalyzer::TrackAnalyzer().