]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSRecParticle.h
Added Copy ctor and assignment operator to fulfill Coding Conventions
[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 //       
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 "AliPHOSTrackSegment.h"
24 #include "AliPHOSFastRecParticle.h"
25
26 class AliPHOSRecParticle : public AliPHOSFastRecParticle {
27
28 public:
29   
30   AliPHOSRecParticle() {
31     // ctor
32   }
33   AliPHOSRecParticle(AliPHOSTrackSegment * ts) ;  // ctor
34   AliPHOSRecParticle(const AliPHOSRecParticle & rp) ;  // ctor
35   virtual ~AliPHOSRecParticle(){
36     // dtor
37   }
38   AliPHOSTrackSegment * GetPHOSTrackSegment() const ; 
39   Int_t                 GetPHOSTrackSegmentIndex(){
40     // Getter 
41     return fPHOSTrackSegment ;
42   }
43   Int_t *               GetPrimaries(Int_t & number) ;
44
45 private:
46
47   Int_t fPHOSTrackSegment ; // pointer to the associated track segment in PHOS  
48
49   typedef TClonesArray RecParticlesList ; 
50
51
52   ClassDef(AliPHOSRecParticle,1)  // Reconstructed Particle
53 };
54
55 #endif // AliPHOSRECPARTICLE_H