- new class AliHMPIDCalib added for pedestal calculation
[u/mrichter/AliRoot.git] / HMPID / AliHMPIDCalib.h
CommitLineData
21f61e25 1#ifndef AliHMPIDCalib_h
2#define AliHMPIDCalib_h
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6// Class of HMPID to manage digits ---> pads
7//.
8//.
9//.
10#include "TTreePlayer.h"
11#include <TTree.h>
12#include <TH1.h>
13
14class AliHMPIDCalib: public TObject {
15
16
17public:
18 AliHMPIDCalib();
19 virtual ~AliHMPIDCalib();
20 void Init();
21 void FillPedestal(Int_t ddl,Int_t row, Int_t dil,Int_t adr,Int_t q);
22 Bool_t CalcPedestal(Int_t ddl, Char_t* name);
23
24
25protected:
26 TTree *fPedTree; //Pedestal Tree
27 Int_t fa; //DILOGIC address
28 Int_t fd; //DILOGIC number
29 Int_t fr; //DILOGIC row
30 Bool_t faddl[11]; //check is ddl is filled
31 Int_t fq; //Qdc value
32 TH1F *fPedHisto; //
33
34 ClassDef(AliHMPIDCalib,1) //HMPID calibration and pedestal class
35};
36#endif