]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - EMCAL/AliEMCALv1.h
Adapted to PHOS classes using the Getter
[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 public:
25 AliEMCALv1(void) ;
26 AliEMCALv1(const char *name, const char *title="") ;
27 // cpy ctor: no implementation yet
28 // requested by the Coding Convention
29 AliEMCALv1(const AliEMCALv0 & emcal) {abort();}
30 virtual ~AliEMCALv1(void) ;
31 virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t iparent, Float_t ienergy,
32 Int_t id, Float_t *hits, Float_t *p);
33 // Gives the version number
34 virtual Int_t IsVersion(void) const {return 1;}
35 virtual void StepManager(void) ;
36 virtual TString Version(void){return TString("v0");}
37 // assignement operator requested by coding convention but not needed
38 AliEMCALv1 & operator = (const AliEMCALv0 & rvalue){abort();return *this;}
39
40 protected:
41 ClassDef(AliEMCALv1,2)//Implementation of EMCAL manager class to produce hits in a Central Calorimeter
42
43 private:
44 Double_t fSamplingFraction ; // Sampling Fraction of Calorimeter E = f*Elos
45 Double_t fLayerToPreshowerRatio ; // Scaling for elos in First two Scintillator Layers (PreShower)
46};
47#endif // AliEMCALV1_H