-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43972 from francescobrivio/move_LHCInfoDuringFill…
…_to_lumiid_140X_backport [14_0_X] Fix LHCInfoPer* PopCons to produce lumi-type IOVs when running in duringFill mode
- Loading branch information
Showing
6 changed files
with
183 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#ifndef CondTools_RunInfo_LHCInfoHelper_h | ||
#define CondTools_RunInfo_LHCInfoHelper_h | ||
|
||
#include "CondCore/CondDB/interface/Time.h" | ||
#include "CondTools/RunInfo/interface/OMSAccess.h" | ||
|
||
namespace cond { | ||
|
||
namespace lhcInfoHelper { | ||
|
||
// Large number of LS for the OMS query, covering around 25 hours | ||
static constexpr unsigned int kLumisectionsQueryLimit = 4000; | ||
|
||
// Returns lumi-type IOV from last LS of last Run of the specified Fill | ||
cond::Time_t getFillLastLumiIOV(const cond::OMSService& oms, unsigned short fillId); | ||
|
||
} // namespace lhcInfoHelper | ||
|
||
} // namespace cond | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.