-
Notifications
You must be signed in to change notification settings - Fork 1
/
HistDriftTime.h
45 lines (33 loc) · 975 Bytes
/
HistDriftTime.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
// Andrei Gaponenko, 2013
#ifndef HistDriftTime_h
#define HistDriftTime_h
#include <string>
#include <vector>
#include "TDCHitWP.h"
class TH1;
class TH2;
class TProfile2D;
class TEfficiency;
class HistogramFactory;
class ConfigFile;
class EventClass;
//================================================================
class HistDriftTime {
public:
void init(const std::string& hdir,
HistogramFactory& hf,
unsigned maxPlaneNumber,
double driftTimeHistLimit,
double cutEffTrackHitDt,
const ConfigFile &conf);
void fill(const EventClass& evt, int idio, const TDCHitWPPtrCollection& hits);
HistDriftTime() : cutEffTrackHitDt_(), hexpectedPlaneHits_(), hobservedPlaneHits_() {}
private :
std::vector<TH1*> hdriftTime_;
double cutEffTrackHitDt_;
TH1 *hexpectedPlaneHits_;
TH1 *hobservedPlaneHits_;
TH2 *hexpectedPlaneHitsVsTime_;
TH2 *hobservedPlaneHitsVsTime_;
};
#endif/*HistDriftTime_h*/