Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

CCAMACScalerLRS2551 Class Reference

#include <CCAMACScalerLRS2551.h>

Inheritance diagram for CCAMACScalerLRS2551:

CScaler List of all members.

Public Methods

 CCAMACScalerLRS2551 (unsigned int b, unsigned int c, unsigned int n)
 Default constructor.

 CCAMACScalerLRS2551 (const CCAMACScalerLRS2551 &rhs)
 Copy constructor.

 ~CCAMACScalerLRS2551 ()
 Destructor.

CCAMACScalerLRS2551 & operator= (const CCAMACScalerLRS2551 &rhs)
 Assignment.

int operator== (const CCAMACScalerLRS2551 &rhs) const
 Comparison for equality.

int operator!= (const CCAMACScalerLRS2551 &rhs) const
virtual void Initialize ()
virtual void Read (vector< unsigned int > &Scalers)
virtual void Clear ()
virtual unsigned int size ()

Private Attributes

CCamacModule m_Scaler
 The scaler module representations.


Detailed Description

Encapsulates an LRS 2551 CAMAC scaler. This is a 12 channel camac scaler. Instantiating the scaler allows you to specify the camac address.

Definition at line 299 of file CCAMACScalerLRS2551.h.


Constructor & Destructor Documentation

CCAMACScalerLRS2551::CCAMACScalerLRS2551 unsigned int    b,
unsigned int    c,
unsigned int    n
 

Default constructor.

Contruct a CAMAC LeCroy model LRS 2551 scaler

Parameters:
b  - Branch the scaler lives in.
c  - Crate the scaler lives in within branch b.
n  - Slot the scaler lives in within the branch and crate b,c.

Definition at line 290 of file CCAMACScalerLRS2551.cpp.

CCAMACScalerLRS2551::CCAMACScalerLRS2551 const CCAMACScalerLRS2551 &    rhs
 

Copy constructor.

Copy construction. This is invoked when e.g. an object is passed by value to a function. The copy constructor makes a clone of the rhs object.

Definition at line 302 of file CCAMACScalerLRS2551.cpp.

CCAMACScalerLRS2551::~CCAMACScalerLRS2551   [inline]
 

Destructor.

Definition at line 310 of file CCAMACScalerLRS2551.h.


Member Function Documentation

void CCAMACScalerLRS2551::Clear   [virtual]
 

Clear the scalers in the module.

Implements CScaler.

Definition at line 368 of file CCAMACScalerLRS2551.cpp.

References CCamacModule::Control(), and m_Scaler.

void CCAMACScalerLRS2551::Initialize   [virtual]
 

Performs begin run initialization of the module.

Implements CScaler.

Definition at line 340 of file CCAMACScalerLRS2551.cpp.

int CCAMACScalerLRS2551::operator!= const CCAMACScalerLRS2551 &    rhs const [inline]
 

Definition at line 314 of file CCAMACScalerLRS2551.h.

References operator==().

CCAMACScalerLRS2551 & CCAMACScalerLRS2551::operator= const CCAMACScalerLRS2551 &    aCCAMACScalerLRS2551
 

Assignment.

Assignment operation. This member function supports assignment of an object of this class to an object of the same class.

Definition at line 313 of file CCAMACScalerLRS2551.cpp.

References m_Scaler, and CScaler::operator=().

int CCAMACScalerLRS2551::operator== const CCAMACScalerLRS2551 &    rhs const
 

Comparison for equality.

Equality checks.

Definition at line 327 of file CCAMACScalerLRS2551.cpp.

References m_Scaler, and CScaler::operator==().

Referenced by operator!=().

void CCAMACScalerLRS2551::Read vector< unsigned int > &    Scalers [virtual]
 

Reads the scaler module into the vector passed as a parameter

Parameters:
Scalers  - vector to which the read scalers will be appended.
Scalers  - Vector into which the scalers will be appended.

Definition at line 356 of file CCAMACScalerLRS2551.cpp.

References m_Scaler, nChannels, and CCamacModule::Read().

unsigned int CCAMACScalerLRS2551::size   [virtual]
 

Return the number of scalers which will be read.

Implements CScaler.

Definition at line 380 of file CCAMACScalerLRS2551.cpp.

References nChannels.


Member Data Documentation

CCamacModule CCAMACScalerLRS2551::m_Scaler [private]
 

The scaler module representations.

Definition at line 302 of file CCAMACScalerLRS2551.h.

Referenced by Clear(), operator=(), operator==(), and Read().


The documentation for this class was generated from the following files:
Generated on Fri Nov 8 13:37:11 2002 for Event Readout system. by doxygen1.2.16