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

CCAENV792 Class Reference

#include <CCAENV792.h>

Inheritance diagram for CCAENV792:

Inheritance graph
[legend]
Collaboration diagram for CCAENV792:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

 CCAENV792 (const string &rName, CTCLInterpreter &rInterp)
 ~CCAENV792 ()
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

 CCAENV792 (const CCAENV792 &aCCAENV792)
CCAENV792operator= (const CCAENV792 &aCCAENV792)
int operator== (const CCAENV792 &aCCAENV792) const
int operator!= (const CCAENV792 &rhs) const
 CCAENV792 (const CCAENV792 &aCCAENV792)
CCAENV792operator= (const CCAENV792 &aCCAENV792)
int operator== (const CCAENV792 &aCCAENV792) const
int operator!= (const CCAENV792 &rhs) const

Detailed Description

Encapsulates the CAEN 792 QDC (Charge digitizing ADC). This module is an extension of the CCAENModule class. It supports all of the configuration parameters in that class and adds an integer parameter:

Definition at line 318 of file CCAENV792.h.


Constructor & Destructor Documentation

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

Constructs a CAEN V792 readout object. The constructor does not actually create a CAENcard object. This is left to the Initialize member. Doing this two phase creation allows the user a chance to fully set the configuration parameters of the module before creating the module. This is actually necessary sinced the ADC slot is one of the configuration parameters.

The main purpose of this function is to register the configuration parsing objects.

We need to register the Iped parameter and set its range:

Definition at line 305 of file CCAENV792.cpp.

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

CCAENV792::~CCAENV792  ) 
 

Destroys the module. We delete CCAENcard object. If the card object has not yet been created, it will be null and the deletion will be a no-op.

Definition at line 324 of file CCAENV792.cpp.

CCAENV792::CCAENV792 const CCAENV792 aCCAENV792  )  [private]
 

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

CCAENV792::~CCAENV792  ) 
 

CCAENV792::CCAENV792 const CCAENV792 aCCAENV792  )  [private]
 


Member Function Documentation

virtual void CCAENV792::Clear  )  [virtual]
 

Called to clear any pending data from the module.

Reimplemented from CCAENModule.

void CCAENV792::Clear  )  [virtual]
 

Called on a per event basis to clear the module after reading an event. Probably nothing has to be done here, but to be safe, we clear any pending data.

Reimplemented from CCAENModule.

Definition at line 400 of file CCAENV792.cpp.

References CCAENModule::Clear().

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

Return module type string (pure virt).

Implements CDigitizerModule.

Definition at line 344 of file include/CCAENV792.h.

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

Return module type string (pure virt).

Implements CDigitizerModule.

Definition at line 344 of file CCAENV792.h.

virtual void CCAENV792::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 CCAENV792::Initialize  )  [virtual]
 

Called once when data acquisition starts for a run. This function deletes any existing CAENcard object and creates a new one. The card object is then configured according the the parameters maintained by the configuration subsystem.

Any failure to find a configuration parameter is considered fatal and is signalled via a failed assertion.

Reimplemented from CCAENModule.

Definition at line 343 of file CCAENV792.cpp.

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

int CCAENV792::operator!= const CCAENV792 rhs  )  const [private]
 

int CCAENV792::operator!= const CCAENV792 rhs  )  const [private]
 

CCAENV792& CCAENV792::operator= const CCAENV792 aCCAENV792  )  [private]
 

CCAENV792& CCAENV792::operator= const CCAENV792 aCCAENV792  )  [private]
 

int CCAENV792::operator== const CCAENV792 aCCAENV792  )  const [private]
 

int CCAENV792::operator== const CCAENV792 aCCAENV792  )  const [private]
 

virtual void CCAENV792::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 CCAENV792::Prepare  )  [virtual]
 

Called on a per event basis to prepare the card to accept the next trigger. For the CAEN V792, this is a no-op.

Reimplemented from CCAENModule.

Definition at line 368 of file CCAENV792.cpp.

References CCAENModule::Prepare().

virtual void CCAENV792::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 CCAENV792::Read DAQWordBufferPtr &  rBuffer  )  [virtual]
 

Function:

Reads an event from the card.

Parameters:
rBuffer DAQWordBufferPtr& [modified] Pointer like object to the target data buffer. data will be read from the ADC to the location 'pointed to' rBuffer.
Returns:
DAQWordBufferptr updated buffer pointer after the read.
Note:
The module is silently ignored if the card has not been instantiated yet.

Reimplemented from CCAENModule.

Definition at line 388 of file CCAENV792.cpp.

References CCAENModule::Read().


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