StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
StTofrCellData.h
1 /*******************************************************************
2  *
3  * $Id: StTofrCellData.h,v 1.6 2008/06/05 18:33:45 dongx Exp $
4  *
5  * Author: Xin Dong
6  *****************************************************************
7  *
8  * Description: variables list for filling TOFr TTree
9  *
10  *****************************************************************
11  *
12  * $Log: StTofrCellData.h,v $
13  * Revision 1.6 2008/06/05 18:33:45 dongx
14  * -added members in tree: tDiff, tofcorr and beta for check
15  * -beamLine read from database
16  *
17  * Revision 1.5 2008/05/08 21:09:36 dongx
18  * Changed precision of time info to double type
19  *
20  * Revision 1.4 2008/05/06 18:42:09 dongx
21  * Updated for Run8 analysis
22  *
23  * Revision 1.2 2004/04/12 16:17:03 dongx
24  * add AdcLoRes in the ntuple
25  *
26  * Revision 1.1 2004/03/11 22:39:54 dongx
27  * first release
28  *
29  *
30  *******************************************************************/
31 #ifndef STTOFRCELLDATA_H
32 #define STTOFRCELLDATA_H
33  const Int_t kMaxTracks = 1000;
34 
35  struct StTofrCellData {
36  Int_t run, evt, trgword;
37  Float_t vertexX, vertexY, vertexZ;
38  Int_t nTofHits;
39  Int_t vpdEast, vpdWest;
40  Int_t numberOfVpdEast, numberOfVpdWest;
41  Double_t tdcSumEast, tdcSumWest, tdcSum;
42  Float_t tDiff;
43  Double_t pvpdLeadingEdgeTimeEast[19], pvpdTotEast[19];
44  Double_t pvpdLeadingEdgeTimeWest[19], pvpdTotWest[19];
45  Int_t tray[kMaxTracks], module[kMaxTracks], cell[kMaxTracks], daq[kMaxTracks];
46  Double_t leadingEdgeTime[kMaxTracks], tot[kMaxTracks];
47 // Int_t matchFlag[kMaxTracks];
48  Float_t xlocal[kMaxTracks], ylocal[kMaxTracks], zlocal[kMaxTracks], deltay[kMaxTracks];
49  Int_t trackId[kMaxTracks], charge[kMaxTracks];
50  Int_t nHits[kMaxTracks], nHitsFit[kMaxTracks];
51  Float_t dcaX[kMaxTracks], dcaY[kMaxTracks], dcaZ[kMaxTracks];//point closet approach to beam line
52  Float_t length[kMaxTracks], eta[kMaxTracks];
53  Float_t p[kMaxTracks], pt[kMaxTracks], px[kMaxTracks], py[kMaxTracks], pz[kMaxTracks];
54  Float_t dedx[kMaxTracks], dedxError[kMaxTracks], cherenkovAngle[kMaxTracks];
55  Int_t nHitsDedx[kMaxTracks], cherenkovPhotons[kMaxTracks];
56  Float_t nSigE[kMaxTracks], nSigPi[kMaxTracks], nSigK[kMaxTracks], nSigP[kMaxTracks];
57  Float_t tofcorr[kMaxTracks], beta[kMaxTracks];
58  };
59 #endif