-
Notifications
You must be signed in to change notification settings - Fork 1
/
HistAfterPulsing.h
43 lines (33 loc) · 977 Bytes
/
HistAfterPulsing.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
// Look at multiple hits per readout channel.
//
// Andrei Gaponenko, 2013
#ifndef HistAfterPulsing_h
#define HistAfterPulsing_h
#include <string>
#include <vector>
#include "TDCHitWP.h"
#include "HistOccupancy.h"
class TH1;
class TH2;
class TProfile2D;
class HistogramFactory;
class ConfigFile;
//================================================================
class HistAfterPulsing {
public:
void init(const std::string& hdir,
unsigned maxPlaneNumber,
unsigned maxCellNumber,
HistogramFactory &hf,
const ConfigFile &conf);
// pass by value because the method needs a copy anyway
void fill(TDCHitWPPtrCollection hits);
HistAfterPulsing() : hcellHitMultiplicity_() {}
private :
std::vector<TH1*> hSameCellDt_;
std::vector<TH2*> hSameCellTDCWidthVsWidth_;
std::vector<TH2*> hSameCellTDCWidthVsDt_;
HistOccupancy hOccupancyMultiHit_;
TProfile2D *hcellHitMultiplicity_;
};
#endif/*HistAfterPulsing_h*/