StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StBTofCellData.h
1 /*******************************************************************
2  *
3  * $Id: StBTofCellData.h,v 1.1 2010/04/09 00:28:48 dongx Exp $
4  *
5  * Author: Xin Dong
6  *****************************************************************
7  *
8  * Description: variables list for filling TOFr TTree
9  *
10  *****************************************************************
11  *
12  * $Log: StBTofCellData.h,v $
13  * Revision 1.1 2010/04/09 00:28:48 dongx
14  * First release
15  *
16  * Revision 1.1 2010/04/09 00:16:05 dongx
17  * first release
18  *
19  * Revision 1.5 2008/05/08 21:09:36 dongx
20  * Changed precision of time info to double type
21  *
22  * Revision 1.4 2008/05/06 18:42:09 dongx
23  * Updated for Run8 analysis
24  *
25  * Revision 1.2 2004/04/12 16:17:03 dongx
26  * add AdcLoRes in the ntuple
27  *
28  * Revision 1.1 2004/03/11 22:39:54 dongx
29  * first release
30  *
31  *
32  *******************************************************************/
33 #ifndef STBTOFCELLDATA_H
34 #define STBTOFCELLDATA_H
35  const Int_t kMaxHits = 100000;
36 
37  struct StBTofCellData {
38  Int_t run, evt;
39  Float_t vertexX, vertexY, vertexZ;
40 
41  Int_t vpdEast, vpdWest;
42  Int_t numberOfVpdEast, numberOfVpdWest;
43  Double_t tStart;
44  Float_t tDiff;
45  Float_t vpdVz;
46  Double_t vpdLeEast[19], vpdTotEast[19];
47  Double_t vpdLeWest[19], vpdTotWest[19];
48 
49  Int_t nTofHits;
50  Int_t tray[kMaxHits];
51  Int_t module[kMaxHits];
52  Int_t cell[kMaxHits];
53  Double_t leTime[kMaxHits];
54  Double_t tot[kMaxHits];
55  Int_t matchFlag[kMaxHits];
56  Float_t yLocal[kMaxHits], zLocal[kMaxHits], thetaLocal[kMaxHits];
57  Float_t xGlobal[kMaxHits], yGlobal[kMaxHits], zGlobal[kMaxHits];
58  Int_t trackId[kMaxHits], charge[kMaxHits];
59  Float_t pt[kMaxHits], eta[kMaxHits], phi[kMaxHits];
60  Float_t dcaX[kMaxHits], dcaY[kMaxHits], dcaZ[kMaxHits];//point closest approach to beam line
61  Int_t nHits[kMaxHits], nHitsFit[kMaxHits];
62  Float_t dedx[kMaxHits];
63  Int_t nHitsDedx[kMaxHits];
64  Float_t nSigE[kMaxHits], nSigPi[kMaxHits], nSigK[kMaxHits], nSigP[kMaxHits];
65  Float_t tofCorr[kMaxHits], beta[kMaxHits], length[kMaxHits];
66  };
67 #endif