CMS 3D CMS Logo

LHCInfoHelper.h
Go to the documentation of this file.
1 #ifndef CondTools_RunInfo_LHCInfoHelper_h
2 #define CondTools_RunInfo_LHCInfoHelper_h
3 
6 
7 namespace cond {
8 
9  namespace lhcInfoHelper {
10 
11  // Large number of LS for the OMS query, covering around 25 hours
12  static constexpr unsigned int kLumisectionsQueryLimit = 4000;
13 
14  // last Run number and LS number of the specified Fill
15  std::pair<int, unsigned short> getFillLastRunAndLS(const cond::OMSService& oms, unsigned short fillId);
16 
17  // Returns lumi-type IOV from last LS of last Run of the specified Fill
18  cond::Time_t getFillLastLumiIOV(const cond::OMSService& oms, unsigned short fillId);
19 
20  } // namespace lhcInfoHelper
21 
22 } // namespace cond
23 
24 #endif
std::pair< int, unsigned short > getFillLastRunAndLS(const cond::OMSService &oms, unsigned short fillId)
Definition: LHCInfoHelper.cc:9
unsigned long long Time_t
Definition: Time.h:14
static constexpr unsigned int kLumisectionsQueryLimit
Definition: LHCInfoHelper.h:12
cond::Time_t getFillLastLumiIOV(const cond::OMSService &oms, unsigned short fillId)