-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathHistosMC.h
executable file
·52 lines (40 loc) · 1001 Bytes
/
HistosMC.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// Purpose: Histograms that include the whole eta profiles
// Author: [email protected]
// Created: April 3, 2017
#ifndef __HistosMC_h__
#define __HistosMC_h__
#include "TH1D.h"
#include "TH2D.h"
#include "TH3D.h"
#include "TProfile.h"
#include "TProfile2D.h"
#include "TProfile3D.h"
#include "TDirectory.h"
#include "TMath.h"
#include <string>
#include <map>
#include <vector>
#include <iostream>
#include "settings.h"
using std::string;
using std::vector;
class HistosMC {
public:
// phase space
string trigname;
// Control plots of resolutions in the pt-eta plane
vector<TH3D *> hdjasymm;
vector<TH3D *> hdjasymmtp;
vector<TH3D *> hdjresp_tag;
vector<TH3D *> hdjresptp_tag;
vector<TH3D *> hdjresp_probe;
vector<TH3D *> hdjresptp_probe;
const vector<float> alpharange = {0.05,0.10,0.15,0.20,0.25,0.30};
HistosMC() {}
HistosMC(TDirectory *dir, string trigname);
~HistosMC();
void Write();
private:
TDirectory *dir;
};
#endif // __HistosMC_h__