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

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

#include <CalibReadoutRpcChannel.h>

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

List of all members.

Public Member Functions

 CalibReadoutRpcChannel (const DayaBay::DetectorSensor &rpcSensorId, DayaBay::CalibReadoutRpcCrate *calibReadout, bool fromRot=false)
 standard constructor
 CalibReadoutRpcChannel ()
 Default Constructor.
virtual ~CalibReadoutRpcChannel ()
 Default Destructor.
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.
const DayaBay::DetectorSensorrpcSensorId () const
 Retrieve const RPC sensor.
void setRpcSensorId (const DayaBay::DetectorSensor &value)
 Update RPC sensor.
const
DayaBay::CalibReadoutRpcCrate
calibReadout () const
 Retrieve const Reference to full calibrated readout which contains this data.
void setCalibReadout (DayaBay::CalibReadoutRpcCrate *value)
 Update Reference to full calibrated readout which contains this data.
bool fromRot () const
 Retrieve const whether it's from the main trigger module.
void setFromRot (bool value)
 Update whether it's from the main trigger module.

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::DetectorSensor m_rpcSensorId
 RPC sensor.
DayaBay::CalibReadoutRpcCratem_calibReadout
 Reference to full calibrated readout which contains this data.
bool m_fromRot
 whether it's from the main trigger module

Detailed Description

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

Author:
dandwyer@caltech.edu created Thu Dec 5 17:49:32 2013

Definition at line 41 of file CalibReadoutRpcChannel.h.


Constructor & Destructor Documentation

DayaBay::CalibReadoutRpcChannel::CalibReadoutRpcChannel ( const DayaBay::DetectorSensor rpcSensorId,
DayaBay::CalibReadoutRpcCrate calibReadout,
bool  fromRot = false 
) [inline]

standard constructor

Definition at line 143 of file CalibReadoutRpcChannel.h.

{

          setRpcSensorId(rpcSensorId);
          setCalibReadout(calibReadout);
          setFromRot(fromRot);
        
}
DayaBay::CalibReadoutRpcChannel::CalibReadoutRpcChannel ( ) [inline]

Default Constructor.

Definition at line 51 of file CalibReadoutRpcChannel.h.

                             : m_rpcSensorId(0),
                               m_calibReadout(0),
                               m_fromRot(false) {}
virtual DayaBay::CalibReadoutRpcChannel::~CalibReadoutRpcChannel ( ) [inline, virtual]

Default Destructor.

Definition at line 56 of file CalibReadoutRpcChannel.h.

{}

Member Function Documentation

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

Fill the ASCII output stream.

Definition at line 154 of file CalibReadoutRpcChannel.h.

{
  char l_fromRot = (m_fromRot) ? 'T' : 'F';
  s << "{ " << "rpcSensorId :   " << m_rpcSensorId << std::endl
            << "calibReadout :  " << m_calibReadout << std::endl
            << "fromRot :       " << l_fromRot << std::endl << " }";
  return s;
}
const DayaBay::DetectorSensor & DayaBay::CalibReadoutRpcChannel::rpcSensorId ( ) const [inline]

Retrieve const RPC sensor.

Definition at line 164 of file CalibReadoutRpcChannel.h.

{
  return m_rpcSensorId;
}
void DayaBay::CalibReadoutRpcChannel::setRpcSensorId ( const DayaBay::DetectorSensor value) [inline]

Update RPC sensor.

Definition at line 169 of file CalibReadoutRpcChannel.h.

{
  m_rpcSensorId = value;
}
const DayaBay::CalibReadoutRpcCrate * DayaBay::CalibReadoutRpcChannel::calibReadout ( ) const [inline]

Retrieve const Reference to full calibrated readout which contains this data.

Definition at line 174 of file CalibReadoutRpcChannel.h.

{
  return m_calibReadout;
}
void DayaBay::CalibReadoutRpcChannel::setCalibReadout ( DayaBay::CalibReadoutRpcCrate value) [inline]

Update Reference to full calibrated readout which contains this data.

Definition at line 179 of file CalibReadoutRpcChannel.h.

{
  m_calibReadout = value;
}
bool DayaBay::CalibReadoutRpcChannel::fromRot ( ) const [inline]

Retrieve const whether it's from the main trigger module.

Definition at line 184 of file CalibReadoutRpcChannel.h.

{
  return m_fromRot;
}
void DayaBay::CalibReadoutRpcChannel::setFromRot ( bool  value) [inline]

Update whether it's from the main trigger module.

Definition at line 189 of file CalibReadoutRpcChannel.h.

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

operator new

Definition at line 88 of file CalibReadoutRpcChannel.h.

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

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

operator delete

Definition at line 104 of file CalibReadoutRpcChannel.h.

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

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

Definition at line 113 of file CalibReadoutRpcChannel.h.

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

Member Data Documentation

RPC sensor.

Definition at line 122 of file CalibReadoutRpcChannel.h.

Reference to full calibrated readout which contains this data.

Definition at line 123 of file CalibReadoutRpcChannel.h.

whether it's from the main trigger module

Definition at line 124 of file CalibReadoutRpcChannel.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:00:42 for CalibReadoutEvent by doxygen 1.7.4