]>
Commit | Line | Data |
---|---|---|
58feed7c | 1 | #ifndef ALIEMCALV3_H |
2 | #define ALIEMCALV3_H | |
3 | /* Copyright(c) 1998-2004, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice | |
5 | */ | |
6 | /* $Id$ */ | |
7 | ||
8 | //_________________________________________________________________________ | |
9 | // Implementation version v3 of EMCAL Manager class for Shish-Kebab case | |
10 | // Save all hits inside of Sc - Nov 25, 05 | |
11 | //*-- | |
12 | //*-- Author: Aleksei Pavlinov | |
13 | ||
14 | class TClonesArray; | |
15 | class TLorentzVector; | |
16 | class TFile; | |
17 | class TH1F; | |
18 | ||
19 | class AliEMCALGeometry; | |
20 | ||
21 | // --- AliRoot header files --- | |
22 | #include "AliEMCALv1.h" | |
23 | ||
24 | class AliEMCALv3 : public AliEMCALv1 { | |
25 | ||
26 | public: | |
27 | ||
28 | AliEMCALv3(void) ; | |
29 | AliEMCALv3(const char *name, const char *title="") ; | |
30 | // cpy ctor: no implementation yet | |
31 | // requested by the Coding Convention | |
32 | AliEMCALv3(const AliEMCALv3 & emcal):AliEMCALv1(emcal) { | |
33 | Fatal("cpy ctor", "not implemented") ; } | |
34 | virtual ~AliEMCALv3(void) ; | |
4800667c | 35 | |
36 | using AliEMCALv1::AddHit; | |
58feed7c | 37 | virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t iparent, Float_t ienergy, |
38 | Int_t id, Float_t *hits, Float_t *p); | |
39 | ||
40 | virtual void StepManager(void) ; | |
41 | virtual void FinishEvent(); | |
42 | ||
43 | // Gives the version number | |
44 | virtual Int_t IsVersion(void) const {return 3;} | |
45 | virtual const TString Version(void)const {return TString("v3");} | |
46 | AliEMCALv3 & operator = (const AliEMCALv3 & /*rvalue*/){ | |
47 | Fatal("operator =", "not implemented") ; | |
48 | return *this;} | |
49 | ||
50 | virtual Double_t GetDepositEnergy(int print=1); // *MENU* | |
51 | virtual void Browse(TBrowser* b); | |
52 | ||
53 | AliEMCALGeometry* fGeometry; //! | |
54 | TH1F* fHDe; //! | |
55 | TH1F* fHNhits; //! | |
56 | TH1F* fHDeDz; //! | |
57 | ||
58 | ClassDef(AliEMCALv3,0) //Implementation of EMCAL manager class to produce hits in a Shish-Kebab | |
59 | ||
60 | }; | |
61 | ||
62 | #endif // AliEMCALV3_H |