1 |
peiffer |
1.1 |
#ifndef GenInfo_H
|
2 |
|
|
#define GenInfo_H
|
3 |
|
|
|
4 |
|
|
class GenInfo{
|
5 |
|
|
|
6 |
|
|
public:
|
7 |
|
|
GenInfo(){
|
8 |
|
|
m_binningValues.clear();
|
9 |
|
|
m_weights.clear();
|
10 |
|
|
m_alphaQCD=0;
|
11 |
|
|
m_alphaQED=0;
|
12 |
|
|
m_qScale=0;
|
13 |
|
|
m_pdf_id1=0;
|
14 |
|
|
m_pdf_id2=0;
|
15 |
|
|
m_pdf_x1=0;
|
16 |
|
|
m_pdf_x2=0;
|
17 |
|
|
m_pdf_xPDF1=0;
|
18 |
|
|
m_pdf_xPDF2=0;
|
19 |
|
|
m_pdf_scalePDF=0;
|
20 |
|
|
m_pileup_NumInteractions_intime=0;
|
21 |
|
|
m_pileup_NumInteractions_ootbefore=0;
|
22 |
|
|
m_pileup_NumInteractions_ootafter=0;
|
23 |
|
|
m_pileup_TrueNumInteractions=0;
|
24 |
|
|
}
|
25 |
|
|
|
26 |
|
|
~GenInfo(){
|
27 |
|
|
};
|
28 |
|
|
|
29 |
peiffer |
1.2 |
std::vector<float> binningValues() const{return m_binningValues;}
|
30 |
|
|
std::vector<float> weights() const{return m_weights;}
|
31 |
|
|
float alphaQCD() const{return m_alphaQCD;}
|
32 |
|
|
float alphaQED() const{return m_alphaQED;}
|
33 |
|
|
float qScale() const{return m_qScale;}
|
34 |
|
|
int pdf_id1() const{return m_pdf_id1;}
|
35 |
|
|
int pdf_id2() const{return m_pdf_id2;}
|
36 |
|
|
float pdf_x1() const{return m_pdf_x1;}
|
37 |
|
|
float pdf_x2() const{return m_pdf_x2;}
|
38 |
|
|
float pdf_xPDF1() const{return m_pdf_xPDF1;}
|
39 |
|
|
float pdf_xPDF2() const{return m_pdf_xPDF2;}
|
40 |
|
|
float pdf_scalePDF() const{return m_pdf_scalePDF;}
|
41 |
|
|
int pileup_NumInteractions_intime() const{return m_pileup_NumInteractions_intime;}
|
42 |
|
|
int pileup_NumInteractions_ootbefore() const{return m_pileup_NumInteractions_ootbefore;}
|
43 |
|
|
int pileup_NumInteractions_ootafter() const{return m_pileup_NumInteractions_ootafter;}
|
44 |
|
|
float pileup_TrueNumInteractions() const{return m_pileup_TrueNumInteractions;}
|
45 |
peiffer |
1.1 |
|
46 |
|
|
void add_binningValue(float x){m_binningValues.push_back(x);}
|
47 |
|
|
void add_weight(float x){m_weights.push_back(x);}
|
48 |
|
|
void clear_binningValues(){m_binningValues.clear();}
|
49 |
|
|
void clear_weights(){m_weights.clear();}
|
50 |
|
|
void set_alphaQCD(float x){m_alphaQCD=x;}
|
51 |
|
|
void set_alphaQED(float x){m_alphaQED=x;}
|
52 |
|
|
void set_qScale(float x){m_qScale=x;}
|
53 |
|
|
void set_pdf_id1(int x){m_pdf_id1=x;}
|
54 |
|
|
void set_pdf_id2(int x){m_pdf_id2=x;}
|
55 |
|
|
void set_pdf_x1(float x){m_pdf_x1=x;}
|
56 |
|
|
void set_pdf_x2(float x){m_pdf_x2=x;}
|
57 |
|
|
void set_pdf_xPDF1(float x){m_pdf_xPDF1=x;}
|
58 |
|
|
void set_pdf_xPDF2(float x){m_pdf_xPDF2=x;}
|
59 |
|
|
void set_pdf_scalePDF(float x){m_pdf_scalePDF=x;}
|
60 |
|
|
void set_pileup_NumInteractions_intime(int x){m_pileup_NumInteractions_intime=x;}
|
61 |
|
|
void set_pileup_NumInteractions_ootbefore(int x){m_pileup_NumInteractions_ootbefore=x;}
|
62 |
|
|
void set_pileup_NumInteractions_ootafter(int x){m_pileup_NumInteractions_ootafter=x;}
|
63 |
|
|
void set_pileup_TrueNumInteractions(float x){m_pileup_TrueNumInteractions=x;}
|
64 |
|
|
|
65 |
|
|
|
66 |
|
|
private:
|
67 |
|
|
std::vector<float> m_binningValues;
|
68 |
|
|
std::vector<float> m_weights;
|
69 |
|
|
float m_alphaQCD;
|
70 |
|
|
float m_alphaQED;
|
71 |
|
|
float m_qScale;
|
72 |
|
|
int m_pdf_id1;
|
73 |
|
|
int m_pdf_id2;
|
74 |
|
|
float m_pdf_x1;
|
75 |
|
|
float m_pdf_x2;
|
76 |
|
|
float m_pdf_xPDF1;
|
77 |
|
|
float m_pdf_xPDF2;
|
78 |
|
|
float m_pdf_scalePDF;
|
79 |
|
|
int m_pileup_NumInteractions_intime;
|
80 |
|
|
int m_pileup_NumInteractions_ootbefore;
|
81 |
|
|
int m_pileup_NumInteractions_ootafter;
|
82 |
|
|
float m_pileup_TrueNumInteractions; //poisson mean
|
83 |
|
|
|
84 |
|
|
};
|
85 |
|
|
|
86 |
|
|
#endif
|