Skip to content

Commit

Permalink
ITS/Calibration: optional publishing of MOs (#2499)
Browse files Browse the repository at this point in the history
* Added optional publishing of MOs based on scan type

* Changed default .json
  • Loading branch information
IsakovAD authored Feb 11, 2025
1 parent 0bd0230 commit cb08023
Show file tree
Hide file tree
Showing 3 changed files with 174 additions and 118 deletions.
11 changes: 11 additions & 0 deletions Modules/ITS/include/ITS/ITSThresholdCalibrationTask.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,16 @@ class TH2D;

using namespace o2::quality_control::core;

enum {
VCASN,
ITHR,
THR,
TOT,
pixel_noise,
pixel_dead,
pixel_ineff
};

namespace o2::quality_control_modules::its
{

Expand Down Expand Up @@ -105,6 +115,7 @@ class ITSThresholdCalibrationTask : public TaskInterface
TString sScanTypes[3] = { "VCASN", "ITHR", "THR" };
TString sCalibrationType[3] = { "Noisy", "Dead", "Ineff" };
TString sBarrelType[3] = { "IB", "ML", "OL" };
int CalibType = 0; // THR
Int_t nChips[3] = { 9, 112, 196 };
Int_t nStaves[3] = { 48, 54, 90 };
Int_t nXmax[3] = { 130, 100, 450 };
Expand Down
4 changes: 3 additions & 1 deletion Modules/ITS/itsThresholdCalibration.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@
"query" : "tunestring:ITS/TSTR;runtype:ITS/RUNT;fittype:ITS/FITT;scantype:ITS/SCANT;chipdonestring:ITS/QCSTR;confdbv:ITS/CONFDBV;PixTypString:ITS/PIXTYP"
},
"location" : "remote",
"taskParameters" : {}
"taskParameters" : {
"CalibrationType": "THR"
}
}
}

Expand Down
Loading

0 comments on commit cb08023

Please sign in to comment.