Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
tileTree.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file tileTree.h
1 #ifndef __HCALLABTREE_H__
2 #define __HCALLABTREE_H__
3 
5 {
6 
7 public:
8 
10  runnumber = 0;
11  eventnumber = 0;
12  }
13  hcalLabTree(int rn){
14  runnumber = rn;
15  }
16 
18  ;
19  }
20 
21  void clean(){
22  for(int ch = 0; ch<NCH; ch++) {
23  pedestal[ch] = 0.;
24  fpeak[ch] = 0.;
25  ftime[ch] = 0.;
26  }
27  };
28  void init(int rn);
29 public:
30  int runnumber;
32  TString hcLTFName;
33  TFile * fhcl;
34  TTree * thcl;
35 
36  // EK: reject codes
37  // reject[0] - Calorimeter
38  // 1 overflows in calorimeter amplitudes
39  // 10 tags outside range
40  // 100 HCal time is unreliable
41  // 1000
42  // 10000 Total energy in event is consistent with ZERO
43  int reject;
44 
45  // timing
46  float hitsample;
47  float hittime;
48 
49 
50  int adc [NCH][NSAMPLES];
51  float pedestal[NCH];
52  float fpeak [NCH];
53  float ftime [NCH];
54 
55  float fsum [NCH/2]; // uncalibrated ADC sum from two fiber ends
56  float fcsum [NCH/2]; // calibrated ASDC sum from two fiber ends
57  float asym [NCH/2];
58  float ly [NCH]; // light yield from fiber ends
59  float fly [NCH/2]; // light yield per fiber
60  float tly // total light yield per tile per event
61 
62  float tileXCG, tileYCG;
63 
64 
65  int summary;
66 };
67 
68 #endif /* __HCALLABTREE_H__ */