]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliESDPmdTrack.h
Fix for Savannah bug report 59287
[u/mrichter/AliRoot.git] / STEER / AliESDPmdTrack.h
index 4df0d9f4fce079299a59d2f9ac0ec8c361d9b749..8c8351cf24d6b7b19c3e1445c640f6fa79a019ad 100644 (file)
 class AliESDPmdTrack : public TObject {
  public:
   AliESDPmdTrack();
-  virtual ~AliESDPmdTrack(){}
+  virtual ~AliESDPmdTrack(){;}
   AliESDPmdTrack (const AliESDPmdTrack &PMDTrack);  // copy constructor
   AliESDPmdTrack &operator=(const AliESDPmdTrack &PMDTrack); // assignment op
-  
+  virtual void Copy(TObject &obj) const;
+
   void SetDetector(Int_t idet) {fDet = idet;}
-  void SetTheta(Float_t theta) {fTheta = theta;}
-  void SetPhi(Float_t phi) {fPhi = phi;}
+  
+  void SetClusterX(Float_t xglobal) {fX = xglobal;}
+  void SetClusterY(Float_t yglobal) {fY = yglobal;}
+  void SetClusterZ(Float_t zglobal) {fZ = zglobal;}
   void SetClusterADC(Float_t cluadc) {fCluADC = cluadc;}
+  void SetClusterCells(Float_t ncell) {fNcell = (UChar_t)ncell;}
   void SetClusterPID(Float_t clupid) {fCluPID = clupid;}
+  void SetSmn(Int_t smn) {fSmn = smn;}
+  void SetClusterTrackNo(Int_t trno) {fTrackNo = trno;}
+  void SetClusterTrackPid(Int_t trpid) {fTrackPid = trpid;}
+  void SetClusterMatching(UShort_t mstat) {fClMatching = mstat;}
+  void SetClusterSigmaX(Float_t sigx) {fSigX = sigx;}
+  void SetClusterSigmaY(Float_t sigy) {fSigY = sigy;}
 
-  Int_t   GetDetector() const {return fDet;}
-  Float_t GetTheta() const {return fTheta;}
-  Float_t GetPhi() const {return fPhi;}
-  Float_t GetClusterADC() const {return fCluADC;}
-  Float_t GetClusterPID() const {return fCluPID;}
+  Double_t GetClusterX() const {return fX;}
+  Double_t GetClusterY() const {return fY;}
+  Double_t GetClusterZ() const {return fZ;}
+  Double_t GetClusterADC() const {return fCluADC;}
+  Double_t GetClusterPID() const {return fCluPID;}
+  UChar_t  GetClusterCells() const {return fNcell;}
+  UChar_t  GetDetector() const {return fDet;}
+  Int_t    GetSmn() const {return fSmn;}
+  Int_t    GetClusterTrackNo() const {return fTrackNo;}
+  Int_t    GetClusterTrackPid() const {return fTrackPid;}
+  UShort_t GetClusterMatching() const {return fClMatching;}
+  Double_t GetClusterSigmaX() const {return fSigX;}
+  Double_t GetClusterSigmaY() const {return fSigY;}
+  
   
  protected:
-  Int_t fDet;      // Detector, 0:PRE, 1:CPV
-  Float_t fTheta;  // Theta of the Cluster in radian
-  Float_t fPhi;    // Phi of the Cluster in radian
-  Float_t fCluADC; // Cluster Energy in ADC
-  Float_t fCluPID; // Cluster probability, 1: Photon, 0: Hadron
 
-  ClassDef(AliESDPmdTrack,1)  //PMD ESD track class 
+  Double32_t fX;      // Cluster X position
+  Double32_t fY;      // Cluster Y position
+  Double32_t fZ;      // Cluster Z position (vertex uncorrected)
+  Double32_t fCluADC; // Cluster Energy in ADC
+  Double32_t fCluPID; //[0.,1.,8] Cluster probability, 1: Photon, 0: Hadron
+  UChar_t    fDet;    // Detector, 0:PRE, 1:CPV
+  UChar_t    fNcell;  // Cluster cells
+  Int_t      fSmn;    // Serial module number
+  Int_t      fTrackNo; // Track number assigned to the clus from simulation
+  Int_t      fTrackPid; // Track pid assigned to clus from simulation
+  UShort_t   fClMatching; // Cluster of PRE matching with CPV
+  Double32_t fSigX;       // Cluster x-width
+  Double32_t fSigY;       // Cluster y-width
+
+  ClassDef(AliESDPmdTrack,5)  //PMD ESD track class 
+
 };
 
 #endif