You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
shortintmStrobeWindow = 5; // 5 means 5*25ns = 125 ns
246
+
shortintmRowScan = 512; // number of scanned rows, used only to normalize % of success
244
247
245
248
// Get threshold method (fit == 1, derivative == 0, or hitcounting == 2)
246
249
charmFitType = -1;
@@ -293,6 +296,7 @@ class ITSThresholdCalibrator : public Task
293
296
shortint manualStep = 1, manualStep2 = 1;
294
297
std::string manualScanType;
295
298
shortint manualStrobeWindow = 5;
299
+
shortint manualRowScan = 512; // used only to normalize % of success in thr/ithr/vcasn scans
296
300
297
301
// for CRU_ITS data processing
298
302
bool isCRUITS = false;
@@ -306,7 +310,7 @@ class ITSThresholdCalibrator : public Task
306
310
int maxDumpS = -1; // maximum number of s-curves to be dumped, default -1 = dump all
307
311
std::string chipDumpS = ""; // list of comma-separated O2 chipIDs to be dumped, default is empty = dump all
308
312
int dumpCounterS[24120] = {0}; // count dumps for every chip
309
-
int countCdw[24120] = {0}; //count how many CDWs have been processed with the maximum charge injected: usefull for s-curve dump when hits do not arrive in order
313
+
bool isChipDB[24120] = {0}; //check whether a chip has been already added to DB entry
310
314
TFile* fileDumpS; // file where to store the s-curves on disk
311
315
std::vector<shortint> chipDumpList; // vector of chips to dump
312
316
@@ -324,6 +328,9 @@ class ITSThresholdCalibrator : public Task
324
328
325
329
// Percentage cut for VCASN/ITHR scans
326
330
shortintmPercentageCut = 25; // default, at least 1 good row equivalent
0 commit comments