/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Static Public Member Functions | Private Attributes
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 Thu Dec 5 18:07:49 2013

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.

                     : m_hit(),
                       m_adcHigh(),
                       m_adcLow(),
                       m_energy(),
                       m_tdc() {}
virtual DayaBay::ElecFeeChannel::~ElecFeeChannel ( ) [inline, virtual]

Default Destructor.

Definition at line 54 of file ElecFeeChannel.h.

{}

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.

{
  s << "{ " << "hit :   " << m_hit << std::endl
            << "adcHigh :       " << m_adcHigh << std::endl
            << "adcLow :        " << m_adcLow << std::endl
            << "energy :        " << m_energy << std::endl
            << "tdc :   " << m_tdc << std::endl << " }";
  return s;
}
const DayaBay::DigitalSignal & DayaBay::ElecFeeChannel::hit ( ) const [inline]

Retrieve const Discriminator signal.

Definition at line 172 of file ElecFeeChannel.h.

{
  return m_hit;
}
void DayaBay::ElecFeeChannel::setHit ( const DayaBay::DigitalSignal value) [inline]

Update Discriminator signal.

Definition at line 177 of file ElecFeeChannel.h.

{
  m_hit = value;
}
const DayaBay::DigitalSignal & DayaBay::ElecFeeChannel::adcHigh ( ) const [inline]

Retrieve const High-Gain ADC signal.

Definition at line 182 of file ElecFeeChannel.h.

{
  return m_adcHigh;
}
void DayaBay::ElecFeeChannel::setAdcHigh ( const DayaBay::DigitalSignal value) [inline]

Update High-Gain ADC signal.

Definition at line 187 of file ElecFeeChannel.h.

{
  m_adcHigh = value;
}
const DayaBay::DigitalSignal & DayaBay::ElecFeeChannel::adcLow ( ) const [inline]

Retrieve const Low-Gain ADC signal.

Definition at line 192 of file ElecFeeChannel.h.

{
  return m_adcLow;
}
void DayaBay::ElecFeeChannel::setAdcLow ( const DayaBay::DigitalSignal value) [inline]

Update Low-Gain ADC signal.

Definition at line 197 of file ElecFeeChannel.h.

{
  m_adcLow = value;
}
const DayaBay::AnalogSignal & DayaBay::ElecFeeChannel::energy ( ) const [inline]

Retrieve const Channel contribution to analog esum.

Definition at line 202 of file ElecFeeChannel.h.

{
  return m_energy;
}
DayaBay::AnalogSignal & DayaBay::ElecFeeChannel::energy ( ) [inline]

Retrieve Channel contribution to analog esum.

Definition at line 207 of file ElecFeeChannel.h.

{
  return m_energy;
}
void DayaBay::ElecFeeChannel::setEnergy ( const DayaBay::AnalogSignal value) [inline]

Update Channel contribution to analog esum.

Definition at line 212 of file ElecFeeChannel.h.

{
  m_energy = value;
}
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.

{
  return m_tdc;
}
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.

{
  m_tdc = value;
}
static void* DayaBay::ElecFeeChannel::operator new ( size_t  size) [inline, static]

operator new

Definition at line 106 of file ElecFeeChannel.h.

    {
      return ( sizeof(ElecFeeChannel) == size ? 
               boost::singleton_pool<ElecFeeChannel, sizeof(ElecFeeChannel)>::malloc() :
               ::operator new(size) );
    }
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.

    {
      return ::operator new (size,pObj);
    }
static void DayaBay::ElecFeeChannel::operator delete ( void *  p) [inline, static]

operator delete

Definition at line 122 of file ElecFeeChannel.h.

    {
      boost::singleton_pool<ElecFeeChannel, sizeof(ElecFeeChannel)>::is_from(p) ?
      boost::singleton_pool<ElecFeeChannel, sizeof(ElecFeeChannel)>::free(p) :
      ::operator delete(p);
    }
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.

    {
      ::operator delete (p, pObj);
    }

Member Data Documentation

Discriminator signal.

Definition at line 140 of file ElecFeeChannel.h.

High-Gain ADC signal.

Definition at line 141 of file ElecFeeChannel.h.

Low-Gain ADC signal.

Definition at line 142 of file ElecFeeChannel.h.

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 Fri May 16 2014 10:05:49 for ElecEvent by doxygen 1.7.4