-
Notifications
You must be signed in to change notification settings - Fork 1
/
HistHitStream.h
59 lines (42 loc) · 1.08 KB
/
HistHitStream.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
54
55
56
57
58
59
// Andrei Gaponenko, 2013
#ifndef HistHitStream_h
#define HistHitStream_h
#include <string>
#include "WireCluster.h"
#include "HistPlaneRanges.h"
class TH1;
class TH2;
class HistogramFactory;
class DetectorGeo;
class ConfigFile;
//================================================================
class HistHitStream {
public:
void init(const std::string& hdir,
HistogramFactory &hf,
const DetectorGeo& geom,
const ConfigFile &conf);
void fill(const ClustersByPlane& globalClusters);
HistHitStream()
: geom_()
, hNumPlanesUpVsDn_() , hNumPlanesDnMinusUp_()
, hNumPCsUpVsDn_() , hNumPCsDnMinusUp_()
, hNumDCsUpVsDn_() , hNumDCsDnMinusUp_()
, hNumRangesUpVsDn_()
, hWinStream_()
{}
private :
const DetectorGeo *geom_;
TH2 *hNumPlanesUpVsDn_;
TH1 *hNumPlanesDnMinusUp_;
TH2 *hNumPCsUpVsDn_;
TH1 *hNumPCsDnMinusUp_;
TH2 *hNumDCsUpVsDn_;
TH1 *hNumDCsDnMinusUp_;
TH2 *hNumRangesUpVsDn_;
TH1 *hWinStream_;
HistPlaneRanges hrGlobal_;
HistPlaneRanges hrUp_;
HistPlaneRanges hrDn_;
};
#endif/*HistHitStream_h*/