#include <LumiProfileSvc.h>
Definition at line 18 of file LumiProfileSvc.h.
◆ LumiProfileSvc()
LumiProfileSvc::LumiProfileSvc |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
svc |
|
) |
| |
Definition at line 7 of file LumiProfileSvc.cxx.
15 declareProperty(
"RunLumiList",
m_runlumilist,
"List of all IOVTimes ((run << 32) + (0xFFFFFFFF & lumiblock)). Same length as ScaleFactorList." );
16 declareProperty(
"ScaleFactorList",
m_scalefactorlist,
"List of scale factors for the luminosity. Same length as RunLumiList.");
◆ ~LumiProfileSvc()
LumiProfileSvc::~LumiProfileSvc |
( |
| ) |
|
|
virtual |
◆ initialize()
StatusCode LumiProfileSvc::initialize |
( |
| ) |
|
|
finaloverridevirtual |
Definition at line 23 of file LumiProfileSvc.cxx.
27 std::vector<uint64_t>::const_iterator iRL(rProp.begin());
28 std::vector<uint64_t>::const_iterator prEnd(rProp.end());
30 std::vector<float>::const_iterator iSF(sProp.begin());
31 std::vector<float>::const_iterator psEnd(sProp.end());
32 if (rProp.size() != sProp.size())
34 ATH_MSG_ERROR(
"Length of RunLumiList differs from length of ScaleFactorList!");
35 return StatusCode::FAILURE;
37 for( ; iRL != prEnd && iSF != psEnd; ++iRL, ++iSF )
41 return StatusCode::SUCCESS;
◆ scaleFactor()
float LumiProfileSvc::scaleFactor |
( |
unsigned int |
run, |
|
|
unsigned int |
lumi, |
|
|
bool & |
updated |
|
) |
| |
|
finaloverridevirtual |
◆ m_currentSF
float LumiProfileSvc::m_currentSF |
|
private |
◆ m_now
uint64_t LumiProfileSvc::m_now |
|
private |
◆ m_runlumilist
SimpleProperty< std::vector< uint64_t > > LumiProfileSvc::m_runlumilist |
|
private |
look-up table of lumi scale factor by run, lumiblock
Definition at line 36 of file LumiProfileSvc.h.
◆ m_scalefactorlist
SimpleProperty< std::vector< float > > LumiProfileSvc::m_scalefactorlist |
|
private |
◆ m_scaleFactorMap
std::map<uint64_t,float> LumiProfileSvc::m_scaleFactorMap |
|
private |
The documentation for this class was generated from the following files: