]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSRecParticle.h
new design: digits are not data members of AliPHOS anymore (use IndexToObject)
[u/mrichter/AliRoot.git] / PHOS / AliPHOSRecParticle.h
1 #ifndef ALIPHOSRECPARTICLE_H
2 #define ALIPHOSRECPARTICLE_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 //  A Reconstructed Particle in PHOS    
10 //  To become a general class of AliRoot ?        
11 //  why not      
12 //*-- Author: Yves Schutz (SUBATECH)
13
14 // --- ROOT system ---
15
16 #include "TParticle.h"
17 #include "TVector3.h"
18
19 // --- Standard library ---
20
21 // --- AliRoot header files ---
22
23 #include "AliPHOSFastRecParticle.h"
24
25 class AliPHOSRecParticle : public AliPHOSFastRecParticle {
26
27 public:
28   
29   AliPHOSRecParticle() {  }
30   AliPHOSRecParticle(const AliPHOSRecParticle & rp) ;  // ctor
31   virtual ~AliPHOSRecParticle(){
32     // dtor
33   }
34
35   Int_t                 GetPHOSTSIndex(){    return fPHOSTrackSegment ;  }
36
37   Int_t *               GetPrimaries(Int_t & number) ;
38   
39   void                  SetTraskSegment(Int_t index){fPHOSTrackSegment = index; }
40
41   typedef TClonesArray RecParticlesList ; 
42   
43  private:
44
45   Int_t fPHOSTrackSegment ; // pointer to the associated track segment in PHOS  
46   
47   ClassDef(AliPHOSRecParticle,1)  // Reconstructed Particle
48 };
49
50 #endif // AliPHOSRECPARTICLE_H