]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HMPID/AliHMPIDCalib.h
Made valid calibrations w/range 0-999999 - note oversampling is 4
[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//.
3e60bb92 10
11//#include "TTreePlayer.h"
12//#include <TTree.h>
21f61e25 13#include <TH1.h>
3e60bb92 14#include <TMath.h>
21f61e25 15
16class AliHMPIDCalib: public TObject {
17
18
19public:
20 AliHMPIDCalib();
21 virtual ~AliHMPIDCalib();
22 void Init();
3e60bb92 23 void FillPedestal(Int_t nDDL,Int_t row, Int_t dil,Int_t adr,Int_t q);
24 Bool_t CalcPedestal(Int_t nDDL, Char_t* name, Int_t nEv);
21f61e25 25
3e60bb92 26 enum {
27 kNRows = 24, // Number of rows (starting from 1 !)//was25
28 kNDILOGICAdd = 10, // Number of DILOGIC addresses in a row (starting from 1 !) //was11
29 kNPadAdd = 48, // Number of pad row
30 kNDDL = 14
31 };
21f61e25 32
33protected:
5a7dbe51 34 Bool_t faddl[11]; //check is ddl is filled
3e60bb92 35 Float_t fsq[kNDDL][kNRows][kNDILOGICAdd][kNPadAdd]; //Sum of pad Q
36 Float_t fsq2[kNDDL][kNRows][kNDILOGICAdd][kNPadAdd]; //Sum of pad Q^2
21f61e25 37 ClassDef(AliHMPIDCalib,1) //HMPID calibration and pedestal class
38};
39#endif