Berkeley Nuclear Data Software
TTOFEvent.h
Go to the documentation of this file.
1 #ifndef _TTOF_EVENT_H_
2 #define _TTOF_EVENT_H_
3 //project includes
5 #include "CLYCWFTools.h"
6 //c++ includes
7 #include <vector>
8 #include <complex>
9 
13 class TTOFEvent
14 {
15 public:
17  TTOFEvent();
19  double m_targLight;
21  double m_targPSD;
32  double m_TOTPSD;
40  double m_startPSD;
42  double m_startLight;
44  double m_coinTOF;
47  double m_En;
49  int m_coinID;
51  double m_eventStart;
57  //Vector for FFTs
58  std::vector<std::complex<double>> m_FFT;
59  //stores the results of a waveform fit if it was computed
60  std::vector<biExpPrms> m_fitRes;
61  //resets the internals to their default constructed state
62  void clearEvent();
63  //tests if fit information is stored
64  bool hasFit();
65 
66 };
67 #endif
Definition: TTOFEvent.h:14
double m_targPSD
target pulse shape
Definition: TTOFEvent.h:21
bool hasFit()
Definition: TTOFEvent.cpp:41
double m_startLight
light observed in the scatter cell in MeVee
Definition: TTOFEvent.h:42
std::vector< biExpPrms > m_fitRes
Definition: TTOFEvent.h:60
double m_targetPulseIntP1
integral of subset 1 of the trace
Definition: TTOFEvent.h:25
int m_overThreshold
the largest time over threshold
Definition: TTOFEvent.h:38
double m_targetPulseIntP4
integral of subset 4 of the trace
Definition: TTOFEvent.h:31
double m_coinTOF
coincident TOF (dt between start and stop detector)in ns
Definition: TTOFEvent.h:44
bool m_baselineIssue
Definition: TTOFEvent.h:54
double m_targetPulseIntP2
integral of subset 2 of the trace
Definition: TTOFEvent.h:27
double m_eventStart
trace start point in samples
Definition: TTOFEvent.h:51
double m_targetPulseIntP3
integral of subset 3 of the trace
Definition: TTOFEvent.h:29
double m_En
Definition: TTOFEvent.h:47
std::vector< std::complex< double > > m_FFT
Definition: TTOFEvent.h:58
double m_TOTPSD
Definition: TTOFEvent.h:32
double m_startPSD
scatter pulse shape
Definition: TTOFEvent.h:40
int m_coinID
coincidence ID
Definition: TTOFEvent.h:49
int m_targetPeakSample
sample corresponding to max amplitude of target waveform
Definition: TTOFEvent.h:36
compassEvStrct m_targEvent
compass event containing waveform of target scintillator
Definition: TTOFEvent.h:56
TTOFEvent()
default constructor sets all internal data members to identifiable values
Definition: TTOFEvent.cpp:4
void clearEvent()
Definition: TTOFEvent.cpp:23
double m_targetPulseIntegral
pulse integral of target waveform
Definition: TTOFEvent.h:23
double m_targetPeakAmplitude
max amplitude of target waveform
Definition: TTOFEvent.h:34
double m_targLight
light observed in the target in MeVee
Definition: TTOFEvent.h:19
Definition: COMPASSFileManagement.h:14