3 /* Copyright(c) 1998-2004, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice
8 //_________________________________________________________________________
9 // Implementation version v2 of EMCAL Manager class for Shish-Kebab case
11 //*-- Author: Aleksei Pavlinov
13 // --- ROOT system ---
20 class AliEMCALGeometry;
22 // --- AliRoot header files ---
23 #include "AliEMCALv1.h"
26 //#include "TGeant3.h"
28 class AliEMCALv2 : public AliEMCALv1 {
33 AliEMCALv2(const char *name, const char *title="") ;
34 // cpy ctor: no implementation yet
35 // requested by the Coding Convention
36 AliEMCALv2(const AliEMCALv1 & emcal):AliEMCALv1(emcal) {
37 Fatal("cpy ctor", "not implemented") ; }
38 virtual ~AliEMCALv2(void) ;
40 using AliEMCALv1::AddHit;
41 virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t iparent, Float_t ienergy,
42 Int_t id, Float_t *hits, Float_t *p);
44 virtual void StepManager(void) ;
45 virtual void FinishEvent();
47 // Gives the version number
48 virtual Int_t IsVersion(void) const {return 2;}
49 virtual const TString Version(void)const {return TString("v2");}
50 AliEMCALv2 & operator = (const AliEMCALv1 & /*rvalue*/){
51 Fatal("operator =", "not implemented") ;
54 virtual Double_t GetDepositEnergy(int print=1); // *MENU*
56 virtual void Browse(TBrowser* b);
58 void DrawCalorimeterCut(const char *name="SMOD", int axis=3, double dcut=1.); // *MENU*
59 void DrawSuperModuleCut(const char *name="EMOD", int axis=2, double dcut=0.03, int fill = 6);// *MENU*
60 void DrawTowerCut(const char *name="SCMY", int axis=2, double dcut=0., int fill=1, char *optShad="on"); // *MENU*
61 void DrawAlicWithHits(int mode=1); // *MENU*
62 void SetVolumeAttributes(const char *name="SCM0",const int seen=1, int color=1, int fill=1); // *MENU*
63 void TestIndexTransition(int pri=0, int idmax=0); // *MENU*
65 AliEMCALGeometry* fGeometry; //!
69 ClassDef(AliEMCALv2,1) //Implementation of EMCAL manager class to produce hits in a Shish-Kebab
73 #endif // AliEMCALV2_H