Iguana LATEST
Implementation Guardian of Analysis Algorithms
Loading...
Searching...
No Matches
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 beamPx = 0;
68 double beamPy = 0;
70 double beamPz = 0;
72 double beamM = 0;
74 double targetPx = 0;
76 double targetPy = 0;
78 double targetPz = 0;
80 double targetM = 0;
81 };
82}
83
84namespace iguana::physics {
88 int pindex = 0;
90 int pdg = 0;
92 double z = 0;
94 double PhPerp = 0;
96 double MX2 = 0;
98 double xF = 0;
100 double yB = 0;
102 double phiH = 0;
104 double xi = 0;
105 };
106}
107
108namespace iguana::physics {
112 int pindex_a = 0;
114 int pindex_b = 0;
116 int pdg_a = 0;
118 int pdg_b = 0;
120 double Mh = 0;
122 double z = 0;
124 double PhPerp = 0;
126 double PhT = 0;
128 double MX2 = 0;
130 double xF = 0;
132 double yB = 0;
134 double phiH = 0;
136 double phiR = 0;
138 double theta = 0;
140 double t = 0;
141 };
142}
143
144namespace iguana::physics {
148 double epsilon = 0;
150 double A = 0;
152 double B = 0;
154 double C = 0;
156 double V = 0;
158 double W = 0;
159 };
160}
161
162namespace iguana::clas12 {
166 int pindex = 0;
168 int pcal_found = 0;
170 int pcal_sector = 0;
172 float pcal_lu = 0;
174 float pcal_lv = 0;
176 float pcal_lw = 0;
178 float pcal_energy = 0;
180 int ecin_found = 0;
182 int ecin_sector = 0;
184 float ecin_lu = 0;
186 float ecin_lv = 0;
188 float ecin_lw = 0;
190 float ecin_energy = 0;
192 int ecout_found = 0;
196 float ecout_lu = 0;
198 float ecout_lv = 0;
200 float ecout_lw = 0;
202 float ecout_energy = 0;
203 };
204}
205
206namespace iguana::clas12 {
210 int pindex = 0;
212 int sector = 0;
214 int r1_found = 0;
216 float r1_x = 0;
218 float r1_y = 0;
220 float r1_z = 0;
222 int r2_found = 0;
224 float r2_x = 0;
226 float r2_y = 0;
228 float r2_z = 0;
230 int r3_found = 0;
232 float r3_x = 0;
234 float r3_y = 0;
236 float r3_z = 0;
237 };
238}
239
240namespace iguana::clas12 {
244 int pindex_a = 0;
246 int pindex_b = 0;
248 double proximity = 0;
249 };
250}
251
General CLAS12 algorithms.
Definition Algorithm.h:5
Physics algorithms.
Definition Algorithm.h:5
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:164
float pcal_lw
PCAL distance on W-side.
Definition BankDefs.h:176
float ecout_energy
Energy associated with the ECOUT hit (GeV).
Definition BankDefs.h:202
float pcal_lv
PCAL distance on V-side.
Definition BankDefs.h:174
float ecout_lv
ECOUT distance on V-side.
Definition BankDefs.h:198
float ecin_lv
ECIN distance on V-side.
Definition BankDefs.h:186
int pindex
row number in the particle bank
Definition BankDefs.h:166
float ecin_lw
ECIN distance on W-side.
Definition BankDefs.h:188
float ecin_lu
ECIN distance on U-side.
Definition BankDefs.h:184
int pcal_found
1 if PCAL info found for this particle, 0 otherwise
Definition BankDefs.h:168
float ecin_energy
Energy associated with the ECIN hit (GeV).
Definition BankDefs.h:190
int ecin_found
1 if ECIN info found for this particle, 0 otherwise
Definition BankDefs.h:180
float pcal_energy
Energy associated with the PCAL hit (GeV).
Definition BankDefs.h:178
float ecout_lu
ECOUT distance on U-side.
Definition BankDefs.h:196
float ecout_lw
ECOUT distance on W-side.
Definition BankDefs.h:200
int ecout_found
1 if ECOUT info found for this particle, 0 otherwise
Definition BankDefs.h:192
float pcal_lu
PCAL distance on U-side.
Definition BankDefs.h:172
Set of variables created by creator algorithm iguana::clas12::MatchParticleProximity.
Definition BankDefs.h:242
int pindex_a
pindex of particle bank A (e.g., REC::Particle)
Definition BankDefs.h:244
double proximity
the distance between matched pair, in the proximity-matching space
Definition BankDefs.h:248
int pindex_b
pindex of particle bank B (e.g., MC::Particle)
Definition BankDefs.h:246
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:208
float r3_z
Region 3 z-position.
Definition BankDefs.h:236
float r1_z
Region 1 z-position.
Definition BankDefs.h:220
int r2_found
1 if Region 2 info found for this particle, 0 otherwise
Definition BankDefs.h:222
float r1_y
Region 1 y-position.
Definition BankDefs.h:218
int pindex
row number in the particle bank
Definition BankDefs.h:210
float r2_y
Region 2 y-position.
Definition BankDefs.h:226
int r1_found
1 if Region 1 info found for this particle, 0 otherwise
Definition BankDefs.h:214
float r2_x
Region 2 x-position.
Definition BankDefs.h:224
float r2_z
Region 2 z-position.
Definition BankDefs.h:228
float r1_x
Region 1 x-position.
Definition BankDefs.h:216
int r3_found
1 if Region 3 info found for this particle, 0 otherwise
Definition BankDefs.h:230
float r3_x
Region 3 x-position.
Definition BankDefs.h:232
float r3_y
Region 3 y-position.
Definition BankDefs.h:234
Set of variables created by creator algorithm iguana::physics::Depolarization.
Definition BankDefs.h:146
double A
depolarization factor
Definition BankDefs.h:150
double epsilon
, the ratio of transverse and longitudinal photon flux
Definition BankDefs.h:148
double W
depolarization factor
Definition BankDefs.h:158
double B
depolarization factor
Definition BankDefs.h:152
double V
depolarization factor
Definition BankDefs.h:156
double C
depolarization factor
Definition BankDefs.h:154
Set of variables created by creator algorithm iguana::physics::DihadronKinematics.
Definition BankDefs.h:110
double PhPerp
: transverse momentum of the dihadron in the -frame (transverse to ); cf. PhT
Definition BankDefs.h:124
double PhT
: transverse momentum of the dihadron in the -frame (lab frame, transverse to beam); cf....
Definition BankDefs.h:126
double z
: Momentum fraction of the fragmenting parton carried by the dihadron
Definition BankDefs.h:122
double t
: Mandelstam , used for exclusive channels
Definition BankDefs.h:140
double Mh
: Invariant mass of the dihadron
Definition BankDefs.h:120
double theta
: The 'decay' angle of hadron A in the dihadron rest frame, with respect; to the dihadron momentum di...
Definition BankDefs.h:138
double phiR
: -azimuthal angle between the lepton-scattering plane and dihadron plane; if the value is tools::UND...
Definition BankDefs.h:136
double xF
: Feynman-x of the dihadron
Definition BankDefs.h:130
int pdg_b
PDG code of hadron B.
Definition BankDefs.h:118
int pindex_a
REC::Particle row (pindex) of hadron A
Definition BankDefs.h:112
double phiH
: -azimuthal angle between the lepton-scattering plane and the plane; if the value is tools::UNDEF,...
Definition BankDefs.h:134
int pindex_b
REC::Particle row (pindex) of hadron B
Definition BankDefs.h:114
double yB
: Breit frame rapidity of the dihadron
Definition BankDefs.h:132
int pdg_a
PDG code of hadron A.
Definition BankDefs.h:116
double MX2
: Missing mass squared of the dihadron
Definition BankDefs.h:128
Set of variables created by creator algorithm iguana::physics::InclusiveKinematics.
Definition BankDefs.h:44
double beamPy
beam momentum -component (GeV)
Definition BankDefs.h:68
double targetM
target mass (GeV)
Definition BankDefs.h:80
double qE
-component of virtual photon momentum
Definition BankDefs.h:64
double targetPx
target momentum -component (GeV)
Definition BankDefs.h:74
double qz
-component of virtual photon momentum
Definition BankDefs.h:62
double beamPx
beam momentum -component (GeV)
Definition BankDefs.h:66
double qx
-component of virtual photon momentum
Definition BankDefs.h:58
double qy
-component of virtual photon momentum
Definition BankDefs.h:60
double targetPy
target momentum -component (GeV)
Definition BankDefs.h:76
double targetPz
target momentum -component (GeV)
Definition BankDefs.h:78
int pindex
REC::Particle row (pindex) of the scattered electron
Definition BankDefs.h:46
double beamPz
beam momentum -component (GeV)
Definition BankDefs.h:70
Set of variables created by creator algorithm iguana::physics::SingleHadronKinematics.
Definition BankDefs.h:86
int pindex
REC::Particle row (pindex) of the hadron
Definition BankDefs.h:88
double yB
: Breit frame rapidity of the hadron
Definition BankDefs.h:100
double xF
: Feynman-x of the hadron
Definition BankDefs.h:98
double MX2
: Missing mass squared of the hadron
Definition BankDefs.h:96
double phiH
: -azimuthal angle between the lepton-scattering plane and the plane; if the value is tools::UNDEF,...
Definition BankDefs.h:102
double PhPerp
: transverse momentum of the hadron in the -frame (transverse to )
Definition BankDefs.h:94
int pdg
PDG code of the hadron.
Definition BankDefs.h:90
double z
: Momentum fraction of the fragmenting parton carried by the hadron
Definition BankDefs.h:92
double xi
: Longitudinal momentum fraction of the nucleon carried by the hadron
Definition BankDefs.h:104