]>
Commit | Line | Data |
---|---|---|
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 --- | |
16 | class TClonesArray; | |
17 | class TLorentzVector; | |
18 | class TFile; | |
19 | ||
20 | // --- AliRoot header files --- | |
21 | #include "AliEMCALv0.h" | |
22 | ||
23 | class AliEMCALv1 : public AliEMCALv0 { | |
b13bbe81 | 24 | |
1f4d29d2 | 25 | public: |
26 | ||
27 | AliEMCALv1(void) ; | |
28 | AliEMCALv1(const char *name, const char *title="") ; | |
29 | // cpy ctor: no implementation yet | |
30 | // requested by the Coding Convention | |
1ab10874 | 31 | AliEMCALv1(const AliEMCALv0 & emcal):AliEMCALv0(emcal) { |
9859bfc0 | 32 | Fatal("cpy ctor", "not implemented") ; } |
1f4d29d2 | 33 | virtual ~AliEMCALv1(void) ; |
4800667c | 34 | |
35 | using AliEMCALv0::AddHit; | |
1f4d29d2 | 36 | virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t iparent, Float_t ienergy, |
37 | Int_t id, Float_t *hits, Float_t *p); | |
38 | // Gives the version number | |
39 | virtual Int_t IsVersion(void) const {return 1;} | |
40 | virtual void StepManager(void) ; | |
ab37d09c | 41 | virtual void RemapTrackHitIDs(Int_t *map); |
42 | virtual void FinishPrimary(); | |
05a92d59 | 43 | virtual const TString Version(void)const {return TString("v0");} |
9b358506 | 44 | virtual void SetTimeCut(Float_t tc){ fTimeCut = tc;} |
45 | virtual Float_t GetTimeCut(){return fTimeCut;} | |
1f4d29d2 | 46 | // assignement operator requested by coding convention but not needed |
9c0a4862 | 47 | AliEMCALv1 & operator = (const AliEMCALv0 & /*rvalue*/){ |
9859bfc0 | 48 | Fatal("operator =", "not implemented") ; |
49 | return *this;} | |
1f4d29d2 | 50 | |
51 | ||
1963b290 | 52 | protected: |
53 | // Marco advice - 16-jan-05 | |
ab37d09c | 54 | Int_t fCurPrimary; |
55 | Int_t fCurParent; | |
56 | Int_t fCurTrack; | |
9b358506 | 57 | Float_t fTimeCut; // Cut to remove the background from the ALICE system |
1f4d29d2 | 58 | |
1963b290 | 59 | ClassDef(AliEMCALv1,9)//Implementation of EMCAL manager class to produce hits in a Central Calorimeter |
7b6cc0b5 | 60 | |
b13bbe81 | 61 | }; |
1f4d29d2 | 62 | |
b13bbe81 | 63 | #endif // AliEMCALV1_H |