]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSTrackSegment.cxx
position of the particle initiating the hit in PHOS
[u/mrichter/AliRoot.git] / PHOS / AliPHOSTrackSegment.cxx
index 406d7ba07f11d9b1cbdae29af9a3603d956363e8..14acd77f626528fbb67923c8f8cd67405772e2c5 100644 (file)
@@ -12,9 +12,7 @@
  * about the suitability of this software for any purpose. It is          *
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
-
 /* $Id$ */
-
 //_________________________________________________________________________
 //  Track segment in PHOS
 //  Can be : 1 EmcRecPoint
@@ -477,7 +475,7 @@ void AliPHOSTrackSegment::Paint(Option_t *)
 }
 
 //____________________________________________________________________________
-void AliPHOSTrackSegment::Print()
+void AliPHOSTrackSegment::Print(const char * opt)
 {
   // Print all information on this track Segment
   
@@ -516,4 +514,13 @@ void AliPHOSTrackSegment::Print()
    }
    
 }
+//____________________________________________________________________________
+void AliPHOSTrackSegment::SetPpsdUpRecPoint(AliPHOSPpsdRecPoint * PpsdUpRecPoint) 
+{
+  // gives an id from its position in the list
+  if( PpsdUpRecPoint )  
+    fPpsdUpRecPoint = PpsdUpRecPoint->GetIndexInList() ;
+ else 
+    fPpsdUpRecPoint = -1 ;
+}