Line data Source code
1 : #ifndef ALIEMCALV2_H
2 : #define ALIEMCALV2_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 v2 of EMCAL Manager class for Shish-Kebab case
10 : //*--
11 : //*-- Author: Aleksei Pavlinov
12 :
13 : // --- ROOT system ---
14 : class TBrowser;
15 :
16 : // --- AliRoot header files ---
17 : #include "AliEMCALv1.h"
18 :
19 : class AliEMCALv2 : public AliEMCALv1 {
20 :
21 : public:
22 :
23 : AliEMCALv2(void) ;
24 : AliEMCALv2(const char *name, const char *title="", const Bool_t checkGeoAndRun = kTRUE) ;
25 : virtual ~AliEMCALv2(void) ;
26 :
27 : using AliEMCALv1::AddHit;
28 : virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t iparent, Float_t ienergy,
29 : Int_t id, Float_t *hits, Float_t *p);
30 :
31 : virtual void StepManager(void) ;
32 :
33 : // Gives the version number
34 0 : virtual Int_t IsVersion(void) const {return 2;}
35 0 : virtual const TString Version(void)const {return TString("v2");}
36 :
37 : protected:
38 :
39 : private:
40 : AliEMCALv2(const AliEMCALv2 & emcal);
41 : AliEMCALv2 & operator = (const AliEMCALv2 & /*rvalue*/);
42 :
43 1788 : ClassDef(AliEMCALv2,3) //Implementation of EMCAL manager class to produce hits in a Shish-Kebab
44 :
45 : };
46 :
47 : #endif // AliEMCALV2_H
|