Adding the array of the recosntruction parameters (Marian)
[u/mrichter/AliRoot.git] / PHOS / AliPHOSCalibrationDB.h
CommitLineData
f74edaba 1#ifndef ALIPHOSCALIBRATIONDB_H
2#define ALIPHOSCALIBRATIONDB_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//
10//*-- Author: D.Peressounko (RRC KI & SUBATECH)
11
12
13// --- ROOT system ---
14#include "TNamed.h"
f74edaba 15#include "TString.h"
16
17// --- Standard library ---
18
19// --- AliRoot header files ---
e4778e0c 20#include "AliPHOSCalibrationData.h"
f74edaba 21
22class AliPHOSCalibrationDB:public TNamed {
23
24public:
25 AliPHOSCalibrationDB() ; // ctor
90cceaf6 26 AliPHOSCalibrationDB(const char * database) ;
f74edaba 27 virtual ~AliPHOSCalibrationDB() ; // dtor
28
29 //Main method: calibrates if gains are known, otherwise - returns 0
30 Float_t Calibrate(Int_t amp, Int_t absId)const ;
31
e4778e0c 32 //Get calibration parameters using AliPHOSCalibrManager
33 void GetParameters(void) ;
f74edaba 34
35 AliPHOSCalibrationDB & operator = (const AliPHOSCalibrationDB & ) ;
36private:
e4778e0c 37
38 AliPHOSCalibrationData fPedestals ;
39 AliPHOSCalibrationData fGains ;
f74edaba 40
41 ClassDef(AliPHOSCalibrationDB,1) // description
42
43};
44
45#endif // AliPHOSCALIBRATIONDB_H