]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliESDPmdTrack.h
made the saving of the Corr TNtuples more robusr: Source of Seg. Fault
[u/mrichter/AliRoot.git] / STEER / AliESDPmdTrack.h
index 2f41ca80ab98b024aa4c5cb029930c922d2732f0..8c8351cf24d6b7b19c3e1445c640f6fa79a019ad 100644 (file)
@@ -18,6 +18,7 @@ class AliESDPmdTrack : public TObject {
   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;}
   
@@ -27,14 +28,26 @@ class AliESDPmdTrack : public TObject {
   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;}
 
   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;}
+  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:
@@ -44,10 +57,16 @@ class AliESDPmdTrack : public TObject {
   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
+  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,4)  //PMD ESD track class 
+  ClassDef(AliESDPmdTrack,5)  //PMD ESD track class 
 
 };