13 #include "FairLogger.h"
14 #include "FairRootManager.h"
15 #include "FairRunOnline.h"
17 #include "TClonesArray.h"
20 #include "THttpServer.h"
26 using std::setprecision;
30 : FairTask(
"CbmMcbm2019CheckDigisSts") {}
55 LOG(info) <<
"No TClonesArray with STS digis found.";
67 "Digis per Asic evo; Time [ ns ]; ASIC []",
82 "fSameChanDigisDistEvo",
83 "Time dist of digis in same chan evo; Time [ ns ]; Same chan dist [ ns ]",
91 std::cout << Form(
"TS with jump %5u, first TS time off %12.0f, start TS %5u "
92 "stop TS %5u, TS length %9.0f Start time %12.0f",
106 LOG(debug) <<
"executing TS " <<
fNrTs;
109 LOG(info) << Form(
"Processing TS %6d",
fNrTs);
118 LOG(debug) <<
"StsDigis: " << nrStsDigis;
121 for (Int_t iSts = 0; iSts < nrStsDigis; ++iSts) {
125 Double_t dTime = Digi->
GetTime();
135 std::cout << Form(
"Much first hit in TS %5d: asic %2u chan %3u time "
136 "%12.0f T0 time %12.0f check time %12.0f ADC %2.0f",
150 Double_t dTimeDistLastDigi =
153 dTimeDistLastDigi < 10000 ? dTimeDistLastDigi
165 if (9 != uAsic || uChan < 63)
continue;
166 if (fuMaxAdcPulserSts < Digi->GetCharge()
170 std::cout << Form(
"Sts pulser in TS %5d: chan %3u T0 time %12.0f time "
171 "start %12.0f ADC %2.0f dt %12.0f",