CCAMACScalerLRS4434 Class Reference

#include <CCAMACScalerLRS4434.h>

Inheritance diagram for CCAMACScalerLRS4434:

CScaler List of all members.

Public Member Functions

 CCAMACScalerLRS4434 (unsigned int b, unsigned int c, unsigned int n)
 Default constructor.
 CCAMACScalerLRS4434 (const CCAMACScalerLRS4434 &rhs)
 Copy constructor.
 ~CCAMACScalerLRS4434 ()
 Destructor.
CCAMACScalerLRS4434operator= (const CCAMACScalerLRS4434 &rhs)
 Assignment.
int operator== (const CCAMACScalerLRS4434 &rhs) const
 Comparison for equality.
int operator!= (const CCAMACScalerLRS4434 &rhs) const

Protected Member Functions

virtual void Initialize ()
virtual void Read (STD(vector)< unsigned long > &Scalers)
virtual void Clear ()
virtual unsigned int size ()

Private Attributes

CCamacModule m_Scaler
 Camac module representing the scaler.

Detailed Description

Encapsulates a CAMAC LRS 4439 scaler. This module is a 32 channel CAMAC scaler. Construction time determines the B,C,N of the module. The scaler must be configured as follows:

LAD switch off. This enables the scaler to operate in a dual rank latched manner.

Definition at line 301 of file CCAMACScalerLRS4434.h.


Constructor & Destructor Documentation

CCAMACScalerLRS4434::CCAMACScalerLRS4434 ( unsigned int  b,
unsigned int  c,
unsigned int  n 
)

Default constructor.

Construct a LeCroy model LRS4434 scaler given the CAMAC location.

Parameters:
b - Branch the module lives in.
c - Crate the module lives in.
n - Slot the module lives in.

Definition at line 314 of file CCAMACScalerLRS4434.cpp.

CCAMACScalerLRS4434::CCAMACScalerLRS4434 ( const CCAMACScalerLRS4434 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 327 of file CCAMACScalerLRS4434.cpp.

CCAMACScalerLRS4434::~CCAMACScalerLRS4434 (  )  [inline]

Destructor.

Definition at line 312 of file CCAMACScalerLRS4434.h.


Member Function Documentation

CCAMACScalerLRS4434 & CCAMACScalerLRS4434::operator= ( const CCAMACScalerLRS4434 aCCAMACScalerLRS4434  ) 

Assignment.

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

Definition at line 337 of file CCAMACScalerLRS4434.cpp.

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

int CCAMACScalerLRS4434::operator== ( const CCAMACScalerLRS4434 rhs  )  const

Comparison for equality.

== operator.

Definition at line 351 of file CCAMACScalerLRS4434.cpp.

References m_Scaler.

Referenced by operator!=().

int CCAMACScalerLRS4434::operator!= ( const CCAMACScalerLRS4434 rhs  )  const [inline]

Definition at line 316 of file CCAMACScalerLRS4434.h.

References operator==().

void CCAMACScalerLRS4434::Initialize (  )  [protected, virtual]

Performs begin run initialization of the module.

Implements CScaler.

Definition at line 361 of file CCAMACScalerLRS4434.cpp.

References m_Scaler, and CCamacModule::Write().

virtual void CCAMACScalerLRS4434::Read ( STD(vector)< unsigned long > &  Scalers  )  [protected, virtual]

Implements CScaler.

void CCAMACScalerLRS4434::Clear (  )  [protected, virtual]

Clear the scalers in the module.

Implements CScaler.

Definition at line 402 of file CCAMACScalerLRS4434.cpp.

References CL, m_Scaler, and CCamacModule::Write().

unsigned int CCAMACScalerLRS4434::size (  )  [protected, virtual]

Return the number of scalers which will be read.

Parameters:
 

Implements CScaler.

Definition at line 415 of file CCAMACScalerLRS4434.cpp.

References nChannels.


Member Data Documentation

CCamacModule CCAMACScalerLRS4434::m_Scaler [private]

Camac module representing the scaler.

Definition at line 304 of file CCAMACScalerLRS4434.h.

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


The documentation for this class was generated from the following files:
Generated on Wed Sep 17 08:38:11 2008 for NSCL Device support. by  doxygen 1.5.1