]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSv2.h
hopefully the last refinements for correct type conversion in calibration
[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 /* $Id$ */
7
8 /* History of cvs commits:
9  *
10  * $Log$
11  * Revision 1.19  2005/07/01 20:01:36  kharlov
12  * Warning fix on AddHit in gcc 3.4.2
13  *
14  * Revision 1.18  2005/05/28 14:19:05  schutz
15  * Compilation warnings fixed by T.P.
16  *
17  */
18
19 //_________________________________________________________________________
20 // Version of AliPHOSv0 which keeps all hits in TreeH
21 // I mean real hits not cumulated hits
22 //  This version is NOT recommended for Reconstruction analysis
23 //                  
24 //*-- Author: Gines MARTINEZ (SUBATECH)
25
26 // --- ROOT system ---
27
28 // --- AliRoot header files ---
29 #include "AliPHOSv1.h"
30
31 class AliPHOSv2 : public AliPHOSv1 {
32
33 public:
34
35   AliPHOSv2(void) ;
36   AliPHOSv2(const char *name, const char *title="") ;
37   virtual ~AliPHOSv2(void) ;
38
39   using AliPHOSv1::AddHit;
40   virtual void    AddHit( Int_t shunt, Int_t primary, Int_t id, Float_t *hits); 
41   virtual Int_t   IsVersion(void) const { 
42     // Gives the version number 
43     return 2 ; 
44   }
45   virtual const TString Version(void)const { 
46     // returns the version number 
47     return TString("v2") ; 
48   }
49
50 private:
51
52   AliPHOSv2(AliPHOSv2 & phos);
53
54   ClassDef(AliPHOSv2,1)  // Class AliPHOSv0 which allows to write ond disk al the information of the hits. 
55
56 };
57
58 #endif // AliPHOSV2_H