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

CCAENV785 Class Reference

#include <CCAENV785.h>

Inheritance diagram for CCAENV785:

Inheritance graph
[legend]
Collaboration diagram for CCAENV785:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

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


Protected Member Functions

void setCard (CAENcard *am_pCAENcard)
void setCard (CAENcard *am_pCAENcard)

Private Member Functions

 CCAENV785 (const CCAENV785 &aCCAENV785)
CCAENV785operator= (const CCAENV785 &aCCAENV785)
int operator== (const CCAENV785 &aCCAENV785) const
int operator!= (const CCAENV785 &rhs) const
 CCAENV785 (const CCAENV785 &aCCAENV785)
CCAENV785operator= (const CCAENV785 &aCCAENV785)
int operator== (const CCAENV785 &aCCAENV785) const
int operator!= (const CCAENV785 &rhs) const

Private Attributes

CAENcard * m_pCAENcard
 Pointer to module driver.

bool m_fMultiEvent
 true if multievent mode.

CAENcard * m_pCAENcard
 Pointer to module driver.


Detailed Description

Encapsulates the CAEN 785 peak sensing adc. this class is layered on top of Chris Maurice's CAENcard class. This class supports the following configuration keywords:

Definition at line 329 of file CCAENV785.h.


Constructor & Destructor Documentation

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

Constructs a CAEN V785 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.

Definition at line 303 of file CCAENV785.cpp.

CCAENV785::~CCAENV785  ) 
 

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 314 of file CCAENV785.cpp.

CCAENV785::CCAENV785 const CCAENV785 aCCAENV785  )  [private]
 

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

CCAENV785::~CCAENV785  ) 
 

CCAENV785::CCAENV785 const CCAENV785 aCCAENV785  )  [private]
 


Member Function Documentation

virtual void CCAENV785::Clear  )  [virtual]
 

Called to clear any pending data from the module.

Reimplemented from CCAENModule.

void CCAENV785::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 381 of file CCAENV785.cpp.

References CCAENModule::Clear().

CAENcard* CCAENV785::getCard  )  [inline]
 

Reimplemented from CCAENModule.

Definition at line 354 of file include/CCAENV785.h.

References m_pCAENcard.

CAENcard* CCAENV785::getCard  )  [inline]
 

Reimplemented from CCAENModule.

Definition at line 354 of file CCAENV785.h.

References m_pCAENcard.

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

Return module type string (pure virt).

Implements CDigitizerModule.

Definition at line 376 of file include/CCAENV785.h.

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

Return module type string (pure virt).

Implements CDigitizerModule.

Definition at line 376 of file CCAENV785.h.

virtual void CCAENV785::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 CCAENV785::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 333 of file CCAENV785.cpp.

References CCAENModule::Initialize().

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

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

CCAENV785& CCAENV785::operator= const CCAENV785 aCCAENV785  )  [private]
 

CCAENV785& CCAENV785::operator= const CCAENV785 aCCAENV785  )  [private]
 

int CCAENV785::operator== const CCAENV785 aCCAENV785  )  const [private]
 

int CCAENV785::operator== const CCAENV785 aCCAENV785  )  const [private]
 

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

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

Reimplemented from CCAENModule.

Definition at line 349 of file CCAENV785.cpp.

References CCAENModule::Prepare().

virtual void CCAENV785::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 CCAENV785::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 369 of file CCAENV785.cpp.

References CCAENModule::Read().

void CCAENV785::setCard CAENcard *  am_pCAENcard  )  [inline, protected]
 

Reimplemented from CCAENModule.

Definition at line 363 of file include/CCAENV785.h.

References m_pCAENcard.

void CCAENV785::setCard CAENcard *  am_pCAENcard  )  [inline, protected]
 

Reimplemented from CCAENModule.

Definition at line 363 of file CCAENV785.h.

References m_pCAENcard.


Member Data Documentation

bool CCAENV785::m_fMultiEvent [private]
 

true if multievent mode.

Reimplemented from CCAENModule.

Definition at line 336 of file include/CCAENV785.h.

CAENcard* CCAENV785::m_pCAENcard [private]
 

Pointer to module driver.

Reimplemented from CCAENModule.

Definition at line 335 of file include/CCAENV785.h.

CAENcard* CCAENV785::m_pCAENcard [private]
 

Pointer to module driver.

Reimplemented from CCAENModule.

Definition at line 335 of file CCAENV785.h.

Referenced by getCard(), and setCard().


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