Loading [MathJax]/extensions/tex2jax.js
Iguana 0.9.0
Implementation Guardian of Analysis Algorithms
BankDefs.h
1#include <vector>
2#include <string>
3
4namespace iguana {
5
7 struct BankColDef {
9 std::string name;
11 std::string type;
12 };
13
15 struct BankDef {
17 std::string name;
19 int group;
21 int item;
23 std::vector<BankColDef> entries;
24 };
25
28 extern std::vector<BankDef> const BANK_DEFS;
29
30}
31
32namespace iguana::clas12 {
36 int pindex = 0;
38 int sector = 0;
39 };
40}
41
42namespace iguana::physics {
46 int pindex = 0;
48 double Q2 = 0;
50 double x = 0;
52 double y = 0;
54 double W = 0;
56 double nu = 0;
58 double qx = 0;
60 double qy = 0;
62 double qz = 0;
64 double qE = 0;
66 double beamPz = 0;
68 double targetM = 0;
69 };
70}
71
72namespace iguana::physics {
76 int pindex = 0;
78 int pdg = 0;
80 double z = 0;
82 double PhPerp = 0;
84 double MX2 = 0;
86 double xF = 0;
88 double yB = 0;
90 double phiH = 0;
92 double xi = 0;
93 };
94}
95
96namespace iguana::physics {
100 int pindex_a = 0;
102 int pindex_b = 0;
104 int pdg_a = 0;
106 int pdg_b = 0;
108 double Mh = 0;
110 double z = 0;
112 double PhPerp = 0;
114 double MX2 = 0;
116 double xF = 0;
118 double yB = 0;
120 double phiH = 0;
122 double phiR = 0;
124 double theta = 0;
125 };
126}
127
128namespace iguana::physics {
132 double epsilon = 0;
134 double A = 0;
136 double B = 0;
138 double C = 0;
140 double V = 0;
142 double W = 0;
143 };
144}
145
146namespace iguana::clas12 {
150 int pindex = 0;
152 int pcal_found = 0;
154 int pcal_sector = 0;
156 float pcal_lu = 0;
158 float pcal_lv = 0;
160 float pcal_lw = 0;
162 float pcal_energy = 0;
164 int ecin_found = 0;
166 int ecin_sector = 0;
168 float ecin_lu = 0;
170 float ecin_lv = 0;
172 float ecin_lw = 0;
174 float ecin_energy = 0;
176 int ecout_found = 0;
180 float ecout_lu = 0;
182 float ecout_lv = 0;
184 float ecout_lw = 0;
186 float ecout_energy = 0;
187 };
188}
189
190namespace iguana::clas12 {
194 int pindex = 0;
196 int sector = 0;
198 int r1_found = 0;
200 float r1_x = 0;
202 float r1_y = 0;
204 float r1_z = 0;
206 int r2_found = 0;
208 float r2_x = 0;
210 float r2_y = 0;
212 float r2_z = 0;
214 int r3_found = 0;
216 float r3_x = 0;
218 float r3_y = 0;
220 float r3_z = 0;
221 };
222}
223
CLAS12 algorithms.
Definition Algorithm.h:5
Physics algorithms.
Definition Algorithm.h:5
General, top-level namespace for algorithms and infrastructure. For algorithms and bindings,...
Definition Algorithm.h:14
std::vector< BankDef > const BANK_DEFS
A bank column.
Definition BankDefs.h:7
std::string name
the name of the column
Definition BankDefs.h:9
std::string type
the type of the column
Definition BankDefs.h:11
The definition of a bank.
Definition BankDefs.h:15
std::string name
the name of the bank
Definition BankDefs.h:17
int group
the group ID of the bank
Definition BankDefs.h:19
std::vector< BankColDef > entries
the set of columns
Definition BankDefs.h:23
int item
the item ID of the bank
Definition BankDefs.h:21
Set of variables created by creator algorithm iguana::clas12::CalorimeterLinker
Definition BankDefs.h:148
float pcal_lw
PCAL distance on W-side.
Definition BankDefs.h:160
float ecout_energy
Energy associated with the ECOUT hit (GeV)
Definition BankDefs.h:186
float pcal_lv
PCAL distance on V-side.
Definition BankDefs.h:158
float ecout_lv
ECOUT distance on V-side.
Definition BankDefs.h:182
float ecin_lv
ECIN distance on V-side.
Definition BankDefs.h:170
int pindex
row number in the particle bank
Definition BankDefs.h:150
float ecin_lw
ECIN distance on W-side.
Definition BankDefs.h:172
float ecin_lu
ECIN distance on U-side.
Definition BankDefs.h:168
int pcal_found
1 if PCAL info found for this particle, 0 otherwise
Definition BankDefs.h:152
float ecin_energy
Energy associated with the ECIN hit (GeV)
Definition BankDefs.h:174
int ecin_found
1 if ECIN info found for this particle, 0 otherwise
Definition BankDefs.h:164
float pcal_energy
Energy associated with the PCAL hit (GeV)
Definition BankDefs.h:162
float ecout_lu
ECOUT distance on U-side.
Definition BankDefs.h:180
float ecout_lw
ECOUT distance on W-side.
Definition BankDefs.h:184
int ecout_found
1 if ECOUT info found for this particle, 0 otherwise
Definition BankDefs.h:176
float pcal_lu
PCAL distance on U-side.
Definition BankDefs.h:156
Set of variables created by creator algorithm iguana::clas12::SectorFinder
Definition BankDefs.h:34
int sector
sector for this particle
Definition BankDefs.h:38
int pindex
row number in the particle bank
Definition BankDefs.h:36
Set of variables created by creator algorithm iguana::clas12::TrajLinker
Definition BankDefs.h:192
float r3_z
Region 3 z-position.
Definition BankDefs.h:220
float r1_z
Region 1 z-position.
Definition BankDefs.h:204
int r2_found
1 if Region 2 info found for this particle, 0 otherwise
Definition BankDefs.h:206
float r1_y
Region 1 y-position.
Definition BankDefs.h:202
int pindex
row number in the particle bank
Definition BankDefs.h:194
float r2_y
Region 2 y-position.
Definition BankDefs.h:210
int r1_found
1 if Region 1 info found for this particle, 0 otherwise
Definition BankDefs.h:198
float r2_x
Region 2 x-position.
Definition BankDefs.h:208
float r2_z
Region 2 z-position.
Definition BankDefs.h:212
float r1_x
Region 1 x-position.
Definition BankDefs.h:200
int r3_found
1 if Region 3 info found for this particle, 0 otherwise
Definition BankDefs.h:214
float r3_x
Region 3 x-position.
Definition BankDefs.h:216
float r3_y
Region 3 y-position.
Definition BankDefs.h:218
Set of variables created by creator algorithm iguana::physics::Depolarization
Definition BankDefs.h:130
double A
depolarization factor
Definition BankDefs.h:134
double epsilon
, the ratio of transverse and longitudinal photon flux
Definition BankDefs.h:132
double W
depolarization factor
Definition BankDefs.h:142
double B
depolarization factor
Definition BankDefs.h:136
double V
depolarization factor
Definition BankDefs.h:140
double C
depolarization factor
Definition BankDefs.h:138
Set of variables created by creator algorithm iguana::physics::DihadronKinematics
Definition BankDefs.h:98
double PhPerp
: transverse momentum of the dihadron in the -frame (transverse to )
Definition BankDefs.h:112
double z
: Momentum fraction of the fragmenting parton carried by the dihadron
Definition BankDefs.h:110
double Mh
: Invariant mass of the dihadron
Definition BankDefs.h:108
double theta
: The 'decay' angle of hadron A in the dihadron rest frame, with respect; to the dihadron momentum di...
Definition BankDefs.h:124
double phiR
: -azimuthal angle between the lepton-scattering plane and dihadron plane; if the value is tools::UND...
Definition BankDefs.h:122
double xF
: Feynman-x of the dihadron
Definition BankDefs.h:116
int pdg_b
PDG code of hadron B.
Definition BankDefs.h:106
int pindex_a
REC::Particle row (pindex) of hadron A
Definition BankDefs.h:100
double phiH
: -azimuthal angle between the lepton-scattering plane and the plane; if the value is tools::UNDEF,...
Definition BankDefs.h:120
int pindex_b
REC::Particle row (pindex) of hadron B
Definition BankDefs.h:102
double yB
: Breit frame rapidity of the dihadron
Definition BankDefs.h:118
int pdg_a
PDG code of hadron A.
Definition BankDefs.h:104
double MX2
: Missing mass squared of the dihadron
Definition BankDefs.h:114
Set of variables created by creator algorithm iguana::physics::InclusiveKinematics
Definition BankDefs.h:44
double targetM
target mass (GeV)
Definition BankDefs.h:68
double qE
-component of virtual photon momentum
Definition BankDefs.h:64
double qz
-component of virtual photon momentum
Definition BankDefs.h:62
double qx
-component of virtual photon momentum
Definition BankDefs.h:58
double qy
-component of virtual photon momentum
Definition BankDefs.h:60
int pindex
REC::Particle row (pindex) of the scattered electron
Definition BankDefs.h:46
double beamPz
beam momentum -component (GeV)
Definition BankDefs.h:66
Set of variables created by creator algorithm iguana::physics::SingleHadronKinematics
Definition BankDefs.h:74
int pindex
REC::Particle row (pindex) of the hadron
Definition BankDefs.h:76
double yB
: Breit frame rapidity of the hadron
Definition BankDefs.h:88
double xF
: Feynman-x of the hadron
Definition BankDefs.h:86
double MX2
: Missing mass squared of the hadron
Definition BankDefs.h:84
double phiH
: -azimuthal angle between the lepton-scattering plane and the plane; if the value is tools::UNDEF,...
Definition BankDefs.h:90
double PhPerp
: transverse momentum of the hadron in the -frame (transverse to )
Definition BankDefs.h:82
int pdg
PDG code of the hadron.
Definition BankDefs.h:78
double z
: Momentum fraction of the fragmenting parton carried by the hadron
Definition BankDefs.h:80
double xi
: Longitudinal momentum fraction of the nucleon carried by the hadron
Definition BankDefs.h:92