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

#include <DetectorDataStructures.h>

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

Public Member Functions

 MDPPDetBase ()
 
virtual void defineClass (MDPP16Event &a_ev, int a_detID, unsigned int a_ADC, unsigned int a_TDC, int a_trigInd=0, int a_rfInd=1)
 
virtual void defineClass (MDPP16Event &a_ev, int a_detID, unsigned int a_ADC, unsigned int a_TDC, vector< uint16_t > &a_trigArray, int a_trigInd=0)
 
uint16_t getADC () const
 
uint16_t getTDC () const
 
uint32_t getendEventWord () const
 
uint16_t getextTime () const
 
uint8_t getdetNumber () const
 
uint8_t getmodID () const
 
uint16_t getRF () const
 
vector< uint16_t > gettdcTriggers () const
 
void setADC (uint16_t a_ADC)
 
void setTDC (uint16_t a_TDC)
 
void setendEventWord (uint32_t a_endEventWord)
 
void setextTime (uint16_t a_extTime)
 
void setdetNumber (uint8_t a_detNumber)
 
void setmodID (uint8_t a_modID)
 
void settdcTrigger (vector< uint16_t > a_tdcTrigger)
 
double getGlobalTriggerTime ()
 
double getGlobalHitTime ()
 
std::ostream & print (std::ostream &a_stream)
 prints info about the internal state of the class More...
 

Public Attributes

uint16_t m_ADC
 
uint16_t m_TDC
 
uint32_t m_endEventWord
 
uint16_t m_extTime
 
uint16_t m_detNumber
 
uint8_t m_modID
 
uint16_t m_nearestRF
 
vector< uint16_t > m_tdcTrigger
 

Constructor & Destructor Documentation

◆ MDPPDetBase()

MDPPDetBase::MDPPDetBase ( )

Member Function Documentation

◆ defineClass() [1/2]

void MDPPDetBase::defineClass ( MDPP16Event a_ev,
int  a_detID,
unsigned int  a_ADC,
unsigned int  a_TDC,
int  a_trigInd = 0,
int  a_rfInd = 1 
)
virtual

constructs the class using a MDPP16Event if multiple hits exist only the first is used

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

◆ defineClass() [2/2]

void MDPPDetBase::defineClass ( MDPP16Event a_ev,
int  a_detID,
unsigned int  a_ADC,
unsigned int  a_TDC,
vector< uint16_t > &  a_trigArray,
int  a_trigInd = 0 
)
virtual

constructs the class using a MDPP16Event if multiple hits exist only the first is used

Here is the call graph for this function:

◆ getADC()

uint16_t MDPPDetBase::getADC ( ) const
Here is the caller graph for this function:

◆ getdetNumber()

uint8_t MDPPDetBase::getdetNumber ( ) const
Here is the caller graph for this function:

◆ getendEventWord()

uint32_t MDPPDetBase::getendEventWord ( ) const

◆ getextTime()

uint16_t MDPPDetBase::getextTime ( ) const

◆ getGlobalHitTime()

double MDPPDetBase::getGlobalHitTime ( )
Here is the caller graph for this function:

◆ getGlobalTriggerTime()

double MDPPDetBase::getGlobalTriggerTime ( )

◆ getmodID()

uint8_t MDPPDetBase::getmodID ( ) const

◆ getRF()

uint16_t MDPPDetBase::getRF ( ) const
Here is the caller graph for this function:

◆ getTDC()

uint16_t MDPPDetBase::getTDC ( ) const
Here is the caller graph for this function:

◆ gettdcTriggers()

vector< uint16_t > MDPPDetBase::gettdcTriggers ( ) const
Here is the caller graph for this function:

◆ print()

std::ostream & MDPPDetBase::print ( std::ostream &  a_stream)

prints info about the internal state of the class

◆ setADC()

void MDPPDetBase::setADC ( uint16_t  a_ADC)

◆ setdetNumber()

void MDPPDetBase::setdetNumber ( uint8_t  a_detNumber)

◆ setendEventWord()

void MDPPDetBase::setendEventWord ( uint32_t  a_endEventWord)

◆ setextTime()

void MDPPDetBase::setextTime ( uint16_t  a_extTime)

◆ setmodID()

void MDPPDetBase::setmodID ( uint8_t  a_modID)

◆ setTDC()

void MDPPDetBase::setTDC ( uint16_t  a_TDC)

◆ settdcTrigger()

void MDPPDetBase::settdcTrigger ( vector< uint16_t >  a_tdcTrigger)

Member Data Documentation

◆ m_ADC

uint16_t MDPPDetBase::m_ADC

◆ m_detNumber

uint16_t MDPPDetBase::m_detNumber

◆ m_endEventWord

uint32_t MDPPDetBase::m_endEventWord

◆ m_extTime

uint16_t MDPPDetBase::m_extTime

◆ m_modID

uint8_t MDPPDetBase::m_modID

◆ m_nearestRF

uint16_t MDPPDetBase::m_nearestRF

◆ m_TDC

uint16_t MDPPDetBase::m_TDC

◆ m_tdcTrigger

vector<uint16_t> MDPPDetBase::m_tdcTrigger

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