]>
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 */ |
bea63bea | 5 | //_________________________________________________________________________ |
5f20d3fb | 6 | // Version of AliPHOSv0 which keeps all hits in TreeH |
7 | // This version is NOT recommended for Reconstruction analysis | |
bea63bea | 8 | // |
5f20d3fb | 9 | //*-- Author: Gines MARTINEZ (SUBATECH) |
bea63bea | 10 | |
11 | // --- ROOT system --- | |
5f20d3fb | 12 | #include "TClonesArray.h" |
bea63bea | 13 | |
14 | // --- AliRoot header files --- | |
5f20d3fb | 15 | #include "AliPHOSv1.h" |
16 | #include "AliPHOSReconstructioner.h" | |
bea63bea | 17 | |
5f20d3fb | 18 | class AliPHOSv2 : public AliPHOSv1 { |
bea63bea | 19 | |
20 | public: | |
21 | ||
5f20d3fb | 22 | AliPHOSv2(void) ; |
bea63bea | 23 | AliPHOSv2(const char *name, const char *title="") ; |
5f20d3fb | 24 | virtual ~AliPHOSv2(void) ; |
25 | ||
26 | virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t id, Float_t *hits ) ; | |
27 | // adds a hit to the hit tree (any pre=digitalization is done here (so large root file !!) | |
28 | virtual void FinishEvent(void) ; // makes the digits from the hits | |
29 | virtual void StepManager(void) ; // StepManager to keep current tack number in the hit | |
30 | ||
31 | protected: | |
32 | ||
33 | ClassDef(AliPHOSv2,1) // Class AliPHOSv0 which allows to write ond disk al the information of the hits. | |
bea63bea | 34 | |
35 | }; | |
36 | ||
37 | #endif // AliPHOSV2_H |