]>
Commit | Line | Data |
---|---|---|
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 | // I mean real hits not cumulated hits | |
8 | // This version is NOT recommended for Reconstruction analysis | |
9 | // | |
10 | //*-- Author: Gines MARTINEZ (SUBATECH) | |
11 | ||
12 | // --- ROOT system --- | |
13 | ||
14 | // --- AliRoot header files --- | |
15 | #include "AliPHOSv1.h" | |
16 | ||
17 | class AliPHOSv2 : public AliPHOSv1 { | |
18 | ||
19 | public: | |
20 | ||
21 | AliPHOSv2(void) ; | |
22 | AliPHOSv2(const char *name, const char *title="") ; | |
23 | virtual ~AliPHOSv2(void) ; | |
24 | ||
25 | virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits) ; | |
26 | virtual Int_t IsVersion(void) const { | |
27 | // Gives the version number | |
28 | return 2 ; | |
29 | } | |
30 | virtual TString Version(void){ | |
31 | // returns the version number | |
32 | return TString("v2") ; | |
33 | } | |
34 | ||
35 | protected: | |
36 | ||
37 | ClassDef(AliPHOSv2,1) // Class AliPHOSv0 which allows to write ond disk al the information of the hits. | |
38 | ||
39 | }; | |
40 | ||
41 | #endif // AliPHOSV2_H |