Updated version of ITS QA Checker and related modifications (Melinda)
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALv2.h
CommitLineData
1963b290 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 ---
1963b290 14class TBrowser;
1963b290 15
16// --- AliRoot header files ---
17#include "AliEMCALv1.h"
18
1963b290 19class AliEMCALv2 : public AliEMCALv1 {
20
21public:
22
23 AliEMCALv2(void) ;
24 AliEMCALv2(const char *name, const char *title="") ;
1963b290 25 virtual ~AliEMCALv2(void) ;
4800667c 26
27 using AliEMCALv1::AddHit;
1963b290 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) ;
1963b290 32
33 // Gives the version number
34 virtual Int_t IsVersion(void) const {return 2;}
35 virtual const TString Version(void)const {return TString("v2");}
ab6a174f 36
1963b290 37 // 30-aug-04
38 virtual void Browse(TBrowser* b);
39 // drawing
40 void DrawCalorimeterCut(const char *name="SMOD", int axis=3, double dcut=1.); // *MENU*
41 void DrawSuperModuleCut(const char *name="EMOD", int axis=2, double dcut=0.03, int fill = 6);// *MENU*
8316711a 42 void DrawTowerCut(const char *name="SCMY", int axis=2, double dcut=0., int fill=1, const char *optShad="on"); // *MENU*
1963b290 43 void DrawAlicWithHits(int mode=1); // *MENU*
21cf2b24 44 void SetVolumeAttributes(const char *name="SCM0", int seen=1, int color=1, int fill=1); // *MENU*
1963b290 45 void TestIndexTransition(int pri=0, int idmax=0); // *MENU*
46
cde6a23d 47 protected:
1963b290 48
e939a978 49 private:
50 AliEMCALv2(const AliEMCALv2 & emcal);
51 AliEMCALv2 & operator = (const AliEMCALv2 & /*rvalue*/);
52
ab6a174f 53 ClassDef(AliEMCALv2,2) //Implementation of EMCAL manager class to produce hits in a Shish-Kebab
1963b290 54
55};
56
57#endif // AliEMCALV2_H