BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
histgen/global.h
Go to the documentation of this file.
1#ifndef GLOBAL_H
2#define GLOBAL_H
3#include <iomanip>
4#include <sstream>
5#include <string>
6#include <iostream>
7#include <fstream>
8#include <cmath>
9#include <vector>
10#include <cassert>
11
12#include "TF1.h"
13#include "TH1F.h"
14#include "TFile.h"
15#include "TTree.h"
16#include "TString.h"
17
18/// Histograms
19std::vector<TH1F*> hist_bg;
20std::vector<TH1F*> hist_mean;
21std::vector<TH1F*> hist_sigma;
22std::vector<TH1F*> hist_costheta;
23std::vector<TH1F*> hist_nhit;
24std::vector<TH1F*> hist_chi;
25std::vector<TH1F*> hist_diff;
26
27// 0 is data, 1 is MC
28const std::string curve_files[2] = {"/afs/ihep.ac.cn/bes3/offline/CalibConst/dedxcurve/6.6.4.p01/DedxCurConst_data_25338-26576.root", "/afs/ihep.ac.cn/bes3/offline/CalibConst/dedxcurve/6.6.4.p01/DedxCurConst_data_25338-26576.root"};
29const double mass_vec[5] = {0.511e-3, 105.658e-3, 139.570e-3, 493.677e-3, 938.272e-3 };
30const double pmin_vec[5] = {0.1, 0.1, 0.1, 0.4, 0.25};
31const double pmax_vec[5] = {1.548, 1.5, 1.5, 1.4, 0.6};
32const int nbins_vec[5] = {28, 28, 28, 20, 7};
33
34#endif
35
std::vector< TH1F * > hist_chi
std::vector< TH1F * > hist_bg
Histograms.
const double pmin_vec[5]
const int nbins_vec[5]
const std::string curve_files[2]
std::vector< TH1F * > hist_costheta
std::vector< TH1F * > hist_diff
const double mass_vec[5]
std::vector< TH1F * > hist_nhit
const double pmax_vec[5]
std::vector< TH1F * > hist_sigma
std::vector< TH1F * > hist_mean