virtual Bool_t IsEqual(const TObject* obj) const;
virtual Int_t Compare(const TObject* obj) const;
//
+ UShort_t GetRecoInfo() const {return fRecoInfo;}
+ void SetRecoInfo(UShort_t v) {fRecoInfo = v; ModClUsage(v>0);}
+ //
Bool_t HasCommonTrack(const AliCluster* cl) const;
//
static void SetGeom(AliITSUGeomTGeo* gm) {fgGeom = gm;}
protected:
//
UShort_t fCharge; // charge (for MC studies only)
+ UShort_t fRecoInfo; //! space reserved for reco time manipulations
Int_t fNxNzN; // effective cluster size in X (1st byte) and Z (2nd byte) directions
// and total Npix(3d byte). 4th byte is used for clusters usage counter
static UInt_t fgMode; //! general mode (sorting mode etc)
static AliITSUGeomTGeo* fgGeom; //! pointer on the geometry data
- ClassDef(AliITSUClusterPix,1)
+ ClassDef(AliITSUClusterPix,2)
};
//______________________________________________________
//______________________________________________________
inline void AliITSUClusterPix::SetClUsage(Int_t n) {
// set cluster usage counter
- fNxNzN &= ((n&0xff)<<24)&0x00ffffff;
+ fNxNzN &= 0x00ffffff;
+ fNxNzN |= (n&0xff)<<24;
if (n<2) SetBit(kShared,kFALSE);
if (!n) SetBit(kUsed,kFALSE);
}