]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/AliEMCALv1.h
Merging the VirtualMC branch to the main development branch (HEAD)
[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="") ;
29 // cpy ctor: no implementation yet
30 // requested by the Coding Convention
31 AliEMCALv1(const AliEMCALv0 & emcal) {abort();}
32 virtual ~AliEMCALv1(void) ;
33 virtual void AddHit( Int_t shunt, Int_t primary, Int_t track, Int_t iparent, Float_t ienergy,
34 Int_t id, Float_t *hits, Float_t *p);
35 // Gives the version number
36 virtual Int_t IsVersion(void) const {return 1;}
37 virtual void StepManager(void) ;
05a92d59 38 virtual const TString Version(void)const {return TString("v0");}
1f4d29d2 39 // assignement operator requested by coding convention but not needed
40 AliEMCALv1 & operator = (const AliEMCALv0 & rvalue){abort();return *this;}
41
42
43private:
44
dfce7eb2 45 Float_t fLightYieldMean ; // Mean lightyield in a plastic layer per GeV (Poisson distribution)
46 Float_t fIntrinsicAPDEfficiency ; // Photo efficiency of the APD diode
47 Float_t fLightYieldAttenuation ; // Attenuation of the light through the light fiber
48 Float_t fRecalibrationFactor ; // Recalibration factor
49 Float_t fAPDGain ; // APD Gain
50 Float_t fLightFactor ; //! a calculated factor
51 Float_t fAPDFactor ; //! a calculated factor
52
19d1d246 53 ClassDef(AliEMCALv1,4)//Implementation of EMCAL manager class to produce hits in a Central Calorimeter
ffa6d63b 54
b13bbe81 55};
1f4d29d2 56
b13bbe81 57#endif // AliEMCALV1_H