| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

DayaBay::ElecFeeChannel Class Reference

The signals vs time on a single channel of the PMT Front-End Electronics. More...

#include <ElecFeeChannel.h>

List of all members.


Public Member Functions

 ElecFeeChannel ()
 Default Constructor.
virtual ~ElecFeeChannel ()
 Default Destructor.
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.
const DayaBay::DigitalSignalhit () const
 Retrieve const Discriminator signal.
void setHit (const DayaBay::DigitalSignal &value)
 Update Discriminator signal.
const DayaBay::DigitalSignaladcHigh () const
 Retrieve const High-Gain ADC signal.
void setAdcHigh (const DayaBay::DigitalSignal &value)
 Update High-Gain ADC signal.
const DayaBay::DigitalSignaladcLow () const
 Retrieve const Low-Gain ADC signal.
void setAdcLow (const DayaBay::DigitalSignal &value)
 Update Low-Gain ADC signal.
const DayaBay::AnalogSignalenergy () const
 Retrieve const Channel contribution to analog esum.
DayaBay::AnalogSignalenergy ()
 Retrieve Channel contribution to analog esum.
void setEnergy (const DayaBay::AnalogSignal &value)
 Update Channel contribution to analog esum.
const std::vector< int > & tdc () const
 Retrieve const Vector of TDC values [in clock cycles].
void setTdc (const std::vector< int > &value)
 Update Vector of TDC values [in clock cycles].

Static Public Member Functions

static void * operator new (size_t size)
 operator new
static void * operator new (size_t size, void *pObj)
 placement operator new it is needed by libstdc++ 3.2.3 (e.g.
static void operator delete (void *p)
 operator delete
static void operator delete (void *p, void *pObj)
 placement operator delete not sure if really needed, but it does not harm

Private Attributes

DayaBay::DigitalSignal m_hit
 Discriminator signal.
DayaBay::DigitalSignal m_adcHigh
 High-Gain ADC signal.
DayaBay::DigitalSignal m_adcLow
 Low-Gain ADC signal.
DayaBay::AnalogSignal m_energy
 Channel contribution to analog esum.
std::vector< int > m_tdc
 Vector of TDC values [in clock cycles].

Detailed Description

The signals vs time on a single channel of the PMT Front-End Electronics.

Author:
Dan Dwyer (GOD Migration by patton) created Mon Apr 11 04:03:01 2011

Definition at line 42 of file ElecFeeChannel.h.


Constructor & Destructor Documentation

DayaBay::ElecFeeChannel::ElecFeeChannel (  )  [inline]

Default Constructor.

Definition at line 47 of file ElecFeeChannel.h.

00047                      : m_hit(),
00048                        m_adcHigh(),
00049                        m_adcLow(),
00050                        m_energy(),
00051                        m_tdc() {}

virtual DayaBay::ElecFeeChannel::~ElecFeeChannel (  )  [inline, virtual]

Default Destructor.

Definition at line 54 of file ElecFeeChannel.h.

00054 {}


Member Function Documentation

std::ostream & DayaBay::ElecFeeChannel::fillStream ( std::ostream &  s  )  const [inline, virtual]

Fill the ASCII output stream.

Definition at line 161 of file ElecFeeChannel.h.

00162 {
00163   s << "{ " << "hit :   " << m_hit << std::endl
00164             << "adcHigh :       " << m_adcHigh << std::endl
00165             << "adcLow :        " << m_adcLow << std::endl
00166             << "energy :        " << m_energy << std::endl
00167             << "tdc :   " << m_tdc << std::endl << " }";
00168   return s;
00169 }

const DayaBay::DigitalSignal & DayaBay::ElecFeeChannel::hit (  )  const [inline]

Retrieve const Discriminator signal.

Definition at line 172 of file ElecFeeChannel.h.

00173 {
00174   return m_hit;
00175 }

void DayaBay::ElecFeeChannel::setHit ( const DayaBay::DigitalSignal value  )  [inline]

Update Discriminator signal.

Definition at line 177 of file ElecFeeChannel.h.

00178 {
00179   m_hit = value;
00180 }

const DayaBay::DigitalSignal & DayaBay::ElecFeeChannel::adcHigh (  )  const [inline]

Retrieve const High-Gain ADC signal.

Definition at line 182 of file ElecFeeChannel.h.

00183 {
00184   return m_adcHigh;
00185 }

void DayaBay::ElecFeeChannel::setAdcHigh ( const DayaBay::DigitalSignal value  )  [inline]

Update High-Gain ADC signal.

Definition at line 187 of file ElecFeeChannel.h.

00188 {
00189   m_adcHigh = value;
00190 }

const DayaBay::DigitalSignal & DayaBay::ElecFeeChannel::adcLow (  )  const [inline]

Retrieve const Low-Gain ADC signal.

Definition at line 192 of file ElecFeeChannel.h.

00193 {
00194   return m_adcLow;
00195 }

void DayaBay::ElecFeeChannel::setAdcLow ( const DayaBay::DigitalSignal value  )  [inline]

Update Low-Gain ADC signal.

Definition at line 197 of file ElecFeeChannel.h.

00198 {
00199   m_adcLow = value;
00200 }

const DayaBay::AnalogSignal & DayaBay::ElecFeeChannel::energy (  )  const [inline]

Retrieve const Channel contribution to analog esum.

Definition at line 202 of file ElecFeeChannel.h.

00203 {
00204   return m_energy;
00205 }

DayaBay::AnalogSignal & DayaBay::ElecFeeChannel::energy (  )  [inline]

Retrieve Channel contribution to analog esum.

Definition at line 207 of file ElecFeeChannel.h.

00208 {
00209   return m_energy;
00210 }

void DayaBay::ElecFeeChannel::setEnergy ( const DayaBay::AnalogSignal value  )  [inline]

Update Channel contribution to analog esum.

Definition at line 212 of file ElecFeeChannel.h.

00213 {
00214   m_energy = value;
00215 }

const std::vector< int > & DayaBay::ElecFeeChannel::tdc (  )  const [inline]

Retrieve const Vector of TDC values [in clock cycles].

Definition at line 217 of file ElecFeeChannel.h.

00218 {
00219   return m_tdc;
00220 }

void DayaBay::ElecFeeChannel::setTdc ( const std::vector< int > &  value  )  [inline]

Update Vector of TDC values [in clock cycles].

Definition at line 222 of file ElecFeeChannel.h.

00223 {
00224   m_tdc = value;
00225 }

static void* DayaBay::ElecFeeChannel::operator new ( size_t  size  )  [inline, static]

operator new

Definition at line 106 of file ElecFeeChannel.h.

00107     {
00108       return ( sizeof(ElecFeeChannel) == size ? 
00109                boost::singleton_pool<ElecFeeChannel, sizeof(ElecFeeChannel)>::malloc() :
00110                ::operator new(size) );
00111     }

static void* DayaBay::ElecFeeChannel::operator new ( size_t  size,
void *  pObj 
) [inline, static]

placement operator new it is needed by libstdc++ 3.2.3 (e.g.

in std::vector) it is not needed in libstdc++ >= 3.4

Definition at line 116 of file ElecFeeChannel.h.

00117     {
00118       return ::operator new (size,pObj);
00119     }

static void DayaBay::ElecFeeChannel::operator delete ( void *  p  )  [inline, static]

operator delete

Definition at line 122 of file ElecFeeChannel.h.

00123     {
00124       boost::singleton_pool<ElecFeeChannel, sizeof(ElecFeeChannel)>::is_from(p) ?
00125       boost::singleton_pool<ElecFeeChannel, sizeof(ElecFeeChannel)>::free(p) :
00126       ::operator delete(p);
00127     }

static void DayaBay::ElecFeeChannel::operator delete ( void *  p,
void *  pObj 
) [inline, static]

placement operator delete not sure if really needed, but it does not harm

Definition at line 131 of file ElecFeeChannel.h.

00132     {
00133       ::operator delete (p, pObj);
00134     }


Member Data Documentation

DayaBay::DigitalSignal DayaBay::ElecFeeChannel::m_hit [private]

Discriminator signal.

Definition at line 140 of file ElecFeeChannel.h.

DayaBay::DigitalSignal DayaBay::ElecFeeChannel::m_adcHigh [private]

High-Gain ADC signal.

Definition at line 141 of file ElecFeeChannel.h.

DayaBay::DigitalSignal DayaBay::ElecFeeChannel::m_adcLow [private]

Low-Gain ADC signal.

Definition at line 142 of file ElecFeeChannel.h.

DayaBay::AnalogSignal DayaBay::ElecFeeChannel::m_energy [private]

Channel contribution to analog esum.

Definition at line 143 of file ElecFeeChannel.h.

std::vector<int> DayaBay::ElecFeeChannel::m_tdc [private]

Vector of TDC values [in clock cycles].

Definition at line 144 of file ElecFeeChannel.h.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:32:33 2011 for ElecEvent by doxygen 1.4.7