Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

CCAENV775 Class Reference

#include <CCAENV775.h>

Inheritance diagram for CCAENV775:

Inheritance graph
[legend]
Collaboration diagram for CCAENV775:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CCAENV775 (const string &rName, CTCLInterpreter &rInterp)
virtual ~CCAENV775 ()
virtual void Initialize ()
virtual void Prepare ()
virtual void Read (DAQWordBufferPtr &rBuffer)
virtual void Clear ()
virtual string getType () const
 Return module type string (pure virt).

 CCAENV775 (const string &rName, CTCLInterpreter &rInterp)
virtual ~CCAENV775 ()
virtual void Initialize ()
virtual void Prepare ()
virtual void Read (DAQWordBufferPtr &rBuffer)
virtual void Clear ()
virtual string getType () const
 Return module type string (pure virt).


Private Member Functions

 CCAENV775 (const CCAENV775 &aCCAENV775)
CCAENV775operator= (const CCAENV775 &aCCAENV775)
int operator== (const CCAENV775 &aCCAENV775) const
int operator!= (const CCAENV775 &aCCAENV775) const
 CCAENV775 (const CCAENV775 &aCCAENV775)
CCAENV775operator= (const CCAENV775 &aCCAENV775)
int operator== (const CCAENV775 &aCCAENV775) const
int operator!= (const CCAENV775 &aCCAENV775) const

Detailed Description

Encapsulates a CAEN V755 module. The V775 module is a 32 channel multievent TDC. Programmatically, this module is a V785 ADC with front ends consisting of 32 channels of TAC (time to analog converters). The configuration parameters accepted by this module include:

Definition at line 352 of file CCAENV775.h.


Constructor & Destructor Documentation

CCAENV775::CCAENV775 const string &  rName,
CTCLInterpreter &  rInterp
 

Construct a CAEN V775 multievent TDC module. The underlying card is not constructed until initialization time... in order to give the user a chance to configure the module first. This is necessary because one of the key confuration parameters is the slot. In addition to constructing our base class, it is necessary to register our configuration parameters:

  • range - The Full scale range in ns.
  • commonstart - true if the module should be in common start mode, false for common stop.

Parameters:
rName const string& [in] The name ofthis module.

Definition at line 314 of file CCAENV775.cpp.

References CConfigurableObject::AddBoolParam(), CDigitizerModule::AddIntParam(), DEFAULTRANGE(), CDigitizerModule::end(), CDigitizerModule::Find(), CDigitizerModule::ParameterIterator, and CIntConfigParam::setRange().

CCAENV775::~CCAENV775  )  [virtual]
 

Destructor, destroys the underlying card. Note that to delete a null pointer is a no-op so we can safely delete the pointer whether it exists or not.

Definition at line 350 of file CCAENV775.cpp.

CCAENV775::CCAENV775 const CCAENV775 aCCAENV775  )  [private]
 

CCAENV775::CCAENV775 const string &  rName,
CTCLInterpreter &  rInterp
 

virtual CCAENV775::~CCAENV775  )  [virtual]
 

CCAENV775::CCAENV775 const CCAENV775 aCCAENV775  )  [private]
 


Member Function Documentation

virtual void CCAENV775::Clear  )  [virtual]
 

Called to clear any pending data from the module.

Reimplemented from CCAENModule.

void CCAENV775::Clear  )  [virtual]
 

Called to clear data in the module prior to the first readout.

Reimplemented from CCAENModule.

Definition at line 448 of file CCAENV775.cpp.

References CCAENModule::Clear().

virtual string CCAENV775::getType  )  const [inline, virtual]
 

Return module type string (pure virt).

Implements CDigitizerModule.

Definition at line 375 of file include/CCAENV775.h.

virtual string CCAENV775::getType  )  const [inline, virtual]
 

Return module type string (pure virt).

Implements CDigitizerModule.

Definition at line 375 of file CCAENV775.h.

virtual void CCAENV775::Initialize  )  [virtual]
 

Initializes a module. This is the function that will actually create the underlying module driver object. The parameters are processed and used to configure it.

Reimplemented from CCAENModule.

void CCAENV775::Initialize  )  [virtual]
 

Performs module dependent initialization.

  • If the module exists, delete it and remake it. This allows a module's slot to be reconfigured.
  • The module is configured according to the parameters. that have been set. Not being able to locate a configuration parameter considered a fatal error since we put those parameters in in the constructor. This error will be signalled via a failed assertion.

Reimplemented from CCAENModule.

Definition at line 367 of file CCAENV775.cpp.

References CDigitizerModule::end(), CDigitizerModule::Find(), CCAENModule::getCard(), CBoolConfigParam::getOptionValue(), CIntConfigParam::getOptionValue(), CCAENModule::Initialize(), and CDigitizerModule::ParameterIterator.

int CCAENV775::operator!= const CCAENV775 aCCAENV775  )  const [private]
 

int CCAENV775::operator!= const CCAENV775 aCCAENV775  )  const [private]
 

CCAENV775& CCAENV775::operator= const CCAENV775 aCCAENV775  )  [private]
 

CCAENV775& CCAENV775::operator= const CCAENV775 aCCAENV775  )  [private]
 

int CCAENV775::operator== const CCAENV775 aCCAENV775  )  const [private]
 

int CCAENV775::operator== const CCAENV775 aCCAENV775  )  const [private]
 

virtual void CCAENV775::Prepare  )  [virtual]
 

Called on a per event basis to prepare the card to accept the next trigger. For the CAEN modules, this is a no-op, once initialized, they're ready to go.

Reimplemented from CCAENModule.

void CCAENV775::Prepare  )  [virtual]
 

This function is called on a per event basis to prepare the module to accept the next trigger. For the CAEN modules, no action is required.

Reimplemented from CCAENModule.

Definition at line 415 of file CCAENV775.cpp.

References CCAENModule::Prepare().

virtual void CCAENV775::Read DAQWordBufferPtr &  rBuffer  )  [virtual]
 

Reads an event from the card into the current event buffer

Parameters:
rBuffer (DAQWordBufferPtr& [modified]). Pointer like object to the target datat buffer. Data wil be read from the ADC to the location 'pointed to by the pointer.
Note:
The module is silently ignored if it has not yet caused a card to be instantiated.

Reimplemented from CCAENModule.

void CCAENV775::Read DAQWordBufferPtr &  rBuffer  )  [virtual]
 

Reads out the section of the event that is contributed by this module.

Parameters:
rBuffer CWordBufferptr& [modified] Pointer like object to the buffer. Data is read to where rBuffer 'points'.
Returns:
CWordBufferptr The buffer pointer after the readout is complete.
Note:
it's vaguely possible that this module has not been instantiated (e.g. no slot). In that case, we silently ignore the readout.

Reimplemented from CCAENModule.

Definition at line 436 of file CCAENV775.cpp.

References CCAENModule::Read().


The documentation for this class was generated from the following files:
Generated on Fri Mar 12 13:04:32 2004 for Scripted Readout by doxygen 1.3.4