]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/AliEMCALv1.h
EffC++ warnings corrected.
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALv1.h
CommitLineData
b13bbe81 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)
ffa6d63b 12//*-- and : Jennifer Klay (LBL)
b13bbe81 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 {
b13bbe81 24
1f4d29d2 25public:
26
27 AliEMCALv1(void) ;
28 AliEMCALv1(const char *name, const char *title="") ;
1f4d29d2 29 virtual ~AliEMCALv1(void) ;
4800667c 30
cde6a23d 31 AliEMCALv1(const AliEMCALv1 & emcal):AliEMCALv0(emcal) {
32 Fatal("cpy ctor", "not implemented") ; }
33 AliEMCALv1 & operator = (const AliEMCALv1 & /*rvalue*/) {
34 // assignement operator requested by coding convention but not needed
35 Fatal("operator =", "not implemented");
36 return *this;
37 }
38
4800667c 39 using AliEMCALv0::AddHit;
1f4d29d2 40 virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t iparent, Float_t ienergy,
41 Int_t id, Float_t *hits, Float_t *p);
42 // Gives the version number
43 virtual Int_t IsVersion(void) const {return 1;}
44 virtual void StepManager(void) ;
ab37d09c 45 virtual void RemapTrackHitIDs(Int_t *map);
46 virtual void FinishPrimary();
05a92d59 47 virtual const TString Version(void)const {return TString("v0");}
9b358506 48 virtual void SetTimeCut(Float_t tc){ fTimeCut = tc;}
cde6a23d 49 virtual Float_t GetTimeCut() const {return fTimeCut;}
1f4d29d2 50
1963b290 51protected:
cde6a23d 52 Int_t fCurPrimary; // Current primary track
53 Int_t fCurParent; // Current parent
54 Int_t fCurTrack; // Current track
55 Float_t fTimeCut; // Cut to remove the background from the ALICE system
1f4d29d2 56
cde6a23d 57 ClassDef(AliEMCALv1,9) // Implementation of EMCAL manager class to produce hits in a Central Calorimeter
7b6cc0b5 58
b13bbe81 59};
1f4d29d2 60
b13bbe81 61#endif // AliEMCALV1_H