Adding the array of the recosntruction parameters (Marian)
[u/mrichter/AliRoot.git] / PHOS / AliPHOSCalibrationDB.h
... / ...
CommitLineData
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"
15#include "TString.h"
16
17// --- Standard library ---
18
19// --- AliRoot header files ---
20#include "AliPHOSCalibrationData.h"
21
22class AliPHOSCalibrationDB:public TNamed {
23
24public:
25 AliPHOSCalibrationDB() ; // ctor
26 AliPHOSCalibrationDB(const char * database) ;
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
32 //Get calibration parameters using AliPHOSCalibrManager
33 void GetParameters(void) ;
34
35 AliPHOSCalibrationDB & operator = (const AliPHOSCalibrationDB & ) ;
36private:
37
38 AliPHOSCalibrationData fPedestals ;
39 AliPHOSCalibrationData fGains ;
40
41 ClassDef(AliPHOSCalibrationDB,1) // description
42
43};
44
45#endif // AliPHOSCALIBRATIONDB_H