Initialize arrays in constructor (Ivana)
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALv1.h
... / ...
CommitLineData
1#ifndef ALIEMCALV1_H
2#define ALIEMCALV1_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice
5 */
6/* $Id$ */
7
8//_________________________________________________________________________
9// Implementation version v1 of EMCAL Manager class
10//*--
11//*-- Author: Sahal Yacoob (LBL / UCT)
12//*-- and : Jennifer Klay (LBL)
13//#include <assert.h>
14
15// --- ROOT system ---
16class TClonesArray;
17class TLorentzVector;
18class TFile;
19
20// --- AliRoot header files ---
21#include "AliEMCALv0.h"
22
23class AliEMCALv1 : public AliEMCALv0 {
24
25public:
26
27 AliEMCALv1(void) ;
28 AliEMCALv1(const char *name, const char *title="") ;
29 // cpy ctor: no implementation yet
30 // requested by the Coding Convention
31 AliEMCALv1(const AliEMCALv0 & emcal):AliEMCALv0(emcal) {
32 Fatal("cpy ctor", "not implemented") ; }
33 virtual ~AliEMCALv1(void) ;
34 virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t iparent, Float_t ienergy,
35 Int_t id, Float_t *hits, Float_t *p);
36 // Gives the version number
37 virtual Int_t IsVersion(void) const {return 1;}
38 virtual void StepManager(void) ;
39 virtual void RemapTrackHitIDs(Int_t *map);
40 virtual void FinishPrimary();
41 virtual const TString Version(void)const {return TString("v0");}
42 virtual void SetTimeCut(Float_t tc){ fTimeCut = tc;}
43 virtual Float_t GetTimeCut(){return fTimeCut;}
44 // assignement operator requested by coding convention but not needed
45 AliEMCALv1 & operator = (const AliEMCALv0 & /*rvalue*/){
46 Fatal("operator =", "not implemented") ;
47 return *this;}
48
49
50private:
51 Int_t fCurPrimary;
52 Int_t fCurParent;
53 Int_t fCurTrack;
54 Float_t fTimeCut; // Cut to remove the background from the ALICE system
55
56 ClassDef(AliEMCALv1,8)//Implementation of EMCAL manager class to produce hits in a Central Calorimeter
57
58};
59
60#endif // AliEMCALV1_H