PAASS
Software suite to Acquire and Analyze Data from Pixie16
|
A channel event. More...
#include <ChanEvent.hpp>
Public Member Functions | |
ChanEvent () | |
ChanEvent (const XiaData &data) | |
Constructor setting XIA Data. More... | |
~ChanEvent () | |
Default Destructor. More... | |
void | SetEnergy (double a) |
void | SetCalEnergy (double a) |
void | SetCorrectedTime (double a) |
void | SetCalTime (double a) |
void | SetHighResTime (double a) |
bool | GetCfdSourceBit () const |
bool | CfdForceTrig () const |
double | GetEnergy () const |
double | GetCalEnergy () const |
double | GetCorrectedTime () const |
double | GetTime () const |
double | GetCalTime () const |
double | GetHighResTime () const |
double | GetEventTime () const |
const Trace & | GetTrace () const |
Trace & | GetTrace () |
unsigned long | GetTrigTime () const |
unsigned long | GetEventTimeLo () const |
unsigned long | GetEventTimeHi () const |
unsigned long | GetRunTime0 () const |
unsigned long | GetRunTime1 () const |
unsigned long | GetRunTime2 () const |
bool | IsPileup () const |
bool | IsSaturated () const |
const Identifier & | GetChanID () const |
int | GetID () const |
unsigned long | GetQdcValue (int i) const |
void | ZeroVar () |
[Zero Channel] More... | |
Private Member Functions | |
void | ZeroNums (void) |
Private Attributes | |
XiaData | data_ |
The data decoded from the XIA header. More... | |
double | energy |
double | calEnergy |
double | calTime |
double | correctedTime |
double | highResTime |
Trace | trace |
pixie::word_t | trigTime |
pixie::word_t | runTime0 |
pixie::word_t | runTime1 |
pixie::word_t | runTime2 |
double | time |
double | eventTime |
A channel event.
All data is grouped together into channels. For each pixie16 channel that fires the energy, time (both trigger time and event time), and trace (if applicable) are obtained. Additional information includes the channels identifier, calibrated energies, trace analysis information. Note that this currently stores raw values internally through pixie word types but returns data values through native C types. This is potentially non-portable.
Definition at line 23 of file ChanEvent.hpp.
|
inline |
Default constructor that zeroes all values
Definition at line 26 of file ChanEvent.hpp.
|
inline |
Constructor setting XIA Data.
Definition at line 29 of file ChanEvent.hpp.
|
inline |
Default Destructor.
Definition at line 35 of file ChanEvent.hpp.
|
inline |
Definition at line 62 of file ChanEvent.hpp.
|
inline |
<
Definition at line 69 of file ChanEvent.hpp.
|
inline |
|
inline |
Definition at line 58 of file ChanEvent.hpp.
const Identifier & ChanEvent::GetChanID | ( | ) | const |
Definition at line 33 of file ChanEvent.cpp.
|
inline |
<
Definition at line 72 of file ChanEvent.hpp.
|
inline |
<
Definition at line 66 of file ChanEvent.hpp.
|
inline |
<
Definition at line 84 of file ChanEvent.hpp.
|
inline |
<
Definition at line 99 of file ChanEvent.hpp.
|
inline |
<
Definition at line 96 of file ChanEvent.hpp.
|
inline |
<
Definition at line 81 of file ChanEvent.hpp.
int ChanEvent::GetID | ( | ) | const |
Definition at line 38 of file ChanEvent.cpp.
unsigned long ChanEvent::GetQdcValue | ( | int | i | ) | const |
[in] | i | : the QDC number to obtain, possible values [0,7] |
Definition at line 29 of file ChanEvent.cpp.
|
inline |
|
inline |
|
inline |
|
inline |
<
Definition at line 75 of file ChanEvent.hpp.
|
inline |
<
Definition at line 87 of file ChanEvent.hpp.
|
inline |
Definition at line 90 of file ChanEvent.hpp.
|
inline |
<
Definition at line 93 of file ChanEvent.hpp.
|
inline |
<
Definition at line 111 of file ChanEvent.hpp.
|
inline |
<
Definition at line 114 of file ChanEvent.hpp.
|
inline |
Set the calibrated energy
[in] | a | : the calibrated energy |
Definition at line 43 of file ChanEvent.hpp.
|
inline |
Set the Calibrated time
[in] | a | : the calibrated time |
Definition at line 51 of file ChanEvent.hpp.
|
inline |
Set the Walk corrected time
[in] | a | : the walk corrected time |
Definition at line 47 of file ChanEvent.hpp.
|
inline |
Set the energy
[in] | a | : the energy |
Definition at line 39 of file ChanEvent.hpp.
|
inline |
Set the high resolution time (Filter time + phase )
[in] | a | : the high resolution time |
Definition at line 55 of file ChanEvent.hpp.
|
private |
Zero members which do not have constructors associated with them
Definition at line 15 of file ChanEvent.cpp.
void ChanEvent::ZeroVar | ( | ) |
[Zero Channel]
Channel event zeroing All numerical values are set to -1, and the trace, and traceinfo vectors are cleared and the channel identifier is zeroed using its identifier::zeroid method.
Definition at line 44 of file ChanEvent.cpp.
|
private |
Calibrated channel energy, calibration performed in ThreshAndCal function in the detector_driver.cpp
Definition at line 135 of file ChanEvent.hpp.
|
private |
Calibrated time, currently unused
Definition at line 138 of file ChanEvent.hpp.
|
private |
Energy-walk corrected time
Definition at line 139 of file ChanEvent.hpp.
|
private |
The data decoded from the XIA header.
Definition at line 132 of file ChanEvent.hpp.
|
private |
Raw channel energy
Definition at line 134 of file ChanEvent.hpp.
|
private |
The event time recorded by Pixie
Definition at line 150 of file ChanEvent.hpp.
|
private |
timing resolution less than 1 adc sample
Definition at line 140 of file ChanEvent.hpp.
|
private |
Lower bits of run time
Definition at line 145 of file ChanEvent.hpp.
|
private |
Upper bits of run time
Definition at line 146 of file ChanEvent.hpp.
|
private |
Higher bits of run time
Definition at line 147 of file ChanEvent.hpp.
|
private |
Raw channel time, 64 bit from pixie16 channel event time
Definition at line 149 of file ChanEvent.hpp.
|
private |
Channel trace if present
Definition at line 141 of file ChanEvent.hpp.
|
private |
The channel trigger time, trigger time and the lower 32 bits of the event time are not necessarily the same but could be separated by a constant value.
Definition at line 142 of file ChanEvent.hpp.