BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcxHistItem.h
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2// File and Version Information:
3// $Id: MdcxHistItem.h,v 1.15 2017/08/18 06:51:52 zhangy Exp $
4//
5// Description:
6// class for declare ntuple and histogram items.
7//
8// Environment:
9// Software developed for the BESIII Detector at the BEPCII.
10//
11//
12// Author(s): Zhang Yao
13//
14//------------------------------------------------------------------------
15#ifndef MDCXHISTITEM_H
16#define MDCXHISTITEM_H
17
18#include "GaudiKernel/NTuple.h"
19#include "AIDA/IHistogram1D.h"
20#include "AIDA/IHistogram2D.h"
21AIDA::IHistogram2D* g_poison;
22AIDA::IHistogram1D* g_csmax4;
23AIDA::IHistogram1D* g_csmax3;
24AIDA::IHistogram1D* g_omegag;
25AIDA::IHistogram1D* g_dPhiAU;
26AIDA::IHistogram1D* g_dPhiAU_0;
27AIDA::IHistogram1D* g_dPhiAU_1;
28AIDA::IHistogram1D* g_dPhiAU_5;
29AIDA::IHistogram1D* g_dPhiAU_7;
30AIDA::IHistogram1D* g_dPhiAV;
31AIDA::IHistogram1D* g_dPhiAV_0;
32AIDA::IHistogram1D* g_dPhiAV_1;
33AIDA::IHistogram1D* g_dPhiAV_6;
34AIDA::IHistogram1D* g_dPhiAV_8;
35AIDA::IHistogram1D* g_addSegPhi;
36AIDA::IHistogram1D* g_trkllmk;
37AIDA::IHistogram1D* g_trklcircle;
38AIDA::IHistogram1D* g_trklgood;
39AIDA::IHistogram1D* g_trklhelix;
40AIDA::IHistogram1D* g_trkldrop1;
41AIDA::IHistogram1D* g_trkldrop2;
42AIDA::IHistogram1D* g_trklappend1;
43AIDA::IHistogram1D* g_trklappend2;
44AIDA::IHistogram1D* g_trklappend3;
45//AIDA::IHistogram1D* g_fitOmega;
46AIDA::IHistogram1D* g_trklfirstProb;
47AIDA::IHistogram1D* g_trkltemp;
48
49AIDA::IHistogram1D* g_trklproca;
50AIDA::IHistogram1D* g_trklprocaSl;
51AIDA::IHistogram1D* g_trkld;
52AIDA::IHistogram1D* g_trkle;
53AIDA::IHistogram1D* g_trkldoca;
54AIDA::IHistogram1D* g_trkllayer;
55AIDA::IHistogram2D* g_trkldl;
56AIDA::IHistogram2D* g_trklel;
57AIDA::IHistogram2D* g_dropHitsSigma;
58AIDA::IHistogram1D* g_addHitCut;
59AIDA::IHistogram2D* g_addHitCut2d;
60//AIDA::IHistogram1D* g_addSegPhiDiff;
61//-----------recon------------
62NTuple::Tuple* g_xtuple0;
63NTuple::Tuple* m_xtuple1;
64NTuple::Tuple* m_xtupleEvt;
65NTuple::Tuple* m_xtupleSeg;
66NTuple::Tuple* m_xtupleTrkl;
67NTuple::Item<long> m_xEvtNo;
68NTuple::Item<double> m_xt0;
69NTuple::Item<double> m_xtiming;
70NTuple::Item<double> m_xt0Stat;
71NTuple::Item<double> m_xt0Truth;
72NTuple::Item<double> m_xp;
73NTuple::Item<double> m_xpt;
74NTuple::Item<double> m_xpz;
75NTuple::Item<double> m_xd0;
76NTuple::Item<long> m_xnSlay;
77NTuple::Item<double> m_xphi0;
78NTuple::Item<double> m_xcpa;
79NTuple::Item<double> m_xz0;
80NTuple::Item<double> m_xtanl;
81NTuple::Item<double> m_xq;
82NTuple::Item<double> m_xpocax;
83NTuple::Item<double> m_xpocay;
84NTuple::Item<double> m_xpocaz;
85NTuple::Item<double> m_xevtNo;
86NTuple::Item<double> m_xnSt;
87NTuple::Item<double> m_xnDof;
88NTuple::Item<double> m_xchi2;
89NTuple::Item<double> m_xtkId;
90NTuple::Item<long> m_xnHit;
91NTuple::Item<double> m_xnAct;
92NTuple::Item<double> m_xlayerCount;
93NTuple::Item<double> m_xnDigi;
94
95NTuple::Array<double> m_xlcount;
96NTuple::Array<double> m_xresid;
97NTuple::Array<double> m_xsigma;
98NTuple::Array<double> m_xdriftD;
99NTuple::Array<double> m_xdriftT;
100NTuple::Array<double> m_xdoca;
101NTuple::Array<double> m_xentra;
102//NTuple::Array<double> m_xentraHit;
103NTuple::Array<double> m_xfltLen;
104NTuple::Array<double> m_xtof;
105NTuple::Array<double> m_xambig;
106NTuple::Array<double> m_xact;
107NTuple::Array<double> m_xtdc;
108NTuple::Array<double> m_xadc;
109NTuple::Array<double> m_xlayer;
110NTuple::Array<double> m_xwire;
111NTuple::Array<double> m_xx;
112NTuple::Array<double> m_xy;
113NTuple::Array<double> m_xz;
114
115NTuple::Item<long> m_xt4EvtNo;
116NTuple::Item<double> m_xt4nRecTk;
117NTuple::Item<double> m_xt4nTdsTk;
118NTuple::Item<double> m_xt4t0;
119NTuple::Item<long> m_xt4t0Stat;
120NTuple::Item<double> m_xt4t0Truth;
121NTuple::Item<long> m_xt4nDigi;
122NTuple::Item<long> m_xt4nSeg;
123NTuple::Item<double> m_xt4time;
124NTuple::Item<double> m_xt4timeSeg;
125NTuple::Item<double> m_xt4timeTrack;
126NTuple::Item<double> m_xt4timeFit;
127NTuple::Array<long> m_xt4Layer;
128NTuple::Array<double> m_xt4Time;
129NTuple::Array<double> m_xt4Charge;
130NTuple::Array<double> m_xt4rawHit;
131NTuple::Array<double> m_xt4recHit;
132
133NTuple::Item<long> m_xtsSl;
134NTuple::Item<double> m_xtsD0;
135NTuple::Item<double> m_xtsOmega;
136NTuple::Item<double> m_xtsPhi0;
137NTuple::Item<double> m_xtsD0_sl_approx;
138NTuple::Item<double> m_xtsPhi0_sl_approx;
139NTuple::Item<double> m_xtsXline_bbrrf;
140NTuple::Item<double> m_xtsYline_bbrrf;
141NTuple::Item<double> m_xtsXline_slope;
142NTuple::Item<double> m_xtsYline_slope;
143NTuple::Item<double> m_xtsChisq;
144NTuple::Item<long> m_xtsPat;
145NTuple::Item<long> m_xtsNDigi;
146NTuple::Array<long> m_xtsLayer;
147NTuple::Array<long> m_xtsWire;
148NTuple::Array<long> m_xtsInSeg;
149NTuple::Item<long> m_xt5Layer;
150NTuple::Item<long> m_xt5Wire;
151
152NTuple::Tuple* m_xtupleCsmcSew;
153NTuple::Item<double> m_csmcD0;
154NTuple::Item<double> m_csmcPhi0;
155NTuple::Item<double> m_csmcZ0;
156NTuple::Item<double> m_csmcOmega;
157NTuple::Item<double> m_csmcPt;
158NTuple::Item<double> m_csmcTanl;
159
160NTuple::Tuple* m_xtupleAddSeg1;
161NTuple::Item<long> m_addSegSame;
162NTuple::Item<double> m_addSegSeedSl;
163NTuple::Item<double> m_addSegSeedPhi;
164NTuple::Item<double> m_addSegSeedPhiLay;
165NTuple::Item<double> m_addSegSeedLen;
166NTuple::Item<double> m_addSegSeedD0;
167NTuple::Item<double> m_addSegSeedPhi0;
168NTuple::Item<double> m_addSegAddSl;
169NTuple::Item<double> m_addSegAddPhi;
170NTuple::Item<double> m_addSegAddPhiLay;
171NTuple::Item<double> m_addSegAddLen;
172NTuple::Item<double> m_addSegAddD0;
173NTuple::Item<double> m_addSegAddPhi0;
174
175NTuple::Tuple* m_xtupleAddSeg2;
176NTuple::Item<long> m_addSegEvtNo;
177NTuple::Item<double> m_addSegPoca;
178NTuple::Item<long> m_addSegSlayer;
179NTuple::Item<double> m_addSegLen;
180
181NTuple::Tuple* m_xtupleSegComb;
182NTuple::Item<long> m_segCombEvtNo;
183NTuple::Item<double> m_segCombOmega;
184NTuple::Item<double> m_segCombSameAU;
185NTuple::Item<double> m_segCombSameUV;
186NTuple::Item<double> m_segCombDLenAU;
187NTuple::Item<double> m_segCombDLenUV;
188NTuple::Item<double> m_segCombSlA;
189NTuple::Item<double> m_segCombSlU;
190NTuple::Item<double> m_segCombSlV;
191NTuple::Item<double> m_segCombPhiA;
192NTuple::Item<double> m_segCombPhiU;
193NTuple::Item<double> m_segCombPhiV;
194
195NTuple::Tuple* m_xtupleDropHits;
196NTuple::Item<long> m_segDropHitsEvtNo;
197NTuple::Item<long> m_segDropHitsLayer;
198NTuple::Item<long> m_segDropHitsWire;
199NTuple::Item<double> m_segDropHitsPull;
200NTuple::Item<double> m_segDropHitsDoca;
201NTuple::Item<double> m_segDropHitsSigma;
202NTuple::Item<double> m_segDropHitsDrift;
203NTuple::Item<double> m_segDropHitsMcTkId;
204
205
207
208//zhangy
209AIDA::IHistogram1D* g_3dTkChi2;
210#endif // MDCXHISTITEM_H
NTuple::Array< double > m_xfltLen
AIDA::IHistogram1D * g_dPhiAV
NTuple::Item< double > m_addSegAddPhiLay
NTuple::Array< double > m_xwire
NTuple::Item< double > m_xtsXline_bbrrf
NTuple::Item< double > m_xt0Stat
NTuple::Array< double > m_xdriftT
AIDA::IHistogram1D * g_trkldrop1
NTuple::Array< double > m_xdriftD
NTuple::Item< double > m_xpocax
NTuple::Item< double > m_xtsChisq
NTuple::Item< long > m_xnHit
AIDA::IHistogram1D * g_dPhiAU_1
NTuple::Item< double > m_xtsYline_slope
NTuple::Item< long > m_xt5Layer
NTuple::Item< double > m_xtsYline_bbrrf
NTuple::Item< double > m_xq
AIDA::IHistogram1D * g_csmax3
AIDA::IHistogram1D * g_trklappend2
NTuple::Item< double > m_addSegSeedPhi0
NTuple::Array< double > m_xambig
NTuple::Item< double > m_xtiming
NTuple::Item< double > m_segCombDLenUV
AIDA::IHistogram1D * g_trklappend1
AIDA::IHistogram1D * g_dPhiAV_0
int g_eventNo
NTuple::Item< long > m_addSegSlayer
AIDA::IHistogram2D * g_poison
NTuple::Item< double > m_xchi2
NTuple::Array< double > m_xresid
NTuple::Item< long > m_addSegSame
NTuple::Item< double > m_xpocaz
AIDA::IHistogram1D * g_trklproca
NTuple::Item< long > m_segDropHitsWire
NTuple::Item< long > m_xtsNDigi
NTuple::Item< double > m_addSegSeedSl
NTuple::Tuple * m_xtupleTrkl
NTuple::Item< double > m_xnAct
NTuple::Array< double > m_xtof
NTuple::Tuple * m_xtupleAddSeg1
NTuple::Array< double > m_xlcount
NTuple::Item< double > m_addSegAddLen
AIDA::IHistogram1D * g_addSegPhi
AIDA::IHistogram1D * g_dPhiAV_1
NTuple::Item< long > m_xtsSl
NTuple::Array< double > m_xt4recHit
NTuple::Item< double > m_xt4nTdsTk
NTuple::Item< double > m_addSegLen
AIDA::IHistogram1D * g_trkle
NTuple::Item< long > m_xtsPat
AIDA::IHistogram1D * g_dPhiAU_5
NTuple::Item< double > m_xp
AIDA::IHistogram1D * g_trkld
NTuple::Array< long > m_xtsWire
NTuple::Item< double > m_xt0
AIDA::IHistogram1D * g_trkltemp
NTuple::Item< double > m_segDropHitsDoca
NTuple::Item< long > m_xt4nSeg
NTuple::Item< double > m_xtsPhi0_sl_approx
AIDA::IHistogram1D * g_csmax4
NTuple::Item< double > m_csmcTanl
NTuple::Item< double > m_segDropHitsSigma
AIDA::IHistogram2D * g_trklel
NTuple::Item< double > m_xnDigi
NTuple::Item< double > m_xtsD0
NTuple::Item< double > m_addSegSeedPhiLay
NTuple::Array< double > m_xact
NTuple::Item< double > m_csmcOmega
NTuple::Item< double > m_xpz
NTuple::Item< double > m_addSegSeedLen
NTuple::Item< double > m_xnSt
NTuple::Array< long > m_xtsInSeg
NTuple::Item< double > m_segCombSlV
NTuple::Item< long > m_segDropHitsLayer
NTuple::Item< double > m_addSegSeedD0
AIDA::IHistogram1D * g_dPhiAU_7
NTuple::Tuple * m_xtuple1
AIDA::IHistogram2D * g_dropHitsSigma
NTuple::Item< double > m_xtsPhi0
NTuple::Item< double > m_xlayerCount
AIDA::IHistogram1D * g_trklappend3
NTuple::Item< double > m_xt4t0
AIDA::IHistogram1D * g_trklhelix
NTuple::Item< double > m_xt4timeFit
NTuple::Item< double > m_xt4t0Truth
NTuple::Item< double > m_segDropHitsMcTkId
NTuple::Array< double > m_xdoca
AIDA::IHistogram1D * g_trkllmk
NTuple::Item< double > m_xevtNo
AIDA::IHistogram1D * g_addHitCut
AIDA::IHistogram2D * g_trkldl
NTuple::Item< long > m_xt4t0Stat
NTuple::Item< double > m_xt4nRecTk
NTuple::Item< double > m_segCombPhiA
NTuple::Item< long > m_xt4EvtNo
AIDA::IHistogram1D * g_dPhiAU_0
NTuple::Item< double > m_segCombSlA
NTuple::Item< double > m_xt4timeTrack
NTuple::Array< double > m_xsigma
NTuple::Item< double > m_xt4time
NTuple::Item< double > m_segCombDLenAU
AIDA::IHistogram2D * g_addHitCut2d
NTuple::Item< long > m_xt5Wire
AIDA::IHistogram1D * g_trklgood
AIDA::IHistogram1D * g_trkllayer
NTuple::Item< double > m_xphi0
NTuple::Item< double > m_segCombSlU
NTuple::Item< long > m_segCombEvtNo
NTuple::Item< double > m_segCombPhiU
NTuple::Item< double > m_csmcPhi0
NTuple::Array< double > m_xadc
NTuple::Array< double > m_xt4Time
AIDA::IHistogram1D * g_dPhiAU
NTuple::Item< double > m_segCombSameUV
NTuple::Item< double > m_addSegAddPhi
NTuple::Item< double > m_xt4timeSeg
NTuple::Item< long > m_xEvtNo
NTuple::Item< double > m_addSegSeedPhi
NTuple::Array< double > m_xx
NTuple::Item< double > m_xz0
NTuple::Item< double > m_csmcPt
AIDA::IHistogram1D * g_3dTkChi2
NTuple::Item< long > m_xnSlay
AIDA::IHistogram1D * g_trkldrop2
NTuple::Array< double > m_xtdc
NTuple::Item< double > m_segCombPhiV
NTuple::Item< double > m_xtanl
NTuple::Item< double > m_addSegAddPhi0
NTuple::Item< double > m_xt0Truth
AIDA::IHistogram1D * g_dPhiAV_8
NTuple::Tuple * m_xtupleSegComb
NTuple::Array< double > m_xt4rawHit
NTuple::Item< double > m_addSegAddSl
NTuple::Tuple * g_xtuple0
NTuple::Item< double > m_segCombOmega
NTuple::Array< long > m_xt4Layer
NTuple::Item< double > m_xtsD0_sl_approx
NTuple::Item< double > m_xtkId
NTuple::Item< double > m_addSegAddD0
NTuple::Item< long > m_segDropHitsEvtNo
NTuple::Item< double > m_segCombSameAU
NTuple::Tuple * m_xtupleEvt
NTuple::Item< double > m_xpt
NTuple::Item< double > m_xpocay
NTuple::Item< double > m_segDropHitsPull
NTuple::Item< double > m_xcpa
NTuple::Item< double > m_csmcD0
AIDA::IHistogram1D * g_trklfirstProb
NTuple::Tuple * m_xtupleAddSeg2
AIDA::IHistogram1D * g_omegag
NTuple::Array< long > m_xtsLayer
AIDA::IHistogram1D * g_trkldoca
NTuple::Array< double > m_xentra
NTuple::Item< double > m_xnDof
NTuple::Array< double > m_xlayer
NTuple::Array< double > m_xy
NTuple::Array< double > m_xz
AIDA::IHistogram1D * g_trklprocaSl
NTuple::Item< double > m_xtsOmega
NTuple::Item< double > m_xd0
NTuple::Item< long > m_addSegEvtNo
NTuple::Item< double > m_segDropHitsDrift
NTuple::Item< long > m_xt4nDigi
AIDA::IHistogram1D * g_dPhiAV_6
NTuple::Tuple * m_xtupleDropHits
NTuple::Item< double > m_csmcZ0
NTuple::Tuple * m_xtupleSeg
NTuple::Item< double > m_addSegPoca
NTuple::Tuple * m_xtupleCsmcSew
AIDA::IHistogram1D * g_trklcircle
NTuple::Item< double > m_xtsXline_slope
NTuple::Array< double > m_xt4Charge