T0calib lib added
[u/mrichter/AliRoot.git] / T0 / AliT0CalibLaserData.h
CommitLineData
fc387e80 1#ifndef AliT0CalibLaserData_H
2#define AliT0CalibLaserData_H
f16935f7 3/***************************************************************************
4 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights
5 * reserved.
6 *
7 * Alla Maevskaya INR RAS alla@inr.ru
8 *
9 * See cxx source for full Copyright notice
10 ***************************************************************************/
fc387e80 11#include "TGNumberEntry.h"
dd08026e 12#include "TGTextEntry.h"
fc387e80 13#include "TObject.h"
14
15class AliT0CalibLaserData : public TObject
16{
17 public:
18 AliT0CalibLaserData ();
19 AliT0CalibLaserData(const AliT0CalibLaserData &calibda) : TObject(calibda),
dd08026e 20 fTEntry(0),
21 fFileName(" ")
df84c9bf 22 {
23 for ( Int_t i=0; i<30; i++ )
24 {
25 fEntries[i] = NULL;
26 fHistLimits[i] = 0;
27 }
28 }
fc387e80 29 AliT0CalibLaserData & operator= (const AliT0CalibLaserData &) {return *this;}
30 virtual ~AliT0CalibLaserData() {}
dd08026e 31 void ReadHistSize();
fc387e80 32 void DoOk();
33 void ReadData();
dd08026e 34 void OpenFile();
fc387e80 35
36 private:
dd08026e 37 TGNumberEntry * fEntries[30]; //for GUI histogram limits
38 TGTextEntry * fTEntry; //for GUI file name
f16935f7 39 double fHistLimits[30]; // histogram limits
dd08026e 40 const char *fFileName; // file name
fc387e80 41
dd08026e 42
43 ClassDef(AliT0CalibLaserData,2)
fc387e80 44};
45
46#endif