Belle II Software development
ARICHNtupleStruct.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#pragma once
10
11#include "arich/dataobjects/ARICHPhoton.h"
12
13//#define ALIGNMENT_USING_BHABHA
14
15namespace Belle2 {
20 namespace ARICH {
21
26 Float_t e{0};
27 Float_t mu{0};
28 Float_t pi{0};
29 Float_t K{0};
30 Float_t p{0};
31 Float_t d{0};
36 void clear()
37 {
38 *this = ParticlesArray();
39 }
40 };
41
42
46 struct TrackHit {
47 Int_t PDG{0};
48 Float_t x{0};
49 Float_t y{0};
50 Float_t z{0};
51 Float_t p{0};
52 Float_t theta{0};
53 Float_t phi{0};
58 void clear()
59 {
60 *this = TrackHit();
61 }
62
63 };
64
65
69 struct ARICHTree {
70
72 Int_t evt{0};
73
75 Int_t run{0};
76
78 Int_t exp{0};
79
81 Short_t charge{0};
82
84 Float_t pValue{0};
85
87 Float_t z0{0};
88
90 Float_t d0{0};
91
92#ifdef ALIGNMENT_USING_BHABHA
93
95 Float_t eop {0};
96
98 Float_t e9e21{0};
99
101 Float_t etot{0};
102
103#endif
104
106 Int_t PDG{0};
107
109 Int_t motherPDG{0};
110
112 Int_t status{0};
113
115 Short_t primary{0};
116
118 Short_t seen{0};
119
121 Float_t rhoProd{0};
122
124 Float_t zProd{0};
125
127 Float_t phiProd{0};
128
130 Float_t rhoDec{0};
131
133 Float_t zDec{0};
134
136 Float_t phiDec{0};
137
139 Int_t scatter{0};
140
142 Int_t detPhot{0};
143
145 Int_t nCDC{0};
146
151 Bool_t inAcc{0};
152
155
158
161
162
165
168
170 Int_t nRec{0};
171
173 std::vector<Belle2::ARICHPhoton> photons;
174
176 Float_t winHit[2] {0};
177
179 Int_t trgtype{0};
180
184 void clear()
185 {
186 *this = ARICHTree();
187 }
188
189 };
190
191 } // ARICH namestace
193} // Belle2 namespace
Abstract base class for different kinds of events.
Structure of a flat ntuple.
Float_t zDec
Decay vertex (cylindrical coordinate z) of MCParticle.
Int_t detPhot
Number of detected photons.
Int_t nCDC
Number of track CDC hits.
Float_t winHit[2]
Track hit on hapd window (x,y coordinates).
Float_t rhoDec
Decay vertex (cylindrical coordinate r) of MCParticle.
ParticlesArray logL
Log likelihoods.
Int_t scatter
1 if particle scattered (i.e.
Int_t nRec
Number of reconstructed photons.
Short_t primary
Is a primary particle (from related MCParticle).
Int_t evt
Event number.
Short_t seen
Is seen in ARICH (from related MCParticle).
TrackHit recHit
Extrapolated Track hit.
Int_t motherPDG
PDG code of related mother MCParticle.
Int_t exp
Experiment number.
ParticlesArray numBkg
Number of expected background photons.
ParticlesArray expPhot
Number of expected photons (signal + bkg).
std::vector< Belle2::ARICHPhoton > photons
Vector of reconstructed photons.
Float_t phiProd
Production vertex (cylindrical coordinate phi) of MCParticle.
Int_t trgtype
Event trigger type.
Float_t rhoProd
Production vertex (cylindrical coordinate r) of MCParticle.
void clear()
Clear the structure: set elements to zero.
Float_t phiDec
Decay vertex (cylindrical coordinate phi) of MCParticle.
Bool_t inAcc
Track in detector acceptance, i.e.
TrackHit mcHit
Related MC particle hit.
Int_t PDG
PDG code of related MCParticle.
Int_t status
Track status (add proper description).
Float_t pValue
p-value of Track fit.
Float_t zProd
Production vertex (cylindrical coordinate z) of MCParticle.
Structure for particle hypothesis dependent arrays.
void clear()
Clear the structure: set elements to zero.
Structure for track parameters at ARICH.
Float_t p
momentum magnitude
Float_t z
impact point, z component
Float_t theta
momentum polar angle
Float_t phi
momentum azimuthal angle
Float_t x
impact point, x component
void clear()
Clear the structure: set elements to zero.
Float_t y
impact point, y component