1 |
#include "histoAlgo.h"
|
2 |
#include <math.h>
|
3 |
#include <TColor.h>
|
4 |
|
5 |
|
6 |
|
7 |
#define FITMODE 1
|
8 |
|
9 |
void histoAlgo::initialize()
|
10 |
{
|
11 |
|
12 |
pGen_histo = new TH1D("p (GeV) at generator","p (GeV) at generator",200,0.,500.);
|
13 |
ptGen_histo = new TH1D("pt (GeV) at generator","pt (GeV) at generator",200,0.,160.);
|
14 |
etaGen_histo = new TH1D("pseudo-rapidity at generator","pseudo-rapidity at generator",200,-3.,+3.);
|
15 |
phiGen_histo = new TH1D("azimutal angle (rad) at generator","azimutal angle (rad) at generator",200,-3.6,+3.6);
|
16 |
mzGen_histo = new TH1D("#mu^{#pm} invariant mass (GeV) at generator","#mu^{#pm} invariant mass (GeV) at generator" ,200,65.,115.);
|
17 |
|
18 |
p_histo = new TH1D("p (GeV)","p (GeV)",200,0.,500.);
|
19 |
pt_histo = new TH1D("pt (GeV)","pt (GeV)",200,0.,160.);
|
20 |
eta_histo = new TH1D("pseudo-rapidity","pseudo-rapidity",200,-3.,+3.);
|
21 |
phi_histo = new TH1D("azimutal angle (rad)","azimutal angle (rad)",200,-3.6,+3.6);
|
22 |
mz_histo = new TH1D("#mu^{#pm} invariant mass (GeV)","#mu^{#pm} invariant mass (GeV)" ,200,65.,115.);
|
23 |
|
24 |
rp_histo = new TH1D("p resolution","p resolution",200,-0.2,+0.2);
|
25 |
rpt_histo = new TH1D("pT resolution","pT resolution",200,-0.2,+0.2);
|
26 |
reta_histo = new TH1D("pseudo-rapidity resolution","pseudo-rapidity resolution",200,-0.2,+0.2);
|
27 |
rphi_histo = new TH1D("azimutal angle resolution","azimutal angle resolution",200,-0.2,+0.2);
|
28 |
rmz_histo = new TH1D("#mu^{#pm} invariant mass (GeV)","#mu^{#pm} invariant mass (GeV)" ,200,-0.2,+0.2);
|
29 |
|
30 |
} |