Berkeley Nuclear Data Software
|
#include <STOFEvent.h>
Public Member Functions | |
STOFEvent () | |
default constructor sets all internal data members to identifiable values More... | |
void | clearEvent () |
Public Attributes | |
float | m_targPSD |
target pulse shape More... | |
float | m_scatPSD |
scatter pulse shape More... | |
float | m_targLight |
light observed in the target in MeVee More... | |
float | m_EnTarLight |
float | m_scatLight |
light observed in the scatter cell in MeVee More... | |
float | m_targDeltaT |
delta time between two target PMTs More... | |
float | m_exitTOF |
exit time of flight (dt between target and scatter)in ns More... | |
float | m_EnExitTOF |
float | m_incTOF |
incoming time of flight (dt between target and RF) in ns More... | |
std::vector< float > | m_EnINCTOF |
float | m_EnIncTOFEstimate |
best En estimation comparing IncTOF and outTOF More... | |
int | m_coinID |
coincidence ID More... | |
float | m_match |
matching between EnIncTOFEstimate and EnExitTOF More... | |
std::bitset< 16 > | m_flagsInfo |
this class is used to store the computed quantities for a single event in the STOF system to allow for fast accumulation at the moment it exists as a struct without access encapsulation
STOFEvent::STOFEvent | ( | ) |
default constructor sets all internal data members to identifiable values
void STOFEvent::clearEvent | ( | ) |
int STOFEvent::m_coinID |
coincidence ID
float STOFEvent::m_EnExitTOF |
incident neutron energy determined from exit time of flight and scattering angle
std::vector<float> STOFEvent::m_EnINCTOF |
potential incoming energies calculated from the incoming time of flight and offsets equivalent to the cyclotron rf. For the simulation this now store the target and scatter average z locations respectively
float STOFEvent::m_EnIncTOFEstimate |
best En estimation comparing IncTOF and outTOF
float STOFEvent::m_EnTarLight |
the incident neutron energy determined by inverting the light yield relation using the target light to get the proton energy and using the scattering angle
float STOFEvent::m_exitTOF |
exit time of flight (dt between target and scatter)in ns
std::bitset<16> STOFEvent::m_flagsInfo |
used to store information retained from the flags with a little headroom to add information as desired. In general if any of the bits are set some part of the event may be bad. Ie a call to m_flagsInfo.any(); would likely be a good cut. The current information set is m_flagsInfo[0] = One of the target PMT's has saturated the QDC m_flagsInfo[1] = One of the target PMT's has input saturation m_flagsInfo[2] = one of the target events had a pileup flag set m_flagsInfo[3] = the scatter PMT has saturated the QDC m_flagsInfo[4] = the scatter PMT has input saturation m_flagsInfo[5] = the scatter event had a pileup flag set
float STOFEvent::m_incTOF |
incoming time of flight (dt between target and RF) in ns
float STOFEvent::m_match |
matching between EnIncTOFEstimate and EnExitTOF
float STOFEvent::m_scatLight |
light observed in the scatter cell in MeVee
float STOFEvent::m_scatPSD |
scatter pulse shape
float STOFEvent::m_targDeltaT |
delta time between two target PMTs
float STOFEvent::m_targLight |
light observed in the target in MeVee
float STOFEvent::m_targPSD |
target pulse shape