]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliESDPmdTrack.h
Unneeded error message (Andrea)
[u/mrichter/AliRoot.git] / STEER / AliESDPmdTrack.h
index 4982b86f79798c0a9b5f45374694bdb439b5a03f..94d38abf0ca6d3eaf3c2456be1fdac2c74b9b85a 100644 (file)
@@ -1,35 +1,55 @@
 #ifndef ALIESDPMDTRACK_H
 #define ALIESDPMDTRACK_H
 
+/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ * See cxx source for full Copyright notice                               */
+
+/* $Id$ */
+
+// Event Data Summary Class for pmd tracks
+// This is part of the reconstructed ESD events
+// for the PMD detector
+
 #include "TObject.h"
 
 class AliESDPmdTrack : public TObject {
  public:
-  AliESDPmdTrack(){}
-  virtual ~AliESDPmdTrack(){}
+  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;}
 
-  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;}
+  
   
  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
+
+  ClassDef(AliESDPmdTrack,4)  //PMD ESD track class 
+
 };
 
 #endif