StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StFttHitCalibMaker
StFttHitCalibMaker.h
1
#ifndef STAR_StFttHitCalibMaker_H
2
#define STAR_StFttHitCalibMaker_H
3
4
5
/***************************************************************************
6
*
7
* $Id: StFttHitCalibMaker.h,v 0.1 2017/02/21 17:50:32 tlusty Exp $
8
* StFttHitCalibMaker - class to fille the StEvent from DAQ reader
9
*--------------------------------------------------------------------------
10
*
11
***************************************************************************/
12
#include "StMaker.h"
13
14
// ROOT
15
#include "TH1.h"
16
#include "TH2.h"
17
#include "TH2Poly.h"
18
#include "TTree.h"
19
#include "TCanvas.h"
20
#include "TString.h"
21
22
// STL
23
#include <vector>
24
25
#include "HitCalibHelper.h"
26
27
class
StEvent
;
28
class
StFttCollection
;
29
class
StFttRawHit
;
30
class
StFttDb
;
31
32
class
StFttHitCalibMaker
:
public
StMaker
33
{
34
private
:
35
36
public
:
37
39
StFttHitCalibMaker
(
const
char
*name=
"fttHitCalib"
);
40
~
StFttHitCalibMaker
();
41
42
Int_t Init();
43
Int_t InitRun(Int_t);
44
Int_t FinishRun(Int_t);
45
Int_t
Finish
();
46
Int_t
Make
();
47
48
void
WriteCalibrationToPlainText();
49
50
enum
CalibMode {
51
Live = 0,
52
Production = 1,
53
Calibration = 2
54
};
55
56
void
SetMode( StFttHitCalibMaker::CalibMode mode ){
57
mCalibMode = mode;
58
}
59
60
StEvent
* mEvent;
61
StFttCollection
* mFttCollection;
62
StFttDb
* mFttDb;
63
HitCalibHelper
* mHelper;
64
StFttHitCalibMaker::CalibMode mCalibMode;
65
66
bool
mDebug =
false
;
67
68
ClassDef(
StFttHitCalibMaker
, 1)
69
70
};
71
72
#endif
StFttHitCalibMaker::StFttHitCalibMaker
StFttHitCalibMaker(const char *name="fttHitCalib")
Default constructor.
Definition:
StFttHitCalibMaker.cxx:18
HitCalibHelper
Definition:
HitCalibHelper.h:9
StEvent
Definition:
StEvent.h:232
StFttHitCalibMaker::Finish
Int_t Finish()
Definition:
StFttHitCalibMaker.cxx:51
StFttHitCalibMaker
Definition:
StFttHitCalibMaker.h:32
StMaker
Definition:
StMaker.h:57
StFttCollection
Definition:
StFttCollection.h:29
StFttDb
Definition:
StFttDb.h:36
StFttRawHit
Definition:
StFttRawHit.h:19
StFttHitCalibMaker::Make
Int_t Make()
Definition:
StFttHitCalibMaker.cxx:79
Generated by
1.8.5