forked from AliceO2Group/O2Physics
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
getForTimeStamp instead of getSpecific
- Loading branch information
Showing
2 changed files
with
66 additions
and
71 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 |
---|---|---|
|
@@ -14,7 +14,6 @@ | |
/// | ||
/// \author Evgeny Kryshen <[email protected]> and Igor Altsybeev <[email protected]> | ||
|
||
#include <string> | ||
#include <vector> | ||
#include <map> | ||
|
||
|
@@ -291,9 +290,7 @@ struct BcSelectionTask { | |
int beamZ2 = grplhcif->getBeamZ(o2::constants::lhc::BeamC); | ||
isPP = beamZ1 == 1 && beamZ2 == 1; | ||
// prepare map of inactive chips | ||
std::map<std::string, std::string> metadata; | ||
metadata["runNumber"] = Form("%d", run); | ||
auto itsDeadMap = ccdb->getSpecific<o2::itsmft::TimeDeadMap>("ITS/Calib/TimeDeadMap", ts, metadata); | ||
auto itsDeadMap = ccdb->getForTimeStamp<o2::itsmft::TimeDeadMap>("ITS/Calib/TimeDeadMap", ts); | ||
auto itsDeadMapOrbits = itsDeadMap->getEvolvingMapKeys(); // roughly every second, ~350 TFs = 350x32 orbits | ||
std::vector<uint16_t> vClosest; // temporary vector of inactive chip ids for the current orbit range | ||
for (const auto& orbit : itsDeadMapOrbits) { | ||
|
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