Berkeley Nuclear Data Software
Public Member Functions | Public Attributes | List of all members
STOFEvent Class Reference

#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
 

Detailed Description

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

Constructor & Destructor Documentation

◆ STOFEvent()

STOFEvent::STOFEvent ( )

default constructor sets all internal data members to identifiable values

Member Function Documentation

◆ clearEvent()

void STOFEvent::clearEvent ( )
Here is the caller graph for this function:

Member Data Documentation

◆ m_coinID

int STOFEvent::m_coinID

coincidence ID

◆ m_EnExitTOF

float STOFEvent::m_EnExitTOF

incident neutron energy determined from exit time of flight and scattering angle

◆ m_EnINCTOF

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

◆ m_EnIncTOFEstimate

float STOFEvent::m_EnIncTOFEstimate

best En estimation comparing IncTOF and outTOF

◆ m_EnTarLight

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

◆ m_exitTOF

float STOFEvent::m_exitTOF

exit time of flight (dt between target and scatter)in ns

◆ m_flagsInfo

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

◆ m_incTOF

float STOFEvent::m_incTOF

incoming time of flight (dt between target and RF) in ns

◆ m_match

float STOFEvent::m_match

matching between EnIncTOFEstimate and EnExitTOF

◆ m_scatLight

float STOFEvent::m_scatLight

light observed in the scatter cell in MeVee

◆ m_scatPSD

float STOFEvent::m_scatPSD

scatter pulse shape

◆ m_targDeltaT

float STOFEvent::m_targDeltaT

delta time between two target PMTs

◆ m_targLight

float STOFEvent::m_targLight

light observed in the target in MeVee

◆ m_targPSD

float STOFEvent::m_targPSD

target pulse shape


The documentation for this class was generated from the following files: