EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
ffqaplots.hh
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file ffqaplots.hh
1
#ifndef FFQAPLOTS_H
2
#define FFQAPLOTS_H
3
4
// Note: Nothing in here is necessary for eic-smear usage
5
6
#include <TString.h>
7
#include <TH1.h>
8
#include <TH2.h>
9
10
#include <string>
11
#include <vector>
12
13
struct
qaparameters
{
14
std::string
txtfilename
=
"./ep_hiQ2.20x250.small.txt.gz"
;
15
TString
outfilebase
=
"./ffqaplots"
;
16
std::string
outpath
=
"./"
;
17
long
nevents
=-1;
18
std::vector<int>
pids
= {};
// sign will be ignored. 0 for all. leave empty for n, p.
19
std::string
detstring
=
"MATRIXFF"
;
// Capitalization does not matter
20
21
long
usedevents
=-1;
// pure convenience so I can access the true number when nevents=-1;
22
23
// ion beam momentum per nucleon in GeV for far forward detectors.
24
// Using int to avoid rounding issues in switch
25
int
beam_mom_nn
=100;
26
};
27
28
struct
eventqacollection
{
29
// // could re-add these to check improved performance
30
// // by more accepted hadrons
31
// TH2D* Q2_JB;
32
// TH2D* Q2_DA;
33
// TH2D* y_JB;
34
// TH2D* y_DA;
35
// TH2D* x_JB;
36
// TH2D* x_DA;
37
38
// long missedQ2_JB;
39
// long missedQ2_DA;
40
// long missedy_JB;
41
// long missedy_DA;
42
// long missedx_JB;
43
// long missedx_DA;
44
};
45
46
struct
pidqacollection
{
47
TH2D*
Phi_theta
;
48
TH2D*
P_th
;
49
TH2D*
Pt_th
;
50
TH2D*
xL_th
;
51
};
52
53
54
55
qaparameters
ParseArguments
(
int
argc,
char
* argv[] );
56
57
#endif // FFQAPLOTS_H
eicsmeardetectors
blob
master
tests
ffqaplots.hh
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:37
using
1.8.2 with
EIC GitHub integration