11 #include "FairLogger.h"
15 #include "TClonesArray.h"
36 : FairTask(name, iVerbose)
40 , fWordsPerSuperRegion()
41 , fMvdCluster(nullptr)
51 FairRootManager* ioman = FairRootManager::Instance();
52 if (!ioman) { LOG(fatal) <<
"RootManager not instantised!"; }
54 fMvdCluster = (TClonesArray*) ioman->GetObject(
"MvdCluster");
56 if (!
fMvdCluster) LOG(fatal) <<
"Data array missing";
66 for (Int_t
i = 0;
i < 350; ++
i) {
68 Form(
"fWordsPerRegionSensor%d",
i),
"Words send to a region", 65, 0, 64);
70 "Words send to a region",
81 LOG(debug) <<
"//--------------- New Event " <<
fEventNumber
82 <<
" -----------------------\\";
84 for (Int_t nClusters = 0; nClusters <
fMvdCluster->GetEntriesFast();
88 map<pair<Int_t, Int_t>, Int_t> pixelMap = cluster->
GetPixelMap();
90 for (
auto cntr = pixelMap.begin(); cntr != pixelMap.end(); ++cntr) {
91 Int_t xPix = cntr->first.first;
100 LOG(debug) <<
"//--------------- End Event -----------------------\\";
110 for (Int_t
i = 0;
i < 350; ++
i) {
123 for (Int_t
i = 0;
i < 350; ++
i) {
127 for (Int_t
i = 0;
i < 350; ++
i) {