CCAMACScalerLRS2551

Name

CCAMACScalerLRS2551 -- Support software for the LeCroy LRS 2551 12 channel CAMAC scaler

Synopsis


#include <CCAMACScalerLRS2551.h>
            
 class CCAMACScalerLRS2551 : public CScaler {

  CCAMACScalerLRS2551(unsigned int b, unsigned int c, unsigned int n);

  virtual void Initialize ();
  virtual void Read (std::vector<unsigned long>& Scalers);
  virtual void Clear ();
  virtual unsigned int  size ( ();
}

Description

This class is intended to provide high level support for the LeCroy LRS 2551 12 channel camac scaler module. The module works best within the production readout framework, as the CScaler base class matches the needs and interface requirements of registered scalers.

Public member functions

CCAMACScalerLRS2551(unsigned int b, unsigned int c, unsigned int n);

Creates a new CCAMACScalerLRS2551 object that can be used to manipulate an actual scaler modulea the CAMAC address described by the b, c and n function arguments.

virtual void Initialize(void);

Prepares the module for data taking; the module scaler channels are cleared.

void Read (std::vector<unsigned long>%amp; Scaleres);

Reads all 12 channels of scaler from the module and appends them to the Scaler vector.

void Clear (void);

Clears all channels of the scaler.

(void);

Returns 12, the number of scaler channels the module will add to to the output buffer when it is read.