CGEM BOSS 6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
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::Array< long > m_tsLayer
NTuple::Item< long > m_we_poi_layer
int recHitMap[43][288]
NTuple::Array< double > m_entra
NTuple::Array< long > m_tsMcTkId
NTuple::Item< double > g_findSegMc
NTuple::Tuple * m_tupleMcHit
Definition MdcHistItem.h:44
NTuple::Tuple * m_tupleSeg
Definition MdcHistItem.h:46
NTuple::Item< double > m_t4nMcTk
NTuple::Array< double > m_tMcLR
Definition MdcHistItem.h:67
NTuple::Array< double > m_adc
NTuple::Item< long > m_tsNDigi
NTuple::Item< double > g_combAxMcPt
NTuple::Item< long > m_tMcNHit
Definition MdcHistItem.h:60
NTuple::Item< double > g_combAxSlTest
NTuple::Array< double > m_dDriftD
NTuple::Array< double > m_dz
NTuple::Array< double > m_ambig
NTuple::Array< long > m_pickIs2D
NTuple::Item< double > m_tMcEvtNo
Definition MdcHistItem.h:49
NTuple::Item< double > m_nSt
Definition MdcHistItem.h:89
NTuple::Item< long > m_we_poisoned
NTuple::Item< double > m_we_pt
NTuple::Item< double > g_combAxQualitySeed
NTuple::Array< long > m_t4Layer
NTuple::Item< double > g_combAxPatSeed
NTuple::Item< double > m_nSlay
Definition MdcHistItem.h:77
NTuple::Item< long > m_tMcTkId
Definition MdcHistItem.h:51
NTuple::Item< long > m_t4nDigi
NTuple::Array< double > m_pickPt
NTuple::Tuple * g_tupleFindSeg
NTuple::Item< long > m_pickLayer
NTuple::Item< double > m_pocax
Definition MdcHistItem.h:85
NTuple::Item< double > m_tMcPz
Definition MdcHistItem.h:55
NTuple::Array< long > m_pickMcTk
NTuple::Array< double > m_dlr
NTuple::Item< double > g_combAxMcAmbigTest
NTuple::Item< int > g_findSegPat34
NTuple::Item< long > m_we_poi_wire
AIDA::IHistogram1D * g_fitNAct
Definition MdcHistItem.h:38
NTuple::Item< double > m_p
Definition MdcHistItem.h:75
NTuple::Item< double > g_findSegAmbig
NTuple::Item< long > m_tMcNTk
Definition MdcHistItem.h:50
NTuple::Item< int > g_findSegPat
NTuple::Array< long > m_tsWire
AIDA::IHistogram1D * g_pickHitWire
Definition MdcHistItem.h:40
NTuple::Item< long > m_pickNCellWithDigi
NTuple::Array< double > m_tof
NTuple::Array< double > m_tMcWire
Definition MdcHistItem.h:62
NTuple::Item< double > m_we_phi
AIDA::IHistogram1D * g_delCt
Definition MdcHistItem.h:31
AIDA::IHistogram1D * g_phiDiff
Definition MdcHistItem.h:36
NTuple::Array< double > m_pickPhiLowCut
int haveDigiTk[43][288]
NTuple::Array< double > m_doca
NTuple::Item< double > m_tMcPx
Definition MdcHistItem.h:53
NTuple::Item< double > g_findSegChi2Refit
NTuple::Item< double > m_phi0
Definition MdcHistItem.h:80
NTuple::Item< long > m_tw
NTuple::Item< double > m_nDof
Definition MdcHistItem.h:90
NTuple::Array< double > m_tdc
NTuple::Item< long > m_t4EvtNo
NTuple::Item< double > m_tMcPy
Definition MdcHistItem.h:54
double haveDigiDrift[43][288]
NTuple::Item< long > m_we_layer
NTuple::Tuple * m_tupleWireEff
NTuple::Item< double > m_tdncell
NTuple::Array< double > m_tMcZ
Definition MdcHistItem.h:66
NTuple::Item< double > m_layerCount
Definition MdcHistItem.h:95
NTuple::Array< long > m_t4Wire
NTuple::Array< double > m_pickDriftCut
NTuple::Item< double > m_z0
Definition MdcHistItem.h:82
int haveDigiAmbig[43][288]
NTuple::Item< long > m_nHit
Definition MdcHistItem.h:93
AIDA::IHistogram1D * g_combChi2
Definition MdcHistItem.h:35
NTuple::Item< double > m_tMcTheta
Definition MdcHistItem.h:58
NTuple::Item< double > g_findSegIntercept
double haveDigiPhi[43][288]
AIDA::IHistogram1D * g_nSigAdd
Definition MdcHistItem.h:27
NTuple::Item< double > m_tdphi
NTuple::Array< double > m_act
NTuple::Item< long > m_we_primary
NTuple::Item< double > m_pz
Definition MdcHistItem.h:78
NTuple::Array< double > m_tMcX
Definition MdcHistItem.h:64
NTuple::Array< double > m_pickPhiMaxDiff
NTuple::Item< long > m_we_poi_primary
NTuple::Array< double > m_wire
NTuple::Item< double > m_pocay
Definition MdcHistItem.h:86
NTuple::Item< double > m_tMcZ0
Definition MdcHistItem.h:57
NTuple::Item< long > m_we_seg
NTuple::Array< double > m_t4Charge
NTuple::Item< double > m_evtNo
Definition MdcHistItem.h:88
NTuple::Item< long > m_we_tkId
NTuple::Item< double > m_d0
Definition MdcHistItem.h:79
NTuple::Array< double > m_pickCurv
NTuple::Item< double > m_we_theta
NTuple::Item< long > m_we_track
NTuple::Array< double > m_resid
Definition MdcHistItem.h:98
NTuple::Array< double > m_pickDrift
NTuple::Item< long > m_tMcPid
Definition MdcHistItem.h:52
NTuple::Item< long > m_we_poi_pdg
AIDA::IHistogram1D * g_delSlope
Definition MdcHistItem.h:34
NTuple::Item< long > m_we_pdg
NTuple::Array< double > m_tMcY
Definition MdcHistItem.h:65
NTuple::Item< double > m_tMcD0
Definition MdcHistItem.h:56
NTuple::Item< long > m_we_poi_tkId
NTuple::Item< double > m_t4t0
double haveDigiTheta[43][288]
NTuple::Array< double > m_z
AIDA::IHistogram1D * g_delZ0
Definition MdcHistItem.h:32
AIDA::IHistogram1D * g_z0Cut
Definition MdcHistItem.h:29
NTuple::Array< double > m_pickResid
NTuple::Array< int > m_pickPhizOk
NTuple::Item< long > m_we_wire
NTuple::Item< double > m_t4nRecTk
NTuple::Item< double > m_q
Definition MdcHistItem.h:84
AIDA::IHistogram2D * g_residVsLayer
Definition MdcHistItem.h:16
NTuple::Array< double > m_x
AIDA::IHistogram1D * h_mapHit
Definition MdcHistItem.h:18
NTuple::Item< double > g_combAxMcTheta
AIDA::IHistogram1D * g_cirTkChi2
Definition MdcHistItem.h:28
AIDA::IHistogram1D * g_maxSegChisqSt
Definition MdcHistItem.h:26
NTuple::Item< long > m_tsNSeg
NTuple::Item< double > g_findSegChi2
NTuple::Item< double > g_combAxQualityTest
AIDA::IHistogram1D * h_sfHit
Definition MdcHistItem.h:19
NTuple::Item< double > m_chi2
Definition MdcHistItem.h:91
NTuple::Item< double > m_t0
Definition MdcHistItem.h:70
NTuple::Array< double > m_pickSigma
AIDA::IHistogram1D * g_3dTkChi2
Definition MdcHistItem.h:39
NTuple::Item< long > m_t4t0Stat
NTuple::Item< double > g_combAxNhitTest
AIDA::IHistogram2D * g_residVsDoca
Definition MdcHistItem.h:17
AIDA::IHistogram1D * g_delPhi
Definition MdcHistItem.h:33
NTuple::Item< double > g_combAxSigPhi0
NTuple::Item< double > m_nTdsTk
Definition MdcHistItem.h:73
NTuple::Item< double > m_tphi
NTuple::Item< double > g_combAxdCurv
NTuple::Array< long > m_pickWire
NTuple::Array< double > m_t4recHit
NTuple::Item< double > m_pocaz
Definition MdcHistItem.h:87
NTuple::Array< double > m_tMcDrift
Definition MdcHistItem.h:63
NTuple::Tuple * m_tupleEvt
Definition MdcHistItem.h:47
NTuple::Item< double > g_findSegChi2Add
NTuple::Array< double > m_cellWidth
NTuple::Tuple * m_tuplePick
NTuple::Item< double > m_nMcTk
Definition MdcHistItem.h:74
NTuple::Array< double > m_pickDriftTruth
NTuple::Item< double > g_findSegSlope
NTuple::Item< double > g_combAxSigCurv
NTuple::Array< double > m_driftT
NTuple::Item< double > m_tMcFiTerm
Definition MdcHistItem.h:59
NTuple::Item< long > m_tl
NTuple::Array< double > m_dx
NTuple::Array< long > m_tsInSeg
NTuple::Array< double > m_dy
NTuple::Tuple * m_tuple1
Definition MdcHistItem.h:45
NTuple::Item< double > m_t4t0Truth
double haveDigiPt[43][288]
NTuple::Item< double > m_t0Truth
Definition MdcHistItem.h:72
NTuple::Item< double > g_combAxdPhi0
NTuple::Array< double > m_pickZ
AIDA::IHistogram1D * g_slopeDiff
Definition MdcHistItem.h:37
NTuple::Array< double > m_pickPredDrift
NTuple::Array< double > m_tMcLayer
Definition MdcHistItem.h:61
NTuple::Item< int > g_findSegSl
NTuple::Array< double > m_t4PhiMid
NTuple::Array< double > m_layer
NTuple::Item< double > m_pt
Definition MdcHistItem.h:76
NTuple::Item< double > m_cpa
Definition MdcHistItem.h:81
NTuple::Array< double > m_driftD
NTuple::Tuple * m_tupleWireEffPoi
NTuple::Item< double > m_tanl
Definition MdcHistItem.h:83
NTuple::Item< double > m_t0Stat
Definition MdcHistItem.h:71
NTuple::Array< double > m_sigma
Definition MdcHistItem.h:99
NTuple::Item< double > g_combAxPatTest
NTuple::Item< double > g_combAxNhitSeed
NTuple::Item< double > m_nAct
Definition MdcHistItem.h:94
NTuple::Item< double > g_combAxMc
NTuple::Item< long > m_we_gwire
NTuple::Item< long > m_t4nDigiUnmatch
NTuple::Array< double > m_y
AIDA::IHistogram1D * g_maxSegChisqAx
Definition MdcHistItem.h:25
AIDA::IHistogram1D * g_ctCut
Definition MdcHistItem.h:30
NTuple::Array< double > m_t4Time
NTuple::Item< double > g_combAxSlSeed
NTuple::Tuple * g_tupleCombAx
NTuple::Tuple * m_tupleMc
Definition MdcHistItem.h:43
NTuple::Item< long > m_pickNCell
NTuple::Array< double > m_pickPhiMinDiff
NTuple::Item< double > g_combAxMcAmbigSeed
NTuple::Item< long > m_tsEvtNo
NTuple::Item< double > g_combAxMcPhi
NTuple::Array< double > m_fltLen
NTuple::Item< long > m_nDigi
Definition MdcHistItem.h:96
NTuple::Array< double > m_pickPhiHighCut
NTuple::Item< double > m_tkId
Definition MdcHistItem.h:92
NTuple::Tuple * m_tuplet
NTuple::Array< double > m_t4Hot
NTuple::Item< int > g_findSegNhit