1 |
#ifndef __caloclasses__ |
2 |
#define __caloclasses__ |
3 |
|
4 |
#include <TObject.h> |
5 |
#include <TString.h> |
6 |
|
7 |
class CalorimeterCalibration : public TObject { |
8 |
public: |
9 |
CalorimeterCalibration(); |
10 |
Int_t status; |
11 |
TString fname; |
12 |
Float_t mip[2][22][96]; |
13 |
Float_t ermip[2][22][96]; |
14 |
Float_t fp[4][2][22][96]; |
15 |
Float_t fpe[4][2][22][96]; |
16 |
Float_t chi2[2][22][96]; |
17 |
Float_t ndf[2][22][96]; |
18 |
Float_t mask[2][22][96]; |
19 |
ClassDef(CalorimeterCalibration,1); |
20 |
}; |
21 |
|
22 |
class CalorimeterCalibScan : public TObject { |
23 |
public: |
24 |
CalorimeterCalibScan(); |
25 |
Int_t evno; |
26 |
Int_t etime[4]; |
27 |
Int_t cstwerr[4]; |
28 |
Float_t cperror[4]; |
29 |
Float_t calped[2][22][96]; |
30 |
Float_t calgood[2][22][96]; |
31 |
Float_t calthr[2][22][6]; |
32 |
Float_t calrms[2][22][96]; |
33 |
Float_t calbase[2][22][6]; |
34 |
Float_t calvar[2][22][6]; |
35 |
Double_t calno; |
36 |
void Clear(); |
37 |
ClassDef(CalorimeterCalibScan,1); |
38 |
}; |
39 |
|
40 |
class CalorimeterLevel1 : public TObject { |
41 |
public: |
42 |
CalorimeterLevel1(); |
43 |
UInt_t obt; |
44 |
Int_t evno; |
45 |
Int_t stwerr[4]; |
46 |
Int_t nobase; |
47 |
Int_t good[2][22][96]; |
48 |
Float_t perror[4]; |
49 |
Float_t nstrip; |
50 |
Float_t qtot; |
51 |
Float_t calevnum[4]; |
52 |
Float_t estrip[2][22][96]; |
53 |
Float_t diffbas[2][22][6]; |
54 |
ClassDef(CalorimeterLevel1,2); |
55 |
}; |
56 |
|
57 |
class CalorimeterLevel2 : public TObject { |
58 |
public: |
59 |
CalorimeterLevel2(); |
60 |
Int_t OBT; |
61 |
Int_t pkt_num; |
62 |
Int_t pro_num; |
63 |
Float_t trigty; |
64 |
Bool_t good; |
65 |
Bool_t perr[4]; |
66 |
Bool_t swerr[4]; |
67 |
Bool_t crc[4]; |
68 |
Float_t nstrip; |
69 |
Float_t qtot; |
70 |
Float_t ncore; |
71 |
Float_t qcore; |
72 |
Float_t impx; |
73 |
Float_t impy; |
74 |
Float_t tanx; |
75 |
Float_t tany; |
76 |
Float_t nint; |
77 |
Float_t ncyl; |
78 |
Float_t qcyl; |
79 |
Float_t qtrack; |
80 |
Float_t qmax; |
81 |
Float_t nx22; |
82 |
Float_t qx22; |
83 |
Float_t qq[4]; |
84 |
Float_t qtrackx; |
85 |
Float_t qtracky; |
86 |
Float_t dxtrack; |
87 |
Float_t dytrack; |
88 |
Float_t qlast; |
89 |
Float_t nlast; |
90 |
Float_t qpre; |
91 |
Float_t npre; |
92 |
Float_t qpresh; |
93 |
Float_t npresh; |
94 |
Float_t qlow; |
95 |
Float_t nlow; |
96 |
Float_t qtr; |
97 |
Float_t ntr; |
98 |
Int_t cibar[22][2]; |
99 |
Int_t tibar[22][2]; |
100 |
Float_t cbar[22][2]; |
101 |
Float_t tbar[22][2]; |
102 |
ClassDef(CalorimeterLevel2,1); |
103 |
}; |
104 |
|
105 |
class CalorimeterADCRAW : public TObject { |
106 |
public: |
107 |
CalorimeterADCRAW(); |
108 |
Int_t evno; |
109 |
Int_t etime; |
110 |
Float_t estrip[2][22][96]; |
111 |
Float_t diffbas[2][22][6]; |
112 |
ClassDef(CalorimeterADCRAW,1); |
113 |
}; |
114 |
|
115 |
#endif |