|
Berkeley Nuclear Data Software
|
main Genesis Event Class More...
#include <GenesisEventStructures.h>
Public Member Functions | |
| GenesisEvent () | |
| void | addMDPPCloverEvent (unsigned int a_ADC, unsigned int a_TDC, unsigned int a_chNum, unsigned int a_endWord, unsigned int a_extTimeStamp, int a_cloverID, bool a_isBGO) |
| add leaf/BGO hit to clover event More... | |
| void | addMDPPScintEvent (unsigned int a_total, unsigned int a_TDC, unsigned int a_peak, unsigned int a_chNum, unsigned int a_endWord, unsigned int a_extTimeStamp, int a_modID, vector< uint16_t > a_triggers) |
| add scintillator hit m_scintEvents More... | |
| void | addMDPP16Evs (MDPP16Event *a_start, int a_num, ExperimentConfig &a_config, time_t fileStartSinceEpoch, bool a_saveBGOSingles=false, int a_rfTrigIDs=1) |
| void | addMDPPCloverEvent (MDPPCloverEvent *a_cloverEvent) |
| void | addMDPPScintEvent (MDPPScintEvent *a_scintEvent) |
| void | addMDPPCloverEvent (MDPPCloverEvent &a_cloverEvent) |
| void | addMDPPScintEvent (MDPPScintEvent &a_scintEvent) |
| void | addMDPPHPGeEvent (MDPPHPGeEvent &a_event) |
| void | addMDPPInorgScintEvent (MDPPInorgScintEvent &a_event) |
| void | addBGOData (MDPPCloverEvent *a_cloverEvent, int a_cloverID) |
| void | addBGOData (MDPPCloverEvent &a_cloverEvent, int a_cloverID) |
| void | addRFTimes (int a_moduleID, vector< uint16_t > &a_RFTimes) |
| bool | setCoarseTime (unsigned int a_endWord, unsigned int a_extTimeStamp) |
| void | setWallClockTime (uint32_t a_t) |
| MDPPCloverEvent | getCloverEvent (int a_cloverID) const |
| getter for a clover event from a_cloverID More... | |
| map< int, MDPPCloverEvent > | getCloverEvents () const |
| getter for All clover events More... | |
| vector< MDPPScintEvent > | getScintEvent () const |
| getter for all scintillator events More... | |
| MDPPHPGeEvent | getHPGeEvent (int a_detID) const |
| getter for HPGe event using detector ID More... | |
| MDPPInorgScintEvent | getInorgScintEvent (int a_detID) const |
| getter for InorgScint event using detector ID More... | |
| unsigned int | getCoarseTime () const |
| double | getMinTime () const |
| returns minimum global time in event - should be the triggering events More... | |
| vector< int > | getMinTimeChannel () const |
| returns channel that had the minimum time More... | |
| int | getNHits () const |
| returns the total number of individual detectos that fired More... | |
| std::vector< DetType > | getDetTypes () const |
| std::map< DetType, int > | getDetsMultiplicity () const |
| vector< unsigned int > | getLeafChannelList () const |
| vector< unsigned int > | getScintChannelList () const |
| vector< int > | getInorgScintIDList () const |
| bool | hasBGO (int modID) const |
| IS THIS REALLY A MOD ID? More... | |
| vector< int > | getCloverIDList () const |
| vector< int > | getCloverIDListLeaf () const |
| what does this actually do?!!!!!!!!!!!! More... | |
| vector< int > | getHPGeIDList () const |
| uint32_t | getWallClockTime () const |
| void | reduceStoredRFs (int a_moduleID, bool a_isClover=0) |
| void | sortEvents () |
| TDC-sorts scintillator, and clover (leaf/BGO independtly) More... | |
| bool | isCoin () |
| simple check for presence of scintillator + leaf signals More... | |
| void | reset () |
| resets m_cloverEvents and m_scintEvents More... | |
| bool | isEmpty () |
| checks if any of the detector data structures have been populated More... | |
| std::ostream & | print (std::ostream &a_stream=std::cout) |
| print out the Genesis Event More... | |
main Genesis Event Class
| GenesisEvent::GenesisEvent | ( | ) |
| void GenesisEvent::addBGOData | ( | MDPPCloverEvent & | a_cloverEvent, |
| int | a_cloverID | ||
| ) |
| void GenesisEvent::addBGOData | ( | MDPPCloverEvent * | a_cloverEvent, |
| int | a_cloverID | ||
| ) |
| void GenesisEvent::addMDPP16Evs | ( | MDPP16Event * | a_start, |
| int | a_num, | ||
| ExperimentConfig & | a_config, | ||
| time_t | fileStartSinceEpoch, | ||
| bool | a_saveBGOSingles = false, |
||
| int | a_rfTrigIDs = 1 |
||
| ) |
this function loops over a_num MDPP16Events and adds the to the internal array referencing the specified config
!!!!!!!!HARD CODED TRIG NUMBER!!!!!


| void GenesisEvent::addMDPPCloverEvent | ( | MDPPCloverEvent & | a_cloverEvent | ) |
| void GenesisEvent::addMDPPCloverEvent | ( | MDPPCloverEvent * | a_cloverEvent | ) |
| void GenesisEvent::addMDPPCloverEvent | ( | unsigned int | a_ADC, |
| unsigned int | a_TDC, | ||
| unsigned int | a_chNum, | ||
| unsigned int | a_endWord, | ||
| unsigned int | a_extTimeStamp, | ||
| int | a_cloverID, | ||
| bool | a_isBGO | ||
| ) |
add leaf/BGO hit to clover event

| void GenesisEvent::addMDPPHPGeEvent | ( | MDPPHPGeEvent & | a_event | ) |

| void GenesisEvent::addMDPPInorgScintEvent | ( | MDPPInorgScintEvent & | a_event | ) |

| void GenesisEvent::addMDPPScintEvent | ( | MDPPScintEvent & | a_scintEvent | ) |
| void GenesisEvent::addMDPPScintEvent | ( | MDPPScintEvent * | a_scintEvent | ) |
| void GenesisEvent::addMDPPScintEvent | ( | unsigned int | a_total, |
| unsigned int | a_TDC, | ||
| unsigned int | a_peak, | ||
| unsigned int | a_chNum, | ||
| unsigned int | a_endWord, | ||
| unsigned int | a_extTimeStamp, | ||
| int | a_modID, | ||
| vector< uint16_t > | a_triggers | ||
| ) |
add scintillator hit m_scintEvents
compute global time

| void GenesisEvent::addRFTimes | ( | int | a_moduleID, |
| vector< uint16_t > & | a_RFTimes | ||
| ) |

| MDPPCloverEvent GenesisEvent::getCloverEvent | ( | int | a_cloverID | ) | const |
getter for a clover event from a_cloverID

| map< int, MDPPCloverEvent > GenesisEvent::getCloverEvents | ( | ) | const |
getter for All clover events
| vector< int > GenesisEvent::getCloverIDList | ( | ) | const |

| vector< int > GenesisEvent::getCloverIDListLeaf | ( | ) | const |
what does this actually do?!!!!!!!!!!!!
| unsigned int GenesisEvent::getCoarseTime | ( | ) | const |
returns "coarse time" / "end of event word" returns in units of ticks - multiply by 62.5e-9 to get seconds
| std::map< DetType, int > GenesisEvent::getDetsMultiplicity | ( | ) | const |
returns the types of detectors participating in the event counting multiplicity
returns the types of detectors participating in the event counting multiplicity this will include zeros for detectors not participating

| std::vector< DetType > GenesisEvent::getDetTypes | ( | ) | const |
returns the types of detectors participating in the event as a unique set not counting multiplicity

| MDPPHPGeEvent GenesisEvent::getHPGeEvent | ( | int | a_detID | ) | const |
getter for HPGe event using detector ID

| vector< int > GenesisEvent::getHPGeIDList | ( | ) | const |

| MDPPInorgScintEvent GenesisEvent::getInorgScintEvent | ( | int | a_detID | ) | const |
getter for InorgScint event using detector ID

| vector< int > GenesisEvent::getInorgScintIDList | ( | ) | const |

| vector< unsigned int > GenesisEvent::getLeafChannelList | ( | ) | const |
| double GenesisEvent::getMinTime | ( | ) | const |
returns minimum global time in event - should be the triggering events
| vector< int > GenesisEvent::getMinTimeChannel | ( | ) | const |
returns channel that had the minimum time
| int GenesisEvent::getNHits | ( | ) | const |
returns the total number of individual detectos that fired

| vector< unsigned int > GenesisEvent::getScintChannelList | ( | ) | const |

| vector< MDPPScintEvent > GenesisEvent::getScintEvent | ( | ) | const |
getter for all scintillator events

| uint32_t GenesisEvent::getWallClockTime | ( | ) | const |

| bool GenesisEvent::hasBGO | ( | int | modID | ) | const |
IS THIS REALLY A MOD ID?
| bool GenesisEvent::isCoin | ( | ) |
simple check for presence of scintillator + leaf signals
is there scintillator event
checking if there is a clover event w/. a signal from a leaf
| bool GenesisEvent::isEmpty | ( | ) |
checks if any of the detector data structures have been populated

| std::ostream & GenesisEvent::print | ( | std::ostream & | a_stream = std::cout | ) |
print out the Genesis Event

| void GenesisEvent::reduceStoredRFs | ( | int | a_moduleID, |
| bool | a_isClover = 0 |
||
| ) |
replaces original vector of RFs stored in m_RFTimes to 3 before and 2 after first hit in each module set a_isClover=TRUE if trying to reduced number of RFs from clover module

| void GenesisEvent::reset | ( | ) |
resets m_cloverEvents and m_scintEvents

| bool GenesisEvent::setCoarseTime | ( | unsigned int | a_endWord, |
| unsigned int | a_extTimeStamp | ||
| ) |
sets the "coarse time" / "end of event word" return false if the argument does not match m_coarseTime (such that m_coarseTime as already been set) - only want event w/. same TDC start point in a single "GenesisEvent"
| void GenesisEvent::setWallClockTime | ( | uint32_t | a_t | ) |

| void GenesisEvent::sortEvents | ( | ) |
TDC-sorts scintillator, and clover (leaf/BGO independtly)
