Skip to content

Commit cb08023

Browse files
authored
ITS/Calibration: optional publishing of MOs (#2499)
* Added optional publishing of MOs based on scan type * Changed default .json
1 parent 0bd0230 commit cb08023

3 files changed

Lines changed: 174 additions & 118 deletions

File tree

Modules/ITS/include/ITS/ITSThresholdCalibrationTask.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@ class TH2D;
2828

2929
using namespace o2::quality_control::core;
3030

31+
enum {
32+
VCASN,
33+
ITHR,
34+
THR,
35+
TOT,
36+
pixel_noise,
37+
pixel_dead,
38+
pixel_ineff
39+
};
40+
3141
namespace o2::quality_control_modules::its
3242
{
3343

@@ -105,6 +115,7 @@ class ITSThresholdCalibrationTask : public TaskInterface
105115
TString sScanTypes[3] = { "VCASN", "ITHR", "THR" };
106116
TString sCalibrationType[3] = { "Noisy", "Dead", "Ineff" };
107117
TString sBarrelType[3] = { "IB", "ML", "OL" };
118+
int CalibType = 0; // THR
108119
Int_t nChips[3] = { 9, 112, 196 };
109120
Int_t nStaves[3] = { 48, 54, 90 };
110121
Int_t nXmax[3] = { 130, 100, 450 };

Modules/ITS/itsThresholdCalibration.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@
3636
"query" : "tunestring:ITS/TSTR;runtype:ITS/RUNT;fittype:ITS/FITT;scantype:ITS/SCANT;chipdonestring:ITS/QCSTR;confdbv:ITS/CONFDBV;PixTypString:ITS/PIXTYP"
3737
},
3838
"location" : "remote",
39-
"taskParameters" : {}
39+
"taskParameters" : {
40+
"CalibrationType": "THR"
41+
}
4042
}
4143
}
4244

0 commit comments

Comments
 (0)