Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions DataFormats/Detectors/TOF/include/DataFormatsTOF/Cluster.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,17 @@ class Cluster : public o2::BaseCluster<float>
kDownRight = 4, // 2^4, 5th bit
kDown = 5, // 2^5, 6th bit
kDownLeft = 6, // 2^6, 7th bit
kLeft = 7, // 2^7, 8th bit
//
FrameBit = 6 }; // this bit set means that the cluster is in the nominal (alpha=20*sector+10 deg.) sector frame rather than aligned
kLeft = 7 // 2^7, 8th bit
};

Cluster() = default;

Cluster(std::int16_t sensid, float x, float y, float z, float sy2, float sz2, float syz, double timeRaw, double time, float tot, int L0L1latency, int deltaBC, float geanttime = 0.0, double t0 = 0.0);

~Cluster() = default;

bool isInNominalSector() const { return isBitSet(FrameBit); }
void setInNominalSector() { setBit(FrameBit); }
bool isInNominalSector() const { return mInNominalSector; }
void setInNominalSector(bool v = true) { mInNominalSector = v; }

std::int8_t getSector() const { return getCount(); }
void setSector(std::int8_t value) { setCount(value); }
Expand Down Expand Up @@ -163,9 +162,10 @@ class Cluster : public o2::BaseCluster<float>
double mDigitInfoT[6] = {0., 0., 0., 0., 0., 0.};
float mDigitInfoTOT[6] = {0., 0., 0., 0., 0., 0.};
float mTgeant = 0.0;
bool mInNominalSector = false;
double mT0true = 0.0;

ClassDefNV(Cluster, 5);
ClassDefNV(Cluster, 6);
};

#ifndef GPUCA_GPUCODE
Expand Down