]>
Commit | Line | Data |
---|---|---|
bea63bea | 1 | #ifndef ALIPHOSV2_H |
2 | #define ALIPHOSV2_H | |
5f20d3fb | 3 | /* Copyright(c) 1998-1999-2000, ALICE Experiment at CERN, All rights reserved. * |
bea63bea | 4 | * See cxx source for full Copyright notice */ |
702ab87e | 5 | |
6 | /* $Id$ */ | |
7 | ||
8 | /* History of cvs commits: | |
9 | * | |
10 | * $Log$ | |
e939a978 | 11 | * Revision 1.19 2005/07/01 20:01:36 kharlov |
12 | * Warning fix on AddHit in gcc 3.4.2 | |
13 | * | |
9bb95b92 | 14 | * Revision 1.18 2005/05/28 14:19:05 schutz |
15 | * Compilation warnings fixed by T.P. | |
16 | * | |
702ab87e | 17 | */ |
18 | ||
bea63bea | 19 | //_________________________________________________________________________ |
5f20d3fb | 20 | // Version of AliPHOSv0 which keeps all hits in TreeH |
2f04ed65 | 21 | // I mean real hits not cumulated hits |
5f20d3fb | 22 | // This version is NOT recommended for Reconstruction analysis |
bea63bea | 23 | // |
5f20d3fb | 24 | //*-- Author: Gines MARTINEZ (SUBATECH) |
bea63bea | 25 | |
26 | // --- ROOT system --- | |
bea63bea | 27 | |
28 | // --- AliRoot header files --- | |
5f20d3fb | 29 | #include "AliPHOSv1.h" |
bea63bea | 30 | |
5f20d3fb | 31 | class AliPHOSv2 : public AliPHOSv1 { |
bea63bea | 32 | |
33 | public: | |
34 | ||
5f20d3fb | 35 | AliPHOSv2(void) ; |
bea63bea | 36 | AliPHOSv2(const char *name, const char *title="") ; |
5f20d3fb | 37 | virtual ~AliPHOSv2(void) ; |
38 | ||
9bb95b92 | 39 | using AliPHOSv1::AddHit; |
2af5445a | 40 | virtual void AddHit( Int_t shunt, Int_t primary, Int_t id, Float_t *hits); |
e04976bd | 41 | virtual Int_t IsVersion(void) const { |
42 | // Gives the version number | |
43 | return 2 ; | |
44 | } | |
bd46a237 | 45 | virtual const TString Version(void)const { |
e04976bd | 46 | // returns the version number |
47 | return TString("v2") ; | |
48 | } | |
5f20d3fb | 49 | |
e939a978 | 50 | private: |
51 | ||
52 | AliPHOSv2(AliPHOSv2 & phos); | |
6c8ba828 | 53 | AliPHOSv2 & operator = (const AliPHOSv2 & /*phos*/); |
5f20d3fb | 54 | |
55 | ClassDef(AliPHOSv2,1) // Class AliPHOSv0 which allows to write ond disk al the information of the hits. | |
bea63bea | 56 | |
57 | }; | |
58 | ||
59 | #endif // AliPHOSV2_H |