]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliESDtrack.h
Corrected reconstruction flags (Yu.Belikov)
[u/mrichter/AliRoot.git] / STEER / AliESDtrack.h
index 35131059e23025177855975ccb08430861c09374..05249f8df35dfa7ea25f3bd2fbf6ae3ce61298ab 100644 (file)
@@ -33,7 +33,7 @@ public:
   void GetExternalCovariance(Double_t cov[15]) const;
   Double_t GetIntegratedLength() const {return fTrackLength;}
   void GetIntegratedTimes(Double_t *times) const;
-  Float_t GetMass() const;
+  Double_t GetMass() const;
   Double_t GetP() const;
   void GetPxPyPz(Double_t *p) const;
   void GetXYZ(Double_t *r) const;
@@ -60,11 +60,14 @@ public:
   void GetOuterXYZ(Double_t *r) const;
 
   void SetITSpid(const Double_t *p);
+  void SetITSChi2MIP(const Float_t *chi2mip);
   void GetITSpid(Double_t *p) const;
   Float_t GetITSsignal() const {return fITSsignal;}
   Float_t GetITSchi2() const {return fITSchi2;}
   Int_t GetITSclusters(UInt_t *idx) const;
   Int_t GetITSLabel() const {return fITSLabel;}
+  Float_t GetITSFakeRatio() const {return fITSFakeRatio;}
+
 
   void SetTPCpid(const Double_t *p);
   void GetTPCpid(Double_t *p) const;
@@ -91,13 +94,32 @@ public:
   void    GetTOFpid(Double_t *p) const;
   UInt_t  GetTOFcluster() const {return fTOFindex;}
   void  SetTOFcluster(UInt_t index) {fTOFindex=index;}
+  
+  void    SetRICHsignal(Double_t beta) {fRICHsignal=beta;}
+  Float_t GetRICHsignal() const {return fRICHsignal;}
+  void    SetRICHpid(const Double_t *p);
+  void    GetRICHpid(Double_t *p) const;
+  
+  void SetPHOSposition(const Double_t *pos)  {
+    fPHOSpos[0] = pos[0]; fPHOSpos[1]=pos[1]; fPHOSpos[2]=pos[2];
+  }
+  void SetPHOSsignal(Double_t ene) {fPHOSsignal = ene; }
+  void SetPHOSpid(const Double_t *p);
+  void GetPHOSposition(Double_t *pos) const {
+    pos[0]=fPHOSpos[0]; pos[1]=fPHOSpos[1]; pos[2]=fPHOSpos[2];
+  }
+  Float_t GetPHOSsignal() const {return fPHOSsignal;}
+  void GetPHOSpid(Double_t *p) const;  
+
   Bool_t IsOn(Int_t mask){ return (fFlags&mask)>0;}
+  Bool_t IsRICH(){ return fFlags&kRICHpid;}
   enum {
     kITSin=0x0001,kITSout=0x0002,kITSrefit=0x0004,kITSpid=0x0008,
     kTPCin=0x0010,kTPCout=0x0020,kTPCrefit=0x0040,kTPCpid=0x0080,
     kTRDin=0x0100,kTRDout=0x0200,kTRDrefit=0x0400,kTRDpid=0x0800,
     kTOFin=0x1000,kTOFout=0x2000,kTOFrefit=0x4000,kTOFpid=0x8000,
-    kTRDStop=0x10000,
+    kPHOSpid=0x10000, kRICHpid=0x20000,
+    kTRDStop=0x20000000,
     kESDpid=0x40000000,
     kTIME=0x80000000
   }; 
@@ -131,12 +153,13 @@ protected:
 
   // ITS related track information
   Float_t fITSchi2;        // chi2 in the ITS
+  Float_t fITSchi2MIP[6];     // chi2s in the ITS
   Int_t   fITSncls;        // number of clusters assigned in the ITS
   UInt_t  fITSindex[6];    //! indices of the assigned ITS clusters
   Float_t fITSsignal;      // detector's PID signal
   Float_t fITSr[kSPECIES]; // "detector response probabilities" (for the PID)
   Int_t   fITSLabel;       // label according TPC
-
+  Float_t fITSFakeRatio;   // ration of fake tracks
   // TPC related track information
   Float_t fTPCchi2;        // chi2 in the TPC
   Int_t   fTPCncls;        // number of clusters assigned in the TPC
@@ -145,6 +168,7 @@ protected:
   Float_t fTPCsignal;      // detector's PID signal
   Float_t fTPCr[kSPECIES]; // "detector response probabilities" (for the PID)
   Int_t   fTPCLabel;       // label according TPC
+
   // TRD related track information
   Float_t fTRDchi2;        // chi2 in the TRD
   Int_t   fTRDncls;        // number of clusters assigned in the TRD
@@ -159,9 +183,16 @@ protected:
   Float_t fTOFsignal;      // detector's PID signal
   Float_t fTOFr[kSPECIES]; // "detector response probabilities" (for the PID)
 
-  // HMPID related track information
+  // PHOS related track information 
+  Float_t fPHOSpos[3]; //position localised by PHOS in global coordinate system
+  Float_t fPHOSsignal; // energy measured by PHOS
+  Float_t fPHOSr[kSPECIES]; // PID information from PHOS
 
-  ClassDef(AliESDtrack,1)  //ESDtrack 
+  // HMPID related track information
+  Float_t fRICHsignal;     // detector's PID signal (beta for RICH)
+  Float_t fRICHr[kSPECIES];// "detector response probabilities" (for the PID)
+       
+  ClassDef(AliESDtrack,4)  //ESDtrack 
 };
 
 #endif