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