8 #include <FairLogger.h>
12 #include <TEvePointSet.h>
13 #include <TGenericClassInfo.h>
20 : TEvePointSetArray(name, title)
48 fTime =
new Double_t[npoints];
49 fToT =
new Double_t[npoints];
51 fIndex =
new Int_t[npoints];
77 Double_t eveTime = 50;
82 Int_t nCol = TColor::GetNumberOfColors();
84 for (Int_t
id = 0;
id <
fNPoints;
id++) {
88 if (
fTime[
id] < binTime) {
91 TColor::GetColorPalette(
fTime[
id] * binCol / binTime));
96 ->SetMainColor(TColor::GetColorPalette(binCol
97 + (
fTime[
id] - binTime)
99 / (eveTime - binTime)));
106 TColor::GetColorPalette(
fToT[
id] * (nCol - 1) / binToT));
110 ->SetMainColor(TColor::GetColorPalette(
fIndex[
id] - 1));
113 this->GetBin(
fIndex[
id])->SetMainColor(TColor::GetColorPalette(49));
117 ->SetMainColor(TColor::GetColorPalette(
fIndex[
id] - 1));
127 for (Int_t
id = 0;
id <
fNPoints;
id++) {
131 ->SetMarkerSize(1.25 + (
fCluSize[
id] - 1) * 0.5);
137 this->GetBin(
fIndex[
id])->SetMarkerSize(1.5);
139 default: this->GetBin(
fIndex[
id])->SetMarkerSize(1.5);
return;
148 for (Int_t
id = 0;
id <
fNPoints;
id++) {
151 "PointId = %d\nTime = %2.2fns\nClusterSize = %d\nToT = %2.2f[a.u.]",
156 this->GetBin(
fIndex[
id])->ComputeBBox();