BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/MdcTrkRecon/MdcTrkRecon/MdcHistItem.h
Go to the documentation of this file.
1//
2// Description: class for ntuple items
3//
4
5#ifndef MDCHISTITEM_H
6#define MDCHISTITEM_H
7
8#include "GaudiKernel/Algorithm.h"
9#include "GaudiKernel/NTuple.h"
10#include "AIDA/IHistogram1D.h"
11#include "AIDA/IHistogram2D.h"
12
13//histograms
14//AIDA::IHistogram1D* g_actHit;
15//AIDA::IHistogram1D* g_hitEff;
16AIDA::IHistogram2D* g_residVsLayer;
17AIDA::IHistogram2D* g_residVsDoca;
18AIDA::IHistogram1D* h_mapHit;
19AIDA::IHistogram1D* h_sfHit;
20
21//-----------cut--------------
22//AIDA::IHistogram1D* g_segChi2;
23//AIDA::IHistogram1D* g_segChi2SlayPat3[43];
24//AIDA::IHistogram1D* g_segChi2SlayPat4[43];
25AIDA::IHistogram1D* g_maxSegChisqAx;
26AIDA::IHistogram1D* g_maxSegChisqSt;
27AIDA::IHistogram1D* g_nSigAdd;
28AIDA::IHistogram1D* g_cirTkChi2;
29AIDA::IHistogram1D* g_z0Cut;
30AIDA::IHistogram1D* g_ctCut;
31AIDA::IHistogram1D* g_delCt;
32AIDA::IHistogram1D* g_delZ0;
33AIDA::IHistogram1D* g_delPhi;
34AIDA::IHistogram1D* g_delSlope;
35AIDA::IHistogram1D* g_combChi2;
36AIDA::IHistogram1D* g_phiDiff;
37AIDA::IHistogram1D* g_slopeDiff;
38AIDA::IHistogram1D* g_fitNAct;
39AIDA::IHistogram1D* g_3dTkChi2;
40AIDA::IHistogram1D* g_pickHitWire;
41
42//tuple of MdcTrkRecon
43NTuple::Tuple* m_tupleMc;
44NTuple::Tuple* m_tupleMcHit;
45NTuple::Tuple* m_tuple1;
46NTuple::Tuple* m_tupleSeg;
47NTuple::Tuple* m_tupleEvt;
48//tuple item of mc truth
49NTuple::Item<double> m_tMcEvtNo;
50NTuple::Item<long> m_tMcNTk;
51NTuple::Item<long> m_tMcTkId;
52NTuple::Item<long> m_tMcPid;
53NTuple::Item<double> m_tMcPx;
54NTuple::Item<double> m_tMcPy;
55NTuple::Item<double> m_tMcPz;
56NTuple::Item<double> m_tMcD0;
57NTuple::Item<double> m_tMcZ0;
58NTuple::Item<double> m_tMcTheta;
59NTuple::Item<double> m_tMcFiTerm;
60NTuple::Item<long> m_tMcNHit;
61NTuple::Array<double> m_tMcLayer;
62NTuple::Array<double> m_tMcWire;
63NTuple::Array<double> m_tMcDrift;
64NTuple::Array<double> m_tMcX;
65NTuple::Array<double> m_tMcY;
66NTuple::Array<double> m_tMcZ;
67NTuple::Array<double> m_tMcLR;
68
69//tuple item of reconstruction results
70NTuple::Item<double> m_t0;
71NTuple::Item<double> m_t0Stat;
72NTuple::Item<double> m_t0Truth;
73NTuple::Item<double> m_nTdsTk;
74NTuple::Item<double> m_nMcTk;
75NTuple::Item<double> m_p;
76NTuple::Item<double> m_pt;
77NTuple::Item<double> m_nSlay;
78NTuple::Item<double> m_pz;
79NTuple::Item<double> m_d0;
80NTuple::Item<double> m_phi0;
81NTuple::Item<double> m_cpa;
82NTuple::Item<double> m_z0;
83NTuple::Item<double> m_tanl;
84NTuple::Item<double> m_q;
85NTuple::Item<double> m_pocax;
86NTuple::Item<double> m_pocay;
87NTuple::Item<double> m_pocaz;
88NTuple::Item<double> m_evtNo;
89NTuple::Item<double> m_nSt;
90NTuple::Item<double> m_nDof;
91NTuple::Item<double> m_chi2;
92NTuple::Item<double> m_tkId;
93NTuple::Item<long> m_nHit;
94NTuple::Item<double> m_nAct;
95NTuple::Item<double> m_layerCount;
96NTuple::Item<long> m_nDigi;
97
98NTuple::Array<double> m_resid;
99NTuple::Array<double> m_sigma;
100NTuple::Array<double> m_driftD;
101NTuple::Array<double> m_driftT;
102NTuple::Array<double> m_doca;
103NTuple::Array<double> m_entra;
104NTuple::Array<double> m_fltLen;
105NTuple::Array<double> m_tof;
106NTuple::Array<double> m_ambig;
107NTuple::Array<double> m_act;
108NTuple::Array<double> m_tdc;
109NTuple::Array<double> m_adc;
110NTuple::Array<double> m_layer;
111NTuple::Array<double> m_wire;
112NTuple::Array<double> m_x;
113NTuple::Array<double> m_y;
114NTuple::Array<double> m_z;
115NTuple::Array<double> m_dx;
116NTuple::Array<double> m_dy;
117NTuple::Array<double> m_dz;
118NTuple::Array<double> m_dDriftD;
119NTuple::Array<double> m_dlr;
120NTuple::Array<double> m_cellWidth;//for MdcTrackList::pickHits() goodDriftCut
121
122//tuple item of event
123NTuple::Item<long> m_t4EvtNo;
124NTuple::Item<double> m_t4nMcTk;
125NTuple::Item<double> m_t4nRecTk;
126NTuple::Item<double> m_t4t0;
127NTuple::Item<long> m_t4t0Stat;
128NTuple::Item<double> m_t4t0Truth;
129NTuple::Item<long> m_t4nDigi;
130NTuple::Item<long> m_t4nDigiUnmatch;
131NTuple::Array<long> m_t4Layer;
132NTuple::Array<long> m_t4Wire;
133NTuple::Array<double> m_t4Time;
134NTuple::Array<double> m_t4Charge;
135NTuple::Array<double> m_t4recHit;
136NTuple::Array<double> m_t4PhiMid;
137NTuple::Array<double> m_t4Hot;
138
139//tuple item of segment
140NTuple::Item<long> m_tsNSeg;
141NTuple::Item<long> m_tsEvtNo;
142NTuple::Item<long> m_tsNDigi;
143NTuple::Array<long> m_tsLayer;
144NTuple::Array<long> m_tsWire;
145NTuple::Array<long> m_tsInSeg;
146NTuple::Array<long> m_tsMcTkId;
147
148//tuple item of combine ax segs
149NTuple::Tuple* g_tupleCombAx;
150NTuple::Item<double> g_combAxdPhi0;
151NTuple::Item<double> g_combAxdCurv;
152NTuple::Item<double> g_combAxSigPhi0;
153NTuple::Item<double> g_combAxSigCurv;
154NTuple::Item<double> g_combAxSlSeed;
155NTuple::Item<double> g_combAxSlTest;
156NTuple::Item<double> g_combAxQualitySeed;
157NTuple::Item<double> g_combAxQualityTest;
158NTuple::Item<double> g_combAxPatSeed;
159NTuple::Item<double> g_combAxPatTest;
160NTuple::Item<double> g_combAxNhitSeed;
161NTuple::Item<double> g_combAxNhitTest;
162NTuple::Item<double> g_combAxMc;
163NTuple::Item<double> g_combAxMcPt;
164NTuple::Item<double> g_combAxMcTheta;
165NTuple::Item<double> g_combAxMcPhi;
166NTuple::Item<double> g_combAxMcAmbigSeed;
167NTuple::Item<double> g_combAxMcAmbigTest;
168
169NTuple::Tuple* m_tuplet;
170NTuple::Item<long> m_tl;
171NTuple::Item<long> m_tw;
172NTuple::Item<double> m_tphi;
173NTuple::Item<double> m_tdphi;
174NTuple::Item<double> m_tdncell;
175
176#ifdef MDCPATREC_TIMETEST
177NTuple::Tuple* m_tupleTime;
178NTuple::Item<double> m_eventTime;
179NTuple::Item<long> m_recTkNum;
180NTuple::Item<long> m_mcTkNum;
181NTuple::Item<long> m_t5EvtNo;
182NTuple::Item<long> m_t5nHit;
183NTuple::Item<long> m_t5nDigi;
184NTuple::Item<long> m_t5nSt;
185NTuple::Item<double> m_t5fitTime;
186NTuple::Item<double> m_t5p;
187NTuple::Item<double> m_t5pt;
188#endif
189
190#ifdef MDCPATREC_RESLAYER
191int m_resLayer;
192NTuple::Tuple* g_tupleres;
193NTuple::Item<double> g_resLayer;
194NTuple::Item<double> g_t6Layer;
195#endif
196
197NTuple::Tuple* g_tupleFindSeg;
198NTuple::Item<double> g_findSegChi2;
199NTuple::Item<double> g_findSegIntercept;
200NTuple::Item<double> g_findSegSlope;
201NTuple::Item<double> g_findSegChi2Refit;
202NTuple::Item<double> g_findSegChi2Add;
203NTuple::Item<int> g_findSegPat;
204NTuple::Item<int> g_findSegNhit;
205NTuple::Item<int> g_findSegPat34;
206NTuple::Item<int> g_findSegSl;
207NTuple::Item<double> g_findSegMc;
208NTuple::Item<double> g_findSegAmbig;
209
210NTuple::Tuple* m_tuplePick;
211NTuple::Item<long> m_pickLayer;
212NTuple::Item<long> m_pickNCell;
213NTuple::Item<long> m_pickNCellWithDigi;
214NTuple::Array<long> m_pickWire;
215NTuple::Array<double> m_pickPredDrift;
216NTuple::Array<double> m_pickDrift;
217NTuple::Array<double> m_pickDriftTruth;
218NTuple::Array<int> m_pickPhizOk;
219NTuple::Array<double> m_pickPhiMaxDiff;
220NTuple::Array<double> m_pickPhiMinDiff;
221NTuple::Array<double> m_pickZ;
222NTuple::Array<double> m_pickResid;
223NTuple::Array<double> m_pickSigma;
224NTuple::Array<double> m_pickPhiLowCut;
225NTuple::Array<double> m_pickPhiHighCut;
226NTuple::Array<double> m_pickDriftCut;
227NTuple::Array<long> m_pickMcTk;
228NTuple::Array<long> m_pickIs2D;
229NTuple::Array<double> m_pickPt;
230NTuple::Array<double> m_pickCurv;
231
232NTuple::Tuple* m_tupleWireEff;
233NTuple::Item<long> m_we_tkId;
234NTuple::Item<long> m_we_pdg;
235NTuple::Item<long> m_we_primary;
236NTuple::Item<long> m_we_layer;
237NTuple::Item<long> m_we_wire;
238NTuple::Item<long> m_we_gwire;
239NTuple::Item<double> m_we_pt;
240NTuple::Item<double> m_we_theta;
241NTuple::Item<double> m_we_phi;
242//NTuple::Item<double> m_we_tdc;
243NTuple::Item<long> m_we_poisoned;
244NTuple::Item<long> m_we_seg;
245NTuple::Item<long> m_we_track;
246
247NTuple::Tuple* m_tupleWireEffPoi;
248NTuple::Item<long> m_we_poi_tkId;
249NTuple::Item<long> m_we_poi_pdg;
250NTuple::Item<long> m_we_poi_primary;
251NTuple::Item<long> m_we_poi_layer;
252NTuple::Item<long> m_we_poi_wire;
253
254int haveDigiTk[43][288];
255double haveDigiPt[43][288];
256double haveDigiTheta[43][288];
257double haveDigiPhi[43][288];
258double haveDigiDrift[43][288];
259int haveDigiAmbig[43][288];
260int recHitMap[43][288];
261#endif
NTuple::Item< double > g_combAxQualitySeed
NTuple::Item< double > g_combAxMcAmbigTest
NTuple::Array< double > m_pickPhiLowCut
NTuple::Item< double > g_findSegChi2Refit
NTuple::Array< double > m_pickDriftCut
NTuple::Item< double > g_findSegIntercept
NTuple::Array< double > m_pickPhiMaxDiff
NTuple::Item< double > g_combAxQualityTest
NTuple::Array< double > m_pickDriftTruth
NTuple::Array< double > m_pickPredDrift
NTuple::Array< double > m_pickPhiMinDiff
NTuple::Item< double > g_combAxMcAmbigSeed
NTuple::Array< double > m_pickPhiHighCut