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

#include <COMPASSFileManagement.h>

Public Member Functions

bool isClipped ()
 
std::ostream & print (std::ostream &a_stream=std::cout)
 
bool memOvrflw ()
 
bool QDCTrapSat ()
 
bool inputSat ()
 
bool pileUp ()
 this function tests the 15th bit of flags which corresponds to pileup More...
 
bool isClipped ()
 

Public Attributes

UShort_t m_channel
 
ULong64_t m_timestamp
 
UShort_t m_board
 
UShort_t m_energy
 
UShort_t m_energyShort
 
UInt_t m_flags
 
TArrayS m_samples
 

Detailed Description

this class is used to hold data products from the compass acquisiton software from CAEN

Member Function Documentation

◆ inputSat()

bool compassEvStrct::inputSat ( )

this function tests the 10th bit of flags which corresponds to ADC saturation

◆ isClipped() [1/2]

bool compassEvStrct::isClipped ( )

this function checks the samples of the store waveform to test if if adc saturation is occuring

Here is the caller graph for this function:

◆ isClipped() [2/2]

bool compassEvStrct::isClipped ( )

◆ memOvrflw()

bool compassEvStrct::memOvrflw ( )

this function tests the 3rd bit of flags which corresponds to memory overflow

◆ pileUp()

bool compassEvStrct::pileUp ( )

this function tests the 15th bit of flags which corresponds to pileup

◆ print()

std::ostream & compassEvStrct::print ( std::ostream &  a_stream = std::cout)
Here is the caller graph for this function:

◆ QDCTrapSat()

bool compassEvStrct::QDCTrapSat ( )

this function interprets bit the 7th bit of the flags int which corresponds to the QDC saturating for DPP-PSD firmware or the trap filter saturating in the case of the DPP-PHA firmware

Member Data Documentation

◆ m_board

UShort_t compassEvStrct::m_board

◆ m_channel

UShort_t compassEvStrct::m_channel

◆ m_energy

UShort_t compassEvStrct::m_energy

◆ m_energyShort

UShort_t compassEvStrct::m_energyShort

◆ m_flags

UInt_t compassEvStrct::m_flags

◆ m_samples

TArrayS compassEvStrct::m_samples

◆ m_timestamp

ULong64_t compassEvStrct::m_timestamp

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