/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::RawPmtChannel Class Reference

Readout PMT channel. More...

#include <RawPmtChannel.h>

List of all members.

Public Member Functions

 RawPmtChannel ()
 Default Constructor.
virtual ~RawPmtChannel ()
 Default Destructor.
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.
int channel () const
 Retrieve const.
void setChannel (int value)
 Update.
const std::vector< int > & adc () const
 Retrieve const ADC.
void setAdc (const std::vector< int > &value)
 Update ADC.
const std::vector< int > & adcPeakingCycle () const
 Retrieve const ADC Peaking Cycle.
void setAdcPeakingCycle (const std::vector< int > &value)
 Update ADC Peaking Cycle.
const std::vector< int > & adcRange () const
 Retrieve const ADC Range.
void setAdcRange (const std::vector< int > &value)
 Update ADC Range.
const std::vector< int > & tdc () const
 Retrieve const TDC.
void setTdc (const std::vector< int > &value)
 Update TDC.
const std::vector< int > & tdcHitCount () const
 Retrieve const TDC Hit Count.
void setTdcHitCount (const std::vector< int > &value)
 Update TDC Hit Count.
const std::vector< int > & pedestal () const
 Retrieve const pedestal.
void setPedestal (const std::vector< int > &value)
 Update pedestal.

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

int m_channel
std::vector< int > m_adc
 ADC.
std::vector< int > m_adcPeakingCycle
 ADC Peaking Cycle.
std::vector< int > m_adcRange
 ADC Range.
std::vector< int > m_tdc
 TDC.
std::vector< int > m_tdcHitCount
 TDC Hit Count.
std::vector< int > m_pedestal
 pedestal

Detailed Description

Readout PMT channel.

Author:
He Miao created Thu Dec 5 17:42:33 2013

Definition at line 41 of file RawPmtChannel.h.


Constructor & Destructor Documentation

DayaBay::RawPmtChannel::RawPmtChannel ( ) [inline]

Default Constructor.

Definition at line 46 of file RawPmtChannel.h.

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

Default Destructor.

Definition at line 55 of file RawPmtChannel.h.

{}

Member Function Documentation

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

Fill the ASCII output stream.

Definition at line 176 of file RawPmtChannel.h.

{
  s << "{ " << "channel :       " << m_channel << std::endl
            << "adc :   " << m_adc << std::endl
            << "adcPeakingCycle :       " << m_adcPeakingCycle << std::endl
            << "adcRange :      " << m_adcRange << std::endl
            << "tdc :   " << m_tdc << std::endl
            << "tdcHitCount :   " << m_tdcHitCount << std::endl
            << "pedestal :      " << m_pedestal << std::endl << " }";
  return s;
}
int DayaBay::RawPmtChannel::channel ( ) const [inline]

Retrieve const.

-1: no value

Definition at line 189 of file RawPmtChannel.h.

{
  return m_channel;
}
void DayaBay::RawPmtChannel::setChannel ( int  value) [inline]

Update.

-1: no value

Definition at line 194 of file RawPmtChannel.h.

{
  m_channel = value;
}
const std::vector< int > & DayaBay::RawPmtChannel::adc ( ) const [inline]

Retrieve const ADC.

Definition at line 199 of file RawPmtChannel.h.

{
  return m_adc;
}
void DayaBay::RawPmtChannel::setAdc ( const std::vector< int > &  value) [inline]

Update ADC.

Definition at line 204 of file RawPmtChannel.h.

{
  m_adc = value;
}
const std::vector< int > & DayaBay::RawPmtChannel::adcPeakingCycle ( ) const [inline]

Retrieve const ADC Peaking Cycle.

Definition at line 209 of file RawPmtChannel.h.

{
  return m_adcPeakingCycle;
}
void DayaBay::RawPmtChannel::setAdcPeakingCycle ( const std::vector< int > &  value) [inline]

Update ADC Peaking Cycle.

Definition at line 214 of file RawPmtChannel.h.

{
  m_adcPeakingCycle = value;
}
const std::vector< int > & DayaBay::RawPmtChannel::adcRange ( ) const [inline]

Retrieve const ADC Range.

Definition at line 219 of file RawPmtChannel.h.

{
  return m_adcRange;
}
void DayaBay::RawPmtChannel::setAdcRange ( const std::vector< int > &  value) [inline]

Update ADC Range.

Definition at line 224 of file RawPmtChannel.h.

{
  m_adcRange = value;
}
const std::vector< int > & DayaBay::RawPmtChannel::tdc ( ) const [inline]

Retrieve const TDC.

Definition at line 229 of file RawPmtChannel.h.

{
  return m_tdc;
}
void DayaBay::RawPmtChannel::setTdc ( const std::vector< int > &  value) [inline]

Update TDC.

Definition at line 234 of file RawPmtChannel.h.

{
  m_tdc = value;
}
const std::vector< int > & DayaBay::RawPmtChannel::tdcHitCount ( ) const [inline]

Retrieve const TDC Hit Count.

Definition at line 239 of file RawPmtChannel.h.

{
  return m_tdcHitCount;
}
void DayaBay::RawPmtChannel::setTdcHitCount ( const std::vector< int > &  value) [inline]

Update TDC Hit Count.

Definition at line 244 of file RawPmtChannel.h.

{
  m_tdcHitCount = value;
}
const std::vector< int > & DayaBay::RawPmtChannel::pedestal ( ) const [inline]

Retrieve const pedestal.

Definition at line 249 of file RawPmtChannel.h.

{
  return m_pedestal;
}
void DayaBay::RawPmtChannel::setPedestal ( const std::vector< int > &  value) [inline]

Update pedestal.

Definition at line 254 of file RawPmtChannel.h.

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

operator new

Definition at line 119 of file RawPmtChannel.h.

    {
      return ( sizeof(RawPmtChannel) == size ? 
               boost::singleton_pool<RawPmtChannel, sizeof(RawPmtChannel)>::malloc() :
               ::operator new(size) );
    }
static void* DayaBay::RawPmtChannel::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 129 of file RawPmtChannel.h.

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

operator delete

Definition at line 135 of file RawPmtChannel.h.

    {
      boost::singleton_pool<RawPmtChannel, sizeof(RawPmtChannel)>::is_from(p) ?
      boost::singleton_pool<RawPmtChannel, sizeof(RawPmtChannel)>::free(p) :
      ::operator delete(p);
    }
static void DayaBay::RawPmtChannel::operator delete ( void *  p,
void *  pObj 
) [inline, static]

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

Definition at line 144 of file RawPmtChannel.h.

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

Member Data Documentation

-1: no value

Definition at line 153 of file RawPmtChannel.h.

std::vector<int> DayaBay::RawPmtChannel::m_adc [private]

ADC.

Definition at line 154 of file RawPmtChannel.h.

std::vector<int> DayaBay::RawPmtChannel::m_adcPeakingCycle [private]

ADC Peaking Cycle.

Definition at line 155 of file RawPmtChannel.h.

std::vector<int> DayaBay::RawPmtChannel::m_adcRange [private]

ADC Range.

Definition at line 156 of file RawPmtChannel.h.

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

TDC.

Definition at line 157 of file RawPmtChannel.h.

std::vector<int> DayaBay::RawPmtChannel::m_tdcHitCount [private]

TDC Hit Count.

Definition at line 158 of file RawPmtChannel.h.

std::vector<int> DayaBay::RawPmtChannel::m_pedestal [private]

pedestal

Definition at line 159 of file RawPmtChannel.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 09:59:04 for RawEvent by doxygen 1.7.4