]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSTrackSegment.h
ReadRaw(): replace TGraph by TH1F for samples (B.Polichtchouk
[u/mrichter/AliRoot.git] / PHOS / AliPHOSTrackSegment.h
index 5d69e180cdaa19902b30877024add94bcf6e37c2..f3ca43e320d0685ad2d8d693d64e7a595c4534b4 100644 (file)
@@ -5,11 +5,18 @@
 
 /* $Id$ */
 
+/* History of cvs commits:
+ *
+ * $Log$
+ * Revision 1.22  2005/05/28 14:19:05  schutz
+ * Compilation warnings fixed by T.P.
+ *
+ */
+
 //_________________________________________________________________________
 //  Track segment in PHOS
 //  Can be : 1 EmcRecPoint
-//           1 EmcRecPoint + 1 PPSD
-//           1 EmcRecPoint + 1 PPSD + 1 PPSD     
+//           1 EmcRecPoint + 1 CPV
 //                  
 //*-- Author:  Dmitri Peressounko (RRC KI & SUBATECH)
 
@@ -21,29 +28,33 @@ class TClonesArray ;
 // --- Standard library ---
 
 // --- AliRoot header files ---
-
-class AliPHOSEmcRecPoint ;
 class AliPHOSRecPoint ; 
+class AliPHOSEmcRecPoint ; 
+class AliPHOSCpvRecPoint ; 
+class AliESDtrack ; 
 
 class AliPHOSTrackSegment : public TObject  {
 
 public:
 
-  AliPHOSTrackSegment() {} 
+  AliPHOSTrackSegment() ;
+  AliPHOSTrackSegment(AliPHOSEmcRecPoint * EmcRecPoint , 
+                     AliPHOSRecPoint * Cpv) ;
   AliPHOSTrackSegment(AliPHOSEmcRecPoint * EmcRecPoint , 
-                     AliPHOSRecPoint * PpsdUp) ;
+                     AliPHOSRecPoint * Cpv, Int_t track) ;
   AliPHOSTrackSegment(const AliPHOSTrackSegment & ts) ;  // ctor                   
   virtual ~AliPHOSTrackSegment() {  } 
 
-  void Copy(TObject & obj) ;  
+  void Copy(TObject & obj) const;  
 
   Int_t   GetIndexInList() const {  return fIndexInList ;   } 
   Int_t   GetEmcIndex()    const {  return fEmcRecPoint ;   }
-  Int_t   GetCpvIndex()    const {  return fPpsdUpRecPoint; }
+  Int_t   GetCpvIndex()    const {  return fCpvRecPoint; }
+  Int_t   GetTrackIndex()  const {  return fTrack; }
 
-  virtual void  Print(Option_t * option) const;
+  virtual void  Print(const Option_t * = "") const;
   void    SetIndexInList(Int_t val){ fIndexInList = val ;     } 
-  void    SetCpvRecPoint(AliPHOSRecPoint * PpsdUpRecPoint ); //sets PPSD up Rec Point
+  void    SetCpvRecPoint(AliPHOSRecPoint * CpvRecPoint ); //sets CPV Rec Point
 
   typedef TClonesArray TrackSegmentsList ; 
  
@@ -51,8 +62,9 @@ public:
   
   Int_t fEmcRecPoint ;     // The EMC reconstructed point index in array stored in TreeR/PHOSEmcRP
   Int_t fIndexInList ;     // the index of this TrackSegment in the list stored in TreeR (to be set by analysis)
-  Int_t fPpsdUpRecPoint ;  // The CPV reconstructed point from the upper layer index in array stored in TreeR/PHOSPpsdRP
-  
+  Int_t fCpvRecPoint ;     // The CPV reconstructed point in array stored in TreeR/PHOSCpvRP
+  Int_t fTrack ;           // The charged track index (from global tracking) in ESD file 
+
   ClassDef(AliPHOSTrackSegment,1)  // Track segment in PHOS
 
 };