Berkeley Nuclear Data Software
|
#include <GenesisEventStructures.h>
Public Member Functions | |
GenesisCalibratedEvent () | |
default constructor puts the class into an empty but working state More... | |
void | defineClass (const GenesisEvent *a_ev, const GenesisConfig &a_conf, int a_detOption=0) |
void | addCloverEvent (int a_clovID, const GenesisEvent *a_ev, const GenesisConfig &a_conf) |
void | addOrgScintEvent (const GenesisEvent *a_hit, const GenesisConfig &a_conf) |
Public Member Functions inherited from NSDPhysicsEvents::CalibratedCoinEvent | |
CalibratedCoinEvent () | |
default constructor puts the class into an empty but working state More... | |
void | addCloverEvent (const NSDPhysicsEvents::CloverEvent a_hit) |
void | addHPGEEvent (const NSDPhysicsEvents::GammaEvent a_hit) |
void | addInorgScintEvent (const NSDPhysicsEvents::GammaEvent a_hit) |
void | addOrgScintEvent (const NSDPhysicsEvents::OrgScintEvent a_hit) |
double | getCloverEgamma () |
double | getCloverEgamma (int a_cloverID) |
double | getInorgEgamma () |
std::vector< int > | getCloverID () |
std::vector< int > | getOrgScintID () |
std::vector< float > | getEnNTOFs () |
std::vector< float > | getEnNTOFs (int a_clID) |
std::vector< float > | getEnNTOFsOrgScint () |
bool | hasNeutron () |
returns true if orgScint has shapeMetric>0 (default false) More... | |
bool | hasNeutron (double a_threshold) |
same but for a given pulse height threshold More... | |
bool | hasClover () |
bool | hasInorgScint () |
double | getOrgScintLight () |
double | getOrgScintLight (int a_detID) |
returns light for given orgScint More... | |
double | getNeutronEnTOF () |
return neutron scatter TOF More... | |
double | getNeutronEnTOF (int a_detID) |
double | getOrgScintAngle () |
returns polar angle of org scint [radians] More... | |
bool | populated () |
returns true if there is more than one event More... | |
std::map< int, float > | getOrgScintShapeMetrics () |
void | clearEvent () |
resets the event to an empty state without giving up any memory More... | |
Additional Inherited Members | |
Protected Attributes inherited from NSDPhysicsEvents::CalibratedCoinEvent | |
std::vector< NSDPhysicsEvents::CloverEvent > | m_clovers |
std::vector< NSDPhysicsEvents::GammaEvent > | m_hpgeEvents |
std::vector< NSDPhysicsEvents::GammaEvent > | m_inorgScintEvents |
std::vector< NSDPhysicsEvents::OrgScintEvent > | m_orgScintEvents |
this class is intended to hold all potential calculated observables for an event from the GENESIS array after calibrations are appllied
GenesisCalibratedEvent::GenesisCalibratedEvent | ( | ) |
default constructor puts the class into an empty but working state
void GenesisCalibratedEvent::addCloverEvent | ( | int | a_clovID, |
const GenesisEvent * | a_ev, | ||
const GenesisConfig & | a_conf | ||
) |
!!!!!!!!!!!!!!!!!THIS NEEDS TO BE UPDATED!!!!!!!!!!!!!!!!!
assume the clovers define the axis? !!!!!!!!!!!!Fix THIS!!!!!!!!!!!!
void GenesisCalibratedEvent::addOrgScintEvent | ( | const GenesisEvent * | a_hit, |
const GenesisConfig & | a_conf | ||
) |
void GenesisCalibratedEvent::defineClass | ( | const GenesisEvent * | a_ev, |
const GenesisConfig & | a_conf, | ||
int | a_detOption = 0 |
||
) |
this function takes an uncalibrated GenesisEvent, clears the state of the the class and reconstructs it with the information from the supplied event
handle doubles
!!!!!!!!!!!!!!!!!!THIS SHOULD BE IN EXPERIMENT PARAMS!!!!!!!!!!!!!
ASSUMES PSD IS LOWER BOUND CUT!!!
data about the inorg scint event
!!!!!!!!!!!!!!!THIS NEEDS TO BE UPDATED!!!!!!!!!!!!!!
add the inorg scint data
calculate outgoing neutron energy from TOF
ASSUMES PSD IS LOWER BOUND CUT!!!
looking for gamma/neutron in two scintillators
looking for which event is gamma, which is neutron
add RF times for gamma detector
calculate time-since-last-RF + outgoin TOF
!!!!!!!!!!!!!!!THIS NEEDS TO BE UPDATED!!!!!!!!!!!!!!