]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/AliEMCALRawResponse.h
fix angle to absId mapping for extensions
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALRawResponse.h
CommitLineData
1f847d9f 1// -*- mode: c++ -*-
2
3#ifndef ALIEMCALRAWRESPONSE_H
4#define ALIEMCALRAWRESPONSE_H
5
6/**************************************************************************
7 * This file is property of and copyright by the Experimental Nuclear *
8 * Physics Group, Yale University, US 2011 *
9 * *
10 * Author: Per Thomas Hille <perthomas.hille@yale.edu> for the ALICE *
11 * experiment. Contributors are mentioned in the code where appropriate. *
12 * Please report bugs to perthomas.hille@yale.edu *
13 * *
14 * Permission to use, copy, modify and distribute this software and its *
15 * documentation strictly for non-commercial purposes is hereby granted *
16 * without fee, provided that the above copyright notice appears in all *
17 * copies and that both the copyright notice and this permission notice *
18 * appear in the supporting documentation. The authors make no claims *
19 * about the suitability of this software for any purpose. It is *
20 * provided "as is" without express or implied warranty. *
21 **************************************************************************/
22
23#include "Rtypes.h"
24
25class AliEMCALRawResponse
26{
27public:
28 AliEMCALRawResponse();
29 virtual ~AliEMCALRawResponse();
30 static Double_t RawResponseFunction(Double_t *x, Double_t *par);
31 static Bool_t RawSampledResponse(Double_t dtime, Double_t damp, Int_t * adcH, Int_t * adcL,
32 const Int_t keyErr=0);
33
34 static Int_t GetPedestalValue() {return fgPedestalValue;}
35 static Double_t GetFEENoise() {return fgFEENoise;}
36 static void SetFEENoise(Double_t val) {fgFEENoise = val;}
37 static Double_t GetRawFormatTimeTrigger() { return fgTimeTrigger ; }
38 static Int_t GetRawFormatThreshold() { return fgThreshold ; }
39 static void SetPedestalValue(Int_t val) {fgPedestalValue = val;}
40
41private:
42 static Double_t fgTimeTrigger ; // time of the trigger for the RO signal
43 static Int_t fgThreshold; // threshold
44 static Int_t fgPedestalValue; // pedestal value for Digits2Raw
45 static Double_t fgFEENoise; // electronics noise in ADC units
46
47 ClassDef(AliEMCALRawResponse,1)
48};
49
50#endif