Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Common/Utils/include/CommonUtils/NameConf.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class NameConf : public o2::conf::ConfigurableParamHelper<NameConf>
static constexpr std::string_view NOISEFILENAME = "NoiseMap";
static constexpr std::string_view MATBUDLUT = "matbud";
static constexpr std::string_view COLLISIONCONTEXT = "collisioncontext";
static constexpr std::string_view ALIGNPATH = "Align";
static constexpr std::string_view ALIGNPATH = "Calib/Align";
static constexpr std::string_view TFIDINFO = "tfidinfo";

// these are configurable paths for some commonly used files
Expand Down
3 changes: 2 additions & 1 deletion macro/UploadDummyAlignment.C
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
using DetID = o2::detectors::DetID;

// upload dummy alignment objects to CCDB
void UploadDummyAlignment(const std::string& ccdbHost = "http://ccdb-test.cern.ch:8080", long tmin = 0, long tmax = -1, DetID::mask_t msk = DetID::FullMask)
void UploadDummyAlignment(const std::string& ccdbHost = "http://ccdb-test.cern.ch:8080", long tmin = 1, long tmax = 99999999999999, DetID::mask_t msk = DetID::FullMask)
{
DetID::mask_t dets = msk & DetID::FullMask & (~DetID::getMask(DetID::CTP));
LOG(info) << "Mask = " << dets;
Expand All @@ -27,6 +27,7 @@ void UploadDummyAlignment(const std::string& ccdbHost = "http://ccdb-test.cern.c
map<string, string> metadata; // can be empty
DetID det(id);
metadata["comment"] = fmt::format("Empty alignment object for {}", det.getName());
metadata["default"] = "true"; // tag default objects
api.storeAsTFileAny(&params, o2::base::DetectorNameConf::getAlignmentPath(det), metadata, tmin, tmax);
LOG(info) << "Uploaded dummy alignment for " << det.getName();
}
Expand Down