- Reset TProcessID count after each event
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALv3.h
CommitLineData
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
14class TClonesArray;
15class TLorentzVector;
16class TFile;
17class TH1F;
18
19class AliEMCALGeometry;
20
21// --- AliRoot header files ---
22#include "AliEMCALv1.h"
23
24class AliEMCALv3 : public AliEMCALv1 {
25
26public:
27
28 AliEMCALv3(void) ;
29 AliEMCALv3(const char *name, const char *title="") ;
0a4cb131 30 AliEMCALv3(const AliEMCALv3 & emcal); //copy ctor
31
58feed7c 32 virtual ~AliEMCALv3(void) ;
4800667c 33
34 using AliEMCALv1::AddHit;
58feed7c 35 virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t iparent, Float_t ienergy,
36 Int_t id, Float_t *hits, Float_t *p);
37
38 virtual void StepManager(void) ;
39 virtual void FinishEvent();
40
41 // Gives the version number
42 virtual Int_t IsVersion(void) const {return 3;}
43 virtual const TString Version(void)const {return TString("v3");}
44 AliEMCALv3 & operator = (const AliEMCALv3 & /*rvalue*/){
45 Fatal("operator =", "not implemented") ;
46 return *this;}
47
48 virtual Double_t GetDepositEnergy(int print=1); // *MENU*
49 virtual void Browse(TBrowser* b);
50
51 AliEMCALGeometry* fGeometry; //!
52 TH1F* fHDe; //!
53 TH1F* fHNhits; //!
54 TH1F* fHDeDz; //!
55
56 ClassDef(AliEMCALv3,0) //Implementation of EMCAL manager class to produce hits in a Shish-Kebab
57
58};
59
60#endif // AliEMCALV3_H