#include <GetLumi.h>
Public Types | |
enum | SQRT_S { SQRT_S_7TeV, SQRT_S_8TeV } |
Public Member Functions | |
double | convert2PU (double, double) |
double | convert2PU (double, int) |
GetLumi (const edm::ParameterSet &) | |
GetLumi (edm::InputTag, double) | |
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::InputTag | lumiInputTag_ |
double | lumiScale_ |
Static Public Attributes | |
static double | FREQ_ORBIT = 11246. |
static double | INELASTIC_XSEC_7TeV = 68.0 |
static double | INELASTIC_XSEC_8TeV = 69.3 |
static const unsigned int | NUM_BX = 3564 |
static double | SECONDS_PER_LS = double(0x40000)/double(FREQ_ORBIT) |
enum GetLumi::SQRT_S |
Enumerator | |
---|---|
SQRT_S_7TeV | |
SQRT_S_8TeV |
Definition at line 20 of file GetLumi.h.
GetLumi::GetLumi | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 15 of file GetLumi.cc.
GetLumi::GetLumi | ( | edm::InputTag | lumiInputTag, |
double | lumiScale | ||
) |
Definition at line 21 of file GetLumi.cc.
|
virtual |
Definition at line 27 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 102 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 32 of file GetLumi.cc.
References edm::EventBase::bunchCrossing(), edm::LuminosityBlock::getByLabel(), edm::Event::getLuminosityBlock(), edm::HandleBase::isValid(), LumiDetails::kOCC1, fjr2json::lumi, and lumiInputTag_.
Referenced by getValue().
double GetLumi::getRawValue | ( | edm::LuminosityBlock const & | lumiBlock, |
edm::EventSetup const & | eSetup | ||
) |
Definition at line 59 of file GetLumi.cc.
References gather_cfg::cout, edm::LuminosityBlock::getByLabel(), edm::HandleBase::isValid(), fjr2json::lumi, and lumiInputTag_.
double GetLumi::getValue | ( | const edm::Event & | iEvent | ) |
Definition at line 52 of file GetLumi.cc.
References getRawValue(), and lumiScale_.
Referenced by VertexMonitor::analyze(), TrackingMonitor::analyze(), and LogMessageMonitor::analyze().
double GetLumi::getValue | ( | edm::LuminosityBlock const & | lumiBlock, |
edm::EventSetup const & | eSetup | ||
) |
|
static |
Definition at line 26 of file GetLumi.h.
Referenced by convert2PU().
|
static |
Definition at line 29 of file GetLumi.h.
Referenced by convert2PU().
|
static |
Definition at line 30 of file GetLumi.h.
Referenced by convert2PU().
edm::InputTag GetLumi::lumiInputTag_ |
Definition at line 47 of file GetLumi.h.
Referenced by getRawValue().
double GetLumi::lumiScale_ |
Definition at line 48 of file GetLumi.h.
Referenced by getValue().