]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/AliEMCALSimParam.h
Next round of fixes (Jochen)
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALSimParam.h
CommitLineData
33a52e55 1#ifndef ALIEMCALSIMPARAM_H
2#define ALIEMCALSIMPARAM_H
3/* Copyright(c) 2007, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id: AliEMCALSimParam.h $ */
7/*
8//
9// Base class for the EMCAL simulation parameters.
10//
11//
12*/
13
14#include "TNamed.h"
15
16class AliEMCALSimParam : public TNamed {
17
18public:
19
20 AliEMCALSimParam();
21 AliEMCALSimParam(const AliEMCALSimParam& recoParam);
22 AliEMCALSimParam& operator = (const AliEMCALSimParam& recoParam);
23 virtual ~AliEMCALSimParam() {}
24
25 static AliEMCALSimParam * GetInstance() ;
26 virtual void Print(Option_t * option="") const ;
27
28 //Parameters used in Digitizer
f0a6dc6f 29 Int_t GetDigitThreshold() const { return fDigitThreshold;}
30 Float_t GetPinNoise() const { return fPinNoise;}
31 Double_t GetTimeDelay() const { return fTimeDelay ; }
32 Double_t GetTimeResolution() const { return fTimeResolution ; }
33 Int_t GetNADCEC() const { return fNADCEC ; }
34 Int_t GetMeanPhotonElectron() const { return fMeanPhotonElectron ; }
35 void SetDigitThreshold(Int_t val) { fDigitThreshold = val ; }
36 void SetPinNoise(Float_t val) { fPinNoise = val ; }
37 void SetTimeDelay(Double_t val) { fTimeDelay = val ; }
38 void SetTimeResolution(Double_t val) { fTimeResolution = val ; }
39 void SetNADCED(Int_t val) { fNADCEC = val ; }
40 void SetMeanPhotonElectron(Int_t val){ fMeanPhotonElectron = val ; }
33a52e55 41
42 //Parameters used in SDigitizer
43 Float_t GetA() const { return fA ; }
44 Float_t GetB() const { return fB ; }
45 Float_t GetECPrimaryThreshold() const { return fECPrimThreshold ; }
46 void SetA(Float_t val) { fA = val ; }
47 void SetB(Float_t val) { fB = val ; }
48 void SetECPrimaryThreshold(Float_t val) { fECPrimThreshold = val ;}
49
33a52e55 50
51private:
52
53
54 static AliEMCALSimParam * fgSimParam ; // pointer to the unique instance of the class
55
56 // Digitizer
f0a6dc6f 57 Int_t fDigitThreshold ; // Threshold for storing digits in EMC
58 Int_t fMeanPhotonElectron ; // number of photon electrons per GeV deposited energy
59 Float_t fPinNoise ; // Electronics noise in EMC
60 Double_t fTimeDelay; // Time delay to reproduce data delay
6569f329 61 Double_t fTimeResolution ; // Time resolution of FEE electronics
33a52e55 62 //Float_t fTimeThreshold ; // Threshold to start timing for given crystall
63 //Float_t fTimeSignalLength ; // Length of the timing signal
f0a6dc6f 64 Int_t fNADCEC ; // number of channels in EC section ADC
33a52e55 65
66 // SDigitizer
67 Float_t fA ; // Pedestal parameter
68 Float_t fB ; // Slope Digitizition parameters
69 Float_t fECPrimThreshold ; // To store primary if EC Shower Elos > threshold
70
f0a6dc6f 71 ClassDef(AliEMCALSimParam,3)
33a52e55 72};
73
74#endif
75