-
Notifications
You must be signed in to change notification settings - Fork 1
/
HistXTPlane.h
48 lines (36 loc) · 1.05 KB
/
HistXTPlane.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
// Look at cross talk between different planes.
// The inputs are filtered hits from a single time window.
//
// Andrei Gaponenko, 2014
#ifndef HistXTPlane_h
#define HistXTPlane_h
#include <string>
#include <vector>
#include "WireCluster.h"
#include "HistOccupancy.h"
class TH1;
class TH2;
class TProfile2D;
class HistogramFactory;
class ConfigFile;
class DetectorGeo;
class EventClass;
//================================================================
class HistXTPlane {
public:
void init(HistogramFactory& hf,
const std::string& hdir,
const DetectorGeo& geom,
const ConfigFile& conf,
double cutBroadHitWidth);
void fill(const EventClass& evt, const ClustersByPlane& globalClusters);
HistXTPlane() {}
private :
const DetectorGeo *geom_;
double cutNarrowHitWidth_[2];
double cutBroadHitWidth_[2];
// hdt_[planeWithInducedXt][inducingPlane]
std::vector<std::vector<TH1*> > hdt_;
void bookHisto(HistogramFactory& hf, const std::string& hdir, int induced, int inducing);
};
#endif/*HistXTPlane_h*/