class AliEMCALTrack;
class AliEMCALRecPoint;
class AliEMCALGeometry;
+class AliEMCALRecParam;
class AliEMCALTracker : public AliTracker
{
virtual void Clear(Option_t *option="ALL");
virtual Int_t Clusters2Tracks(AliESDEvent*) {return -1;}
+ void InitParameters();
virtual Int_t LoadClusters(TTree*);
Int_t LoadClusters(AliESDEvent* esd);
Int_t LoadTracks(AliESDEvent* esd);
AliEMCALMatchCluster(Int_t ID, AliESDCaloCluster *caloCluster);
virtual ~AliEMCALMatchCluster() { }
//----------------------------------------------------------------------------
- Int_t& Index() {return fIndex;}
- Int_t& Label() {return fLabel;}
- Double_t& X() {return fX;}
- Double_t& Y() {return fY;}
- Double_t& Z() {return fZ;}
- Double_t Phi() {return TMath::ATan2(fY, fX);}
+ Int_t Index() const {return fIndex;}
+ Int_t Label() const {return fLabel;}
+ Double_t X() const {return fX;}
+ Double_t Y() const {return fY;}
+ Double_t Z() const {return fZ;}
+ Double_t Phi() const {return TMath::ATan2(fY, fX);}
private:
Int_t fIndex; // index of cluster in its native container (ESD or TClonesArray)
Int_t fLabel; // track label of assigned cluster
//----------------------------------------------------------------------------
Bool_t& CanBeSaved() {return fCanBeSaved;}
Int_t Compare(const TObject *obj) const;
- Double_t GetDistance() {return fDistance;}
- Double_t GetPt() {return fPt;}
- Int_t GetIndexC() {return fIndexC;}
- Int_t GetIndexT() {return fIndexT;}
+ 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;}
TList *fMatches; //! collection of matches between tracks and clusters
AliEMCALGeometry *fGeom; //! EMCAL geometry
+ static AliEMCALRecParam* fgkRecParam; // track-matching parameters for EMCAL
- ClassDef(AliEMCALTracker, 1) // EMCAL "tracker"
+ ClassDef(AliEMCALTracker, 2) // EMCAL "tracker"
};
#endif