-
Notifications
You must be signed in to change notification settings - Fork 1
/
HistAccidentals.h
53 lines (39 loc) · 1.04 KB
/
HistAccidentals.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
53
// Andrei Gaponenko, 2013
#ifndef HistAccidentals_h
#define HistAccidentals_h
#include <string>
#include <vector>
#include "HistOccupancy.h"
class TH1;
class TH2;
class HistogramFactory;
class ConfigFile;
class TimeWindowingResults;
//================================================================
class HistAccidentals {
public:
void init(const std::string& hdir,
HistogramFactory &hf,
const ConfigFile &conf);
void fill(const TimeWindowingResults& wres);
HistAccidentals()
: cutPreTrigTimeMin_(), cutPreTrigTimeMax_()
, htstartAll_(), htstartDn_()
, hnumwinAll_(), hnumwinDn_()
, hnumhitsUp_(), hnumhitsMixed_(), hnumhitsDn_()
{}
private :
// Only consider time windows starting in this range
double cutPreTrigTimeMin_;
double cutPreTrigTimeMax_;
TH1 *htstartAll_;
TH1 *htstartDn_;
TH1 *hnumwinAll_;
TH1 *hnumwinDn_;
std::vector<TH1*> hnumwinAllSubDiv_;
TH2 *hnumhitsUp_;
TH2 *hnumhitsMixed_;
TH2 *hnumhitsDn_;
HistOccupancy hOccupancyPCNoDC_;
};
#endif/*HistAccidentals_h*/