File indexing completed on 2025-08-05 08:14:40
0001 #ifndef __HCALLABTREE_H__
0002 #define __HCALLABTREE_H__
0003
0004 class hcalLabTree
0005 {
0006
0007 public:
0008
0009 hcalLabTree() {
0010 runnumber = 0;
0011 eventnumber = 0;
0012 }
0013 hcalLabTree(int rn){
0014 runnumber = rn;
0015 }
0016
0017 ~hcalLabTree() {
0018 ;
0019 }
0020
0021 void clean(){
0022 for(int ch = 0; ch<NCH; ch++) {
0023 pedestal[ch] = 0.;
0024 fpeak[ch] = 0.;
0025 ftime[ch] = 0.;
0026 }
0027 };
0028 void init(int rn);
0029 public:
0030 int runnumber;
0031 int eventnumber;
0032 TString hcLTFName;
0033 TFile * fhcl;
0034 TTree * thcl;
0035
0036
0037
0038
0039
0040
0041
0042
0043 int reject;
0044
0045
0046 float hitsample;
0047 float hittime;
0048
0049
0050 int adc [NCH][NSAMPLES];
0051 float pedestal[NCH];
0052 float fpeak [NCH];
0053 float ftime [NCH];
0054
0055 float fsum [NCH/2];
0056 float fcsum [NCH/2];
0057 float asym [NCH/2];
0058 float ly [NCH];
0059 float fly [NCH/2];
0060 float tly
0061
0062 float tileXCG, tileYCG;
0063
0064
0065 int summary;
0066 };
0067
0068 #endif