]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/AliEMCALv2.h
Protection against special particle types.
[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 ---
14class TClonesArray;
15class TLorentzVector;
16class TFile;
17class TH1F;
18
19class TBrowser;
1963b290 20
21// --- AliRoot header files ---
22#include "AliEMCALv1.h"
23
1963b290 24class AliEMCALv2 : public AliEMCALv1 {
25
26public:
27
28 AliEMCALv2(void) ;
29 AliEMCALv2(const char *name, const char *title="") ;
1963b290 30 virtual ~AliEMCALv2(void) ;
4800667c 31
32 using AliEMCALv1::AddHit;
1963b290 33 virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t iparent, Float_t ienergy,
34 Int_t id, Float_t *hits, Float_t *p);
35
36 virtual void StepManager(void) ;
37 virtual void FinishEvent();
38
39 // Gives the version number
40 virtual Int_t IsVersion(void) const {return 2;}
41 virtual const TString Version(void)const {return TString("v2");}
1963b290 42 // 23-mar-05
c01485dd 43 virtual Double_t GetDepositEnergy(int print=1); // *MENU*
1963b290 44 // 30-aug-04
45 virtual void Browse(TBrowser* b);
46 // drawing
47 void DrawCalorimeterCut(const char *name="SMOD", int axis=3, double dcut=1.); // *MENU*
48 void DrawSuperModuleCut(const char *name="EMOD", int axis=2, double dcut=0.03, int fill = 6);// *MENU*
49 void DrawTowerCut(const char *name="SCMY", int axis=2, double dcut=0., int fill=1, char *optShad="on"); // *MENU*
50 void DrawAlicWithHits(int mode=1); // *MENU*
21cf2b24 51 void SetVolumeAttributes(const char *name="SCM0", int seen=1, int color=1, int fill=1); // *MENU*
1963b290 52 void TestIndexTransition(int pri=0, int idmax=0); // *MENU*
53
cde6a23d 54 protected:
1963b290 55 TH1F* fHDe; //!
905263da 56 TH1F* fHNhits; //!
1963b290 57
e939a978 58 private:
59 AliEMCALv2(const AliEMCALv2 & emcal);
60 AliEMCALv2 & operator = (const AliEMCALv2 & /*rvalue*/);
61
1963b290 62 ClassDef(AliEMCALv2,1) //Implementation of EMCAL manager class to produce hits in a Shish-Kebab
63
64};
65
66#endif // AliEMCALV2_H