@@ -49,18 +49,17 @@ class Cluster : public o2::BaseCluster<float>
4949 kDownRight = 4 , // 2^4, 5th bit
5050 kDown = 5 , // 2^5, 6th bit
5151 kDownLeft = 6 , // 2^6, 7th bit
52- kLeft = 7 , // 2^7, 8th bit
53- //
54- FrameBit = 6 }; // this bit set means that the cluster is in the nominal (alpha=20*sector+10 deg.) sector frame rather than aligned
52+ kLeft = 7 // 2^7, 8th bit
53+ };
5554
5655 Cluster () = default ;
5756
5857 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 );
5958
6059 ~Cluster () = default ;
6160
62- bool isInNominalSector () const { return isBitSet (FrameBit) ; }
63- void setInNominalSector () { setBit (FrameBit) ; }
61+ bool isInNominalSector () const { return mInNominalSector ; }
62+ void setInNominalSector (bool v = true ) { mInNominalSector = v ; }
6463
6564 std::int8_t getSector () const { return getCount (); }
6665 void setSector (std::int8_t value) { setCount (value); }
@@ -163,9 +162,10 @@ class Cluster : public o2::BaseCluster<float>
163162 double mDigitInfoT [6 ] = {0 ., 0 ., 0 ., 0 ., 0 ., 0 .};
164163 float mDigitInfoTOT [6 ] = {0 ., 0 ., 0 ., 0 ., 0 ., 0 .};
165164 float mTgeant = 0.0 ;
165+ bool mInNominalSector = false ;
166166 double mT0true = 0.0 ;
167167
168- ClassDefNV (Cluster, 5 );
168+ ClassDefNV (Cluster, 6 );
169169};
170170
171171#ifndef GPUCA_GPUCODE
0 commit comments