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

CCAMACScalerLRS4434 Class Reference

#include <CCAMACScalerLRS4434.h>

Inheritance diagram for CCAMACScalerLRS4434:

CScaler List of all members.

Public Methods

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

 CCAMACScalerLRS4434 (const CCAMACScalerLRS4434 &rhs)
 Copy constructor.

 ~CCAMACScalerLRS4434 ()
 Destructor.

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

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

int operator!= (const CCAMACScalerLRS4434 &rhs) const

Protected Methods

virtual void Initialize ()
virtual void Read (vector< unsigned int > &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 306 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 319 of file CCAMACScalerLRS4434.cpp.

CCAMACScalerLRS4434::~CCAMACScalerLRS4434   [inline]
 

Destructor.

Definition at line 312 of file CCAMACScalerLRS4434.h.


Member Function Documentation

void CCAMACScalerLRS4434::Clear   [protected, virtual]
 

Clear the scalers in the module.

Implements CScaler.

Definition at line 394 of file CCAMACScalerLRS4434.cpp.

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

void CCAMACScalerLRS4434::Initialize   [protected, virtual]
 

Performs begin run initialization of the module.

Implements CScaler.

Definition at line 353 of file CCAMACScalerLRS4434.cpp.

References m_Scaler, and CCamacModule::Write().

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

Definition at line 316 of file CCAMACScalerLRS4434.h.

References operator==().

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 329 of file CCAMACScalerLRS4434.cpp.

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

int CCAMACScalerLRS4434::operator== const CCAMACScalerLRS4434 &    rhs const
 

Comparison for equality.

== operator.

Definition at line 343 of file CCAMACScalerLRS4434.cpp.

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

Referenced by operator!=().

void CCAMACScalerLRS4434::Read vector< unsigned int > &    Scalers [protected, 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 369 of file CCAMACScalerLRS4434.cpp.

References FINshift, LD, m_Scaler, nChannels, CCamacModule::Read(), and CCamacModule::Write().

unsigned int CCAMACScalerLRS4434::size   [protected, virtual]
 

Return the number of scalers which will be read.

Parameters:

Implements CScaler.

Definition at line 407 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=(), 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