#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 constexpr double | CM2_TO_NANOBARN = 1.0 / 1.e-33 |
static constexpr double | FREQ_ORBIT = 11246. |
static constexpr double | INELASTIC_XSEC_13TeV = 71.3 |
static constexpr double | INELASTIC_XSEC_7TeV = 68.0 |
static constexpr double | INELASTIC_XSEC_8TeV = 69.3 |
static const unsigned int | lastBunchCrossing = 3564 |
static const unsigned int | NUM_BX = 3564 |
static constexpr double | rXSEC_PIXEL_CLUSTER = 9.4e-24 |
static constexpr double | rXSEC_PIXEL_CLUSTER_UNC = 0.119e-24 |
static constexpr double | SECONDS_PER_LS = double(0x40000) / double(FREQ_ORBIT) |
static constexpr double | XSEC_PIXEL_CLUSTER = 10.08e-24 |
static constexpr 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 13 of file GetLumi.cc.
GetLumi::GetLumi | ( | const edm::InputTag & | lumiInputTag, |
double | lumiScale | ||
) |
Definition at line 17 of file GetLumi.cc.
GetLumi::GetLumi | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 20 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 25 of file GetLumi.cc.
References edm::ConsumesCollector::consumes(), edm::InLumi, lumiDetailsToken_, lumiInputTag_, and lumiSummaryToken_.
|
virtualdefault |
double GetLumi::convert2PU | ( | double | instLumi, |
double | inelastic_xSec = GetLumi::INELASTIC_XSEC_8TeV |
||
) |
Definition at line 77 of file GetLumi.cc.
References FREQ_ORBIT, and nano_mu_global_cff::instLumi.
Referenced by convert2PU().
double GetLumi::convert2PU | ( | double | instLumi, |
int | sqrt_s = GetLumi::SQRT_S_8TeV |
||
) |
Definition at line 84 of file GetLumi.cc.
References convert2PU(), INELASTIC_XSEC_7TeV, INELASTIC_XSEC_8TeV, nano_mu_global_cff::instLumi, SQRT_S_7TeV, and SQRT_S_8TeV.
|
static |
double GetLumi::getRawValue | ( | const edm::Event & | iEvent | ) |
Definition at line 33 of file GetLumi.cc.
References iEvent, LumiDetails::kOCC1, BXlumiParameters_cfi::lumi, and lumiSummaryToken_.
Referenced by getValue().
double GetLumi::getRawValue | ( | edm::LuminosityBlock const & | lumiBlock, |
edm::EventSetup const & | eSetup | ||
) |
Definition at line 53 of file GetLumi.cc.
References LumiSummary::avgInsDelLumi(), edm::LuminosityBlock::getByToken(), LumiSummary::intgDelLumi(), LumiSummary::isValid(), BXlumiParameters_cfi::lumi, and lumiSummaryToken_.
double GetLumi::getValue | ( | const edm::Event & | iEvent | ) |
Definition at line 48 of file GetLumi.cc.
References getRawValue(), iEvent, 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 39 of file GetLumi.h.
Referenced by LumiMonitor::dqmAnalyze(), and tadqm::TrackAnalyzer::setLumi().
|
static |
Definition at line 23 of file GetLumi.h.
Referenced by convert2PU(), and tadqm::TrackAnalyzer::TrackAnalyzer().
|
static |
|
static |
Definition at line 26 of file GetLumi.h.
Referenced by convert2PU().
|
static |
Definition at line 27 of file GetLumi.h.
Referenced by convert2PU().
|
static |
Definition at line 40 of file GetLumi.h.
Referenced by tadqm::TrackAnalyzer::bookHistosForEfficiencyFromHitPatter().
edm::EDGetTokenT<LumiDetails> GetLumi::lumiDetailsToken_ |
edm::InputTag GetLumi::lumiInputTag_ |
double GetLumi::lumiScale_ |
Definition at line 60 of file GetLumi.h.
Referenced by getValue().
edm::EDGetTokenT<LumiSummary> GetLumi::lumiSummaryToken_ |
Definition at line 63 of file GetLumi.h.
Referenced by GetLumi(), and getRawValue().
|
static |
Definition at line 37 of file GetLumi.h.
Referenced by tadqm::TrackAnalyzer::TrackAnalyzer().
|
static |
|
static |
Definition at line 24 of file GetLumi.h.
Referenced by tadqm::TrackAnalyzer::TrackAnalyzer().
|
static |
Definition at line 33 of file GetLumi.h.
Referenced by tadqm::TrackAnalyzer::TrackAnalyzer().