-
Notifications
You must be signed in to change notification settings - Fork 1
/
HistHotSpot.h
60 lines (43 loc) · 1.33 KB
/
HistHotSpot.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
60
// Various plots to understand the "hot spot" in the hit multiplicity
// distribution.
//
// Andrei Gaponenko, 2014
#ifndef HistHotSpot_h
#define HistHotSpot_h
#include <string>
#include "WireCluster.h"
class TH1;
class TH2;
class HistogramFactory;
class ConfigFile;
class DetectorGeo;
class EventClass;
//================================================================
class HistHotSpot {
public:
void init(HistogramFactory& hf,
const std::string& hdir,
const DetectorGeo& geom,
const ConfigFile& conf);
template<class Observables>
void fill(const EventClass& evt, const ClustersByPlane& globalPlaneClusters, const Observables& obs);
private :
// One entry per event
TH1* hitTimeWidest_;
TH2* tdcWidthWidestHit8vs7_;
TH2* posWidestHit8vs7_;
TH2* clusterSize8vs7_;
TH1* numUnassignedDCHits_;
// Multiple entries per event
TH1 *hitTimeAll78_;
std::vector<TH1*> hitTimeAllPlane_; //PC7, PC8
TH1 *tdcWidthAll78_;
std::vector<TH1*> tdcWidthAllPlane_;
std::vector<TH1*> dt_; //PC7, PC8
// fraction of total in N widest hits vs N? (Or vs hit fraction: both axes use [0:1])
/// can we find a translation-invariant measure?
// Kyle: plot (xn1 - xn)
// mean vs median? visualize "one broad, many narrow".
// correlation with pc5/6? Other upstream?
};
#endif/*HistHotSpot_h*/