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

Readout data for one channel (strip) in the RPC electronics. More...

#include <ReadoutRpcChannel.h>

Collaboration diagram for DayaBay::ReadoutRpcChannel:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ReadoutRpcChannel (const DayaBay::FecChannelId &channelId, DayaBay::ReadoutFecBoard *readoutBoard)
 standard constructor
 ReadoutRpcChannel ()
 Default Constructor.
virtual ~ReadoutRpcChannel ()
 Default Destructor.
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.
const DayaBay::FecChannelIdchannelId () const
 Retrieve const Front-End Card Channel ID.
void setChannelId (const DayaBay::FecChannelId &value)
 Update Front-End Card Channel ID.
bool hit () const
 Retrieve const Rpc channel was hit?
void setHit (bool value)
 Update Rpc channel was hit?
const DayaBay::ReadoutFecBoardreadoutBoard () const
 Retrieve const Reference to readout board which contains this data.
void setReadoutBoard (DayaBay::ReadoutFecBoard *value)
 Update Reference to readout board which contains this data.

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::FecChannelId m_channelId
 Front-End Card Channel ID.
bool m_hit
 Rpc channel was hit?
DayaBay::ReadoutFecBoardm_readoutBoard
 Reference to readout board which contains this data.

Detailed Description

Readout data for one channel (strip) in the RPC electronics.

Author:
dandwyer@caltech.edu created Thu Dec 5 17:52:28 2013

Definition at line 41 of file ReadoutRpcChannel.h.


Constructor & Destructor Documentation

DayaBay::ReadoutRpcChannel::ReadoutRpcChannel ( const DayaBay::FecChannelId channelId,
DayaBay::ReadoutFecBoard readoutBoard 
) [inline]

standard constructor

Definition at line 142 of file ReadoutRpcChannel.h.

{

          setChannelId(channelId);
          setReadoutBoard(readoutBoard);
        
}
DayaBay::ReadoutRpcChannel::ReadoutRpcChannel ( ) [inline]

Default Constructor.

Definition at line 50 of file ReadoutRpcChannel.h.

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

Default Destructor.

Definition at line 55 of file ReadoutRpcChannel.h.

{}

Member Function Documentation

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

Fill the ASCII output stream.

Definition at line 151 of file ReadoutRpcChannel.h.

{
  char l_hit = (m_hit) ? 'T' : 'F';
  s << "{ " << "channelId :     " << m_channelId << std::endl
            << "hit :   " << l_hit << std::endl
            << "readoutBoard :  " << m_readoutBoard << std::endl << " }";
  return s;
}
const DayaBay::FecChannelId & DayaBay::ReadoutRpcChannel::channelId ( ) const [inline]

Retrieve const Front-End Card Channel ID.

Definition at line 161 of file ReadoutRpcChannel.h.

{
  return m_channelId;
}
void DayaBay::ReadoutRpcChannel::setChannelId ( const DayaBay::FecChannelId value) [inline]

Update Front-End Card Channel ID.

Definition at line 166 of file ReadoutRpcChannel.h.

{
  m_channelId = value;
}
bool DayaBay::ReadoutRpcChannel::hit ( ) const [inline]

Retrieve const Rpc channel was hit?

Definition at line 171 of file ReadoutRpcChannel.h.

{
  return m_hit;
}
void DayaBay::ReadoutRpcChannel::setHit ( bool  value) [inline]

Update Rpc channel was hit?

Definition at line 176 of file ReadoutRpcChannel.h.

{
  m_hit = value;
}
const DayaBay::ReadoutFecBoard * DayaBay::ReadoutRpcChannel::readoutBoard ( ) const [inline]

Retrieve const Reference to readout board which contains this data.

Definition at line 181 of file ReadoutRpcChannel.h.

{
  return m_readoutBoard;
}
void DayaBay::ReadoutRpcChannel::setReadoutBoard ( DayaBay::ReadoutFecBoard value) [inline]

Update Reference to readout board which contains this data.

Definition at line 186 of file ReadoutRpcChannel.h.

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

operator new

Definition at line 87 of file ReadoutRpcChannel.h.

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

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

operator delete

Definition at line 103 of file ReadoutRpcChannel.h.

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

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

Definition at line 112 of file ReadoutRpcChannel.h.

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

Member Data Documentation

Front-End Card Channel ID.

Definition at line 121 of file ReadoutRpcChannel.h.

Rpc channel was hit?

Definition at line 122 of file ReadoutRpcChannel.h.

Reference to readout board which contains this data.

Definition at line 123 of file ReadoutRpcChannel.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:01:16 for ReadoutEvent by doxygen 1.7.4