1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
#ifndef TB06Tree_h
#define TB06Tree_h
// includes
#include <string>
#include "TClonesArray.h"
class TFile;
class TTree;
class G3EventProxy;
class TB06Tree {
public:
//! ctor
TB06Tree(const std::string &fileName = "TB06Tree.root", const std::string &treeName = "Analysis");
//! dtor
~TB06Tree();
void store(const int &tableIsMoving,
const int &run,
const int &event,
const int &S6adc,
const double &xhodo,
const double &yhodo,
const double &xslope,
const double &yslope,
const double &xquality,
const double &yquality,
const int &icMax,
const int &ietaMax,
const int &iphiMax,
const double &beamEnergy,
const double ampl[49]);
void reset(float crystal[11][21]);
void check();
private:
TFile *m_file;
TTree *m_tree;
TClonesArray *m_data;
int m_dataSize;
};
#endif
|