-
Notifications
You must be signed in to change notification settings - Fork 1
/
HistTrkClass.h
49 lines (37 loc) · 928 Bytes
/
HistTrkClass.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
// Various plots to understand the range vs p_rec discrepancy in the
// contained channel.
//
// Andrei Gaponenko, 2015
#ifndef HistTrkClass_h
#define HistTrkClass_h
#include <string>
#include "WireCluster.h"
class TH1;
class TH2;
class TProfile2D;
class TEfficiency;
class HistogramFactory;
class ConfigFile;
class DetectorGeo;
class EventClass;
//================================================================
class HistTrkClass {
public:
void init(HistogramFactory& hf,
const std::string& hdir,
const DetectorGeo& geom,
const ConfigFile& conf);
void fill(const EventClass& evt, int itrack, const ClustersByPlane& globalPlaneClusters);
private :
TH1 *hptot_all_;
TH1 *hptot_zcrc_;
TH1 *hptot_zcrn_;
TH1 *hptot_znrc_;
TH1 *hptot_znrn_;
TH2 *hpcos_all_;
TH2 *hpcos_zcrc_;
TH2 *hpcos_zcrn_;
TH2 *hpcos_znrc_;
TH2 *hpcos_znrn_;
};
#endif/*HistTrkClass_h*/