]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSv2.h
Reconstruction part now handle all geometry options
[u/mrichter/AliRoot.git] / PHOS / AliPHOSv2.h
1 #ifndef ALIPHOSV2_H
2 #define ALIPHOSV2_H
3 /* Copyright(c) 1998-1999-2000, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5 //_________________________________________________________________________
6 // Version of AliPHOSv0 which keeps all hits in TreeH
7 //  This version is NOT recommended for Reconstruction analysis
8 //                  
9 //*-- Author: Gines MARTINEZ (SUBATECH)
10
11 // --- ROOT system ---
12 #include "TClonesArray.h"
13
14 // --- AliRoot header files ---
15 #include "AliPHOSv1.h"
16 #include "AliPHOSReconstructioner.h"
17
18 class AliPHOSv2 : public AliPHOSv1 {
19
20 public:
21
22   AliPHOSv2(void) ;
23   AliPHOSv2(const char *name, const char *title="") ;
24   virtual ~AliPHOSv2(void) ;
25
26   virtual void    AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits, Int_t pid ) ; 
27   virtual Int_t   IsVersion(void) const { 
28     // Gives the version number 
29     return 2 ; 
30   }
31   virtual TString Version(void){ 
32     // returns the version number 
33     return TString("v2") ; 
34   }
35
36 protected:
37
38   ClassDef(AliPHOSv2,1)  // Class AliPHOSv0 which allows to write ond disk al the information of the hits. 
39
40 };
41
42 #endif // AliPHOSV2_H