]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSTrackSegment.h
removed obsolete refeference to ppsd
[u/mrichter/AliRoot.git] / PHOS / AliPHOSTrackSegment.h
1 #ifndef ALIPHOSTRACKSEGMENT_H
2 #define ALIPHOSTRACKSEGMENT_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7
8 //_________________________________________________________________________
9 //  Track segment in PHOS
10 //  Can be : 1 EmcRecPoint
11 //           1 EmcRecPoint + 1 CPV
12 //                  
13 //*-- Author:  Dmitri Peressounko (RRC KI & SUBATECH)
14
15 // --- ROOT system ---
16
17 #include "TObject.h"
18 class TClonesArray ; 
19
20 // --- Standard library ---
21
22 // --- AliRoot header files ---
23 class AliPHOSRecPoint ; 
24 class AliPHOSEmcRecPoint ; 
25 class AliPHOSCpvRecPoint ; 
26 class AliESDtrack ; 
27
28 class AliPHOSTrackSegment : public TObject  {
29
30 public:
31
32   AliPHOSTrackSegment() {} 
33   AliPHOSTrackSegment(AliPHOSEmcRecPoint * EmcRecPoint , 
34                       AliPHOSRecPoint * Cpv) ;
35   AliPHOSTrackSegment(AliPHOSEmcRecPoint * EmcRecPoint , 
36                       AliPHOSRecPoint * Cpv, Int_t track) ;
37   AliPHOSTrackSegment(const AliPHOSTrackSegment & ts) ;  // ctor                   
38   virtual ~AliPHOSTrackSegment() {  } 
39
40   void Copy(TObject & obj) ;  
41
42   Int_t   GetIndexInList() const {  return fIndexInList ;   } 
43   Int_t   GetEmcIndex()    const {  return fEmcRecPoint ;   }
44   Int_t   GetCpvIndex()    const {  return fCpvRecPoint; }
45   Int_t   GetTrackIndex()  const {  return fTrack; }
46
47   virtual void  Print() const;
48   void    SetIndexInList(Int_t val){ fIndexInList = val ;     } 
49   void    SetCpvRecPoint(AliPHOSRecPoint * CpvRecPoint ); //sets CPV Rec Point
50
51   typedef TClonesArray TrackSegmentsList ; 
52  
53  private:
54   
55   Int_t fEmcRecPoint ;     // The EMC reconstructed point index in array stored in TreeR/PHOSEmcRP
56   Int_t fIndexInList ;     // the index of this TrackSegment in the list stored in TreeR (to be set by analysis)
57   Int_t fCpvRecPoint ;     // The CPV reconstructed point in array stored in TreeR/PHOSCpvRP
58   Int_t fTrack ;           // The charged track index (from global tracking) in ESD file 
59
60   ClassDef(AliPHOSTrackSegment,1)  // Track segment in PHOS
61
62 };
63
64 #endif // ALIPHOSTRACKSEGMENT_H