-
- class AliEMCALMatch : public TObject
- {
- public:
- AliEMCALMatch();
- AliEMCALMatch(const AliEMCALMatch& copy);
- virtual ~AliEMCALMatch() { }
- //----------------------------------------------------------------------------
- Bool_t& CanBeSaved() {return fCanBeSaved;}
- Int_t Compare(const TObject *obj) const;
- Double_t GetDistance() const {return fDistance;}
- Double_t GetPt() const {return fPt;}
- Int_t GetIndexC() const {return fIndexC;}
- Int_t GetIndexT() const {return fIndexT;}
- Bool_t IsSortable() const {return kTRUE;}
- void SetIndexC(Int_t icl) {fIndexC=icl;}
- void SetIndexT(Int_t itr) {fIndexT=itr;}
- void SetDistance(Double_t dist) {fDistance=dist;}
- void SetPt(Double_t pt) {fPt=pt;}
- private:
- Bool_t fCanBeSaved; // when true, this match can be saved, otherwise it will not be
- Int_t fIndexC; // cluster index in 'fClusters' array
- Int_t fIndexT; // track index in 'fTracks' array
- Double_t fDistance; // track - cluster distance
- Double_t fPt; // track pt
- };
-