-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNGammaEvent.h
More file actions
32 lines (28 loc) · 897 Bytes
/
NGammaEvent.h
File metadata and controls
32 lines (28 loc) · 897 Bytes
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
#ifndef NGAMMAEVENT_HH
#define NGAMMAEVENT_HH 1
#include "TROOT.h"
class NGammaEvent
{
public:
int channel; //< channel on which event occured
Long64_t evtnum; //< sequential event number in run
Long64_t triggerTime; //< time of event trigger since run start [ns]
Long64_t peakTime; //< time of event peak since run start [ns]
double centerDelta; //< interpolated tweak to peak center timing
double peakTimeInterp; //< peak time interpolated
double pedestal; //< pedestal value (based on first 4 samples)
int minSample; //< minimum sample value
int maxSample; //< maximum sample value
double maxInterp; //< maximum value interpolated from peak samples
double area; //< integrated area
double t1;
double dt;
double p1;
double p2;
double dEdx;
double dEdx_tail;
double dEdx_min;
double chi2;
ClassDef(NGammaEvent, 1) // Neutron-gamma event
};
#endif