/// Build a single integer with id information
static UInt_t BuildUniqueID(Int_t chamberId, Int_t detElemId, Int_t clusterIndex)
- {return ((chamberId << 28) | (detElemId << 17) | (clusterIndex));}
+ {return (((chamberId & 0xF) << 28) | ((detElemId & 0x7FF) << 17) | (clusterIndex & 0x1FFFF));}
/// Return chamber id (0..), part of the uniqueID
static Int_t GetChamberId(UInt_t uniqueID) {return (uniqueID & 0xF0000000) >> 28;}
/// Return detection element id, part of the uniqueID
/// Return chi2 of cluster
virtual Double_t GetChi2() const = 0;
+ /// Set the corresponding MC track number
+ virtual void SetMCLabel(Int_t label) = 0;
+ /// Return the corresponding MC track number
+ virtual Int_t GetMCLabel() const = 0;
+
virtual void Print(Option_t *option = "") const;