er
dev
Main Page
Related Pages
Classes
Files
File List
beamtime
ERNXyterCalibrator.h
1
/*
2
* ERNXyterCalibrator.h
3
*
4
* Created on: Apr 7, 2017
5
* Author: vratik
6
*/
7
8
#ifndef BEAMTIME_ERNXYTERCALIBRATOR_H_
9
#define BEAMTIME_ERNXYTERCALIBRATOR_H_
10
11
#include "TString.h"
12
#include "TGraph.h"
13
#include "TH1D.h"
14
//#include "Rtypes.h"
15
//#include "TObject.h"
16
17
class
ERNXyterCalibrator
:
public
TObject {
18
19
private
:
//Singleton standart
20
ERNXyterCalibrator
();
21
virtual
~
ERNXyterCalibrator
();
22
ClassDef(
ERNXyterCalibrator
,1);
23
24
public
:
//Singleton standard
25
static
ERNXyterCalibrator
& Instance(
void
);
26
27
public
:
// methods
28
UInt_t ImportGraphs(TString graphFile);
29
30
// Input value - (ped - rawVal)
31
Float_t GetCalibratedVal(UInt_t ch, Float_t val);
32
33
private
:
// methods
34
// void GenerateDummyLUTs(void);
35
// void GenerateLUTs(void);
36
void
Deconstruct(
void
);
37
38
private
:
// data members
39
TGraph* fGraph[64];
40
41
Bool_t fConstructed;
// Defines whether the histograms have been allocated
42
43
};
44
45
#endif
/* BEAMTIME_ERNXYTERCALIBRATOR_H_ */
ERNXyterCalibrator
Definition:
ERNXyterCalibrator.h:17
Generated on Tue Dec 7 2021 13:58:45 for er by
1.8.11