3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice
8 //_________________________________________________________________________
9 // Implementation version v1 of EMCAL Manager class
11 //*-- Author: Sahal Yacoob (LBL / UCT)
12 //*-- and : Jennifer Klay (LBL)
15 // --- ROOT system ---
20 // --- AliRoot header files ---
21 #include "AliEMCALv0.h"
23 class AliEMCALv1 : public AliEMCALv0 {
28 AliEMCALv1(const char *name, const char *title="") ;
29 virtual ~AliEMCALv1(void) ;
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");
39 using AliEMCALv0::AddHit;
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) ;
45 virtual void RemapTrackHitIDs(Int_t *map);
46 virtual void FinishPrimary();
47 virtual const TString Version(void)const {return TString("v0");}
48 virtual void SetTimeCut(Float_t tc){ fTimeCut = tc;}
49 virtual Float_t GetTimeCut() const {return fTimeCut;}
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
57 ClassDef(AliEMCALv1,9) // Implementation of EMCAL manager class to produce hits in a Central Calorimeter
61 #endif // AliEMCALV1_H