00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef _HLT_FORMATS_H
00010 #define _HLT_FORMATS_H
00011
00012
00013 #define HLT_GL3_VERSION 0x20100216 // add dedx gain parameters in HLT_EVE
00014
00015
00016
00017 struct hlt_track {
00018 int id ;
00019 unsigned short flag ;
00020 char innerMostRow ;
00021 char outerMostRow ;
00022 unsigned char nHits ;
00023 char reserved ;
00024 unsigned char ndedx;
00025 char q ;
00026 float chi2[2];
00027 float dedx;
00028 float pt ;
00029 float phi0;
00030 float psi ;
00031 float r0 ;
00032 float tanl;
00033 float z0 ;
00034 float length ;
00035 float dpt ;
00036 float dpsi;
00037 float dz0 ;
00038 float dtanl ;
00039 };
00040
00041
00042
00043
00044
00045 struct HLT_GT {
00046 unsigned int nGlobalTracks;
00047 struct hlt_track globalTrack[10000];
00048 };
00049
00050 struct HLT_PT {
00051 unsigned int nPrimaryTracks;
00052 struct hlt_track primaryTrack[10000];
00053 };
00054
00055 struct hlt_TofHit{
00056 short trayId;
00057 short channel;
00058 float tdc;
00059 float tot;
00060 float tof;
00061 float triggertime;
00062 };
00063
00064
00065 struct HLT_TOF {
00066 unsigned int nTofHits;
00067 struct hlt_TofHit tofHit[10000];
00068 };
00069
00070 struct HLT_PVPD {
00071 unsigned int nPvpdHits;
00072 struct hlt_TofHit pvpdHit[10000];
00073 };
00074
00075 struct hlt_emcTower {
00076 int adc;
00077 float energy;
00078
00079 float phi;
00080 float eta;
00081 float z;
00082 int softId;
00083 int daqId;
00084 };
00085
00086 struct HLT_EMC {
00087 unsigned int nEmcTowers;
00088 struct hlt_emcTower emcTower[4800];
00089 };
00090
00091 struct hlt_node {
00092 int globalTrackSN;
00093 int primaryTrackSN;
00094 int tofHitSN;
00095 int emcTowerSN;
00096
00097 double emcMatchPhiDiff;
00098 double emcMatchZEdge;
00099
00100 int projChannel;
00101 float localY;
00102 float localZ;
00103 float beta;
00104 float tof;
00105 float pathlength;
00106 };
00107
00108 struct HLT_NODE {
00109 unsigned int nNodes;
00110 struct hlt_node node[10000];
00111 };
00112
00113 struct HLT_EVE {
00114 unsigned int version ;
00115 unsigned int hltDecision;
00116 float vertexX;
00117 float vertexY;
00118 float vertexZ;
00119 float lmVertexX;
00120 float lmVertexY;
00121 float lmVertexZ;
00122 float vpdVertexZ;
00123 float T0;
00124 float innerSectorGain;
00125 float outerSectorGain;
00126
00127 };
00128
00129 struct hlt_diElectronPair {
00130 int dau1NodeSN;
00131 int dau2NodeSN;
00132 float invariantMass;
00133 float pt;
00134 float psi;
00135 float tanl;
00136 };
00137
00138
00139 struct HLT_DIEP {
00140 unsigned int nEPairs;
00141 struct hlt_diElectronPair ePair[1000];
00142 };
00143
00144
00145 struct HLT_HIPT {
00146 unsigned int nHighPt;
00147 int highPtNodeSN[1000];
00148 };
00149
00150
00151 struct HLT_HF {
00152 unsigned int nHeavyFragments;
00153 int heavyFragmentSN[1000];
00154 };
00155 #endif