Berkeley Nuclear Data Software
Static Public Member Functions | List of all members
DETHelperFunctions Class Reference

#include <DetectorDataStructures.h>

Static Public Member Functions

static std::vector< double > getDeltaT (const MDPPCloverEvent &a_clovEvent, const MDPPScintEvent &a_scintEvent, int a_leafNumber)
 
static double getDeltaT (const MDPPHPGeEvent &a_hpgeEvent, const MDPPScintEvent &a_scintEvent)
 
static double getDeltaT (const MDPPInorgScintEvent &a_inorgEvent, const MDPPScintEvent &a_scintEvent)
 
static double getDeltaT (const MDPPScintEvent &a_scintEvent1, const MDPPScintEvent &a_scintEvent2)
 
static double getNTOF (const MDPPCloverEvent &a_clovEvent, const MDPPScintEvent &a_scintEvent, const CloverInfo &a_clovInfo, const OrgScintInfo &a_scintInfo)
 
static std::vector< double > getRFDeltaT (const MDPPCloverEvent &a_clovEvent, const std::vector< uint16_t > &, const CloverInfo &a_clovInfo)
 

Detailed Description

this class is intended to hold common functions used to calclute quantities of interest between detector data structures

Member Function Documentation

◆ getDeltaT() [1/4]

std::vector< double > DETHelperFunctions::getDeltaT ( const MDPPCloverEvent a_clovEvent,
const MDPPScintEvent a_scintEvent,
int  a_leafNumber 
)
static

this function calculates the uncalibrated time difference between a clover and an organic scintillator assuming they are being managed by independent boards and that the trig time array is the intended synchronzation signal deltaT = scint - clover (leaf)

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getDeltaT() [2/4]

double DETHelperFunctions::getDeltaT ( const MDPPHPGeEvent a_hpgeEvent,
const MDPPScintEvent a_scintEvent 
)
static

same as above for HPGe/OrgScint deltaT = scint - HPGe

Here is the call graph for this function:

◆ getDeltaT() [3/4]

double DETHelperFunctions::getDeltaT ( const MDPPInorgScintEvent a_inorgEvent,
const MDPPScintEvent a_scintEvent 
)
static

InorgScint/OrgScint deltaT = scint - inOrgScint

Here is the call graph for this function:

◆ getDeltaT() [4/4]

double DETHelperFunctions::getDeltaT ( const MDPPScintEvent a_scintEvent1,
const MDPPScintEvent a_scintEvent2 
)
static

OrgScint/OrgScint deltaT = scint2 - scint1

Here is the call graph for this function:

◆ getNTOF()

double DETHelperFunctions::getNTOF ( const MDPPCloverEvent a_clovEvent,
const MDPPScintEvent a_scintEvent,
const CloverInfo a_clovInfo,
const OrgScintInfo a_scintInfo 
)
static

this function calculates the calibrated neutron time of flight between a clover and an organic scintillator relying on the getDeltaT function

◆ getRFDeltaT()

std::vector< double > DETHelperFunctions::getRFDeltaT ( const MDPPCloverEvent a_clovEvent,
const std::vector< uint16_t > &  ,
const CloverInfo a_clovInfo 
)
static

this function calculates the calibrated neutron time of flight between a clover and an organic scintillator relying on the getDeltaT function !!!!!!!!!!! this isn't working, this requires an abstraction of the experiment parameters from GenesisConfig to the base classes for it to make sense

this function calculates the calibrated neutron time of flight between a clover and an organic scintillator relying on the getDeltaT function


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