Skip to content

Commit 37a1f62

Browse files
dstoccopillot
authored andcommitted
Fix typo and add explanation comments
1 parent adc8cad commit 37a1f62

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Detectors/MUON/MID/Calibration/macros/build_rejectlist.C

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,12 @@ std::vector<long> findObjectsTSInPeriod(long start, long end, const o2::ccdb::Cc
109109
/// @return Pair with first and last time
110110
std::pair<uint64_t, uint64_t> findTSRange(TCanvas* qcQuality, bool selectBad = true)
111111
{
112+
// Gets the plot with the quality flags
113+
// The flag values are:
114+
// Good: 3.5
115+
// Medium: 2.5
116+
// Bad: 1.5
117+
// Null: 0.5
112118
auto* gr = static_cast<TGraph*>(qcQuality->GetListOfPrimitives()->FindObject("Graph"));
113119
double xp, yp;
114120
std::pair<uint64_t, uint64_t> range{std::numeric_limits<uint64_t>::max(), 0};
@@ -276,7 +282,7 @@ std::vector<o2::mid::ColumnData> build_rejectlist(long timestamp, const char* qc
276282
return build_rejectlist(timestamp, qcdbApi, ccdbApi, outCCDBApi);
277283
}
278284

279-
/// @brief Builds the reject list iin a time range
285+
/// @brief Builds the reject list in a time range
280286
/// @param start Start time for query
281287
/// @param end End time for query
282288
/// @param qcdbUrl QCDB URL

0 commit comments

Comments
 (0)