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

#include <GenesisEventStructures.h>

Inheritance diagram for GenesisCalibratedEvent:
Inheritance graph
[legend]
Collaboration diagram for GenesisCalibratedEvent:
Collaboration graph
[legend]

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::CloverEventm_clovers
 
std::vector< NSDPhysicsEvents::GammaEventm_hpgeEvents
 
std::vector< NSDPhysicsEvents::GammaEventm_inorgScintEvents
 
std::vector< NSDPhysicsEvents::OrgScintEventm_orgScintEvents
 

Detailed Description

this class is intended to hold all potential calculated observables for an event from the GENESIS array after calibrations are appllied

Constructor & Destructor Documentation

◆ GenesisCalibratedEvent()

GenesisCalibratedEvent::GenesisCalibratedEvent ( )

default constructor puts the class into an empty but working state

Member Function Documentation

◆ addCloverEvent()

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!!!!!!!!!!!!

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

◆ addOrgScintEvent()

void GenesisCalibratedEvent::addOrgScintEvent ( const GenesisEvent a_hit,
const GenesisConfig a_conf 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ defineClass()

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!!!!!!!!!!!!!!

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

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