File indexing completed on 2024-11-07 06:12:39
0001 #ifndef CondTools_RunInfo_LHCInfoHelper_h
0002 #define CondTools_RunInfo_LHCInfoHelper_h
0003
0004 #include "CondCore/CondDB/interface/Time.h"
0005 #include "CondTools/RunInfo/interface/OMSAccess.h"
0006
0007 namespace cond {
0008
0009 namespace lhcInfoHelper {
0010
0011
0012 static constexpr unsigned int kLumisectionsQueryLimit = 4000;
0013
0014
0015 std::pair<int, unsigned short> getFillLastRunAndLS(const cond::OMSService& oms, unsigned short fillId);
0016
0017
0018 cond::Time_t getFillLastLumiIOV(const cond::OMSService& oms, unsigned short fillId);
0019
0020 }
0021
0022 }
0023
0024 #endif