#include <CCAENModule.h>
Inheritance diagram for CCAENModule:
Public Member Functions | |
CCAENModule (const string &rCommand, CTCLInterpreter &rInterp) | |
virtual | ~CCAENModule () |
CAENcard * | getCard () |
bool | isMultiEvent () const |
virtual void | Initialize () |
virtual void | Prepare () |
virtual void | Read (DAQWordBufferPtr &rBuffer) |
virtual int | Read (void *pBuffer) |
virtual void | Clear () |
CCAENModule (const string &rCommand, CTCLInterpreter &rInterp) | |
virtual | ~CCAENModule () |
CAENcard * | getCard () |
bool | isMultiEvent () const |
virtual void | Initialize () |
Initialize the readable (pure virt.). | |
virtual void | Prepare () |
Prepare module for readout (pure virt.). | |
virtual void | Read (DAQWordBufferPtr &rBuffer) |
Read to DAQ buf. | |
virtual int | Read (void *pBuffer) |
Read to ordinary buf. | |
virtual void | Clear () |
Clear (after read e.g.).(Pure virt). | |
Protected Member Functions | |
void | setCard (CAENcard *pCard) |
void | setMultiEvent (bool on) |
void | setCard (CAENcard *pCard) |
void | setMultiEvent (bool on) |
Private Member Functions | |
CCAENModule (const CCAENModule &rhs) | |
CCAENModule & | operator= (const CCAENModule &rhs) |
int | operator== (const CCAENModule &rhs) |
int | operator!= (const CCAENModule &rhs) |
CCAENModule (const CCAENModule &rhs) | |
CCAENModule & | operator= (const CCAENModule &rhs) |
int | operator== (const CCAENModule &rhs) |
int | operator!= (const CCAENModule &rhs) |
Private Attributes | |
CAENcard * | m_pCAENcard |
Pointer to the underlying driver. | |
bool | m_fMultiEvent |
If true Prepare does not clear. | |
CAENcard * | m_pCAENcard |
Pointer to the underlying driver. |
Definition at line 57 of file CCAENModule.h.
|
Constructs a CAEN module object. The constructor creates the common set of configuration options that are recognized by all types of modules.
Definition at line 304 of file CCAENModule.cpp. References CConfigurableObject::AddBoolParam(), CDigitizerModule::AddIntArrayParam(), CDigitizerModule::AddIntParam(), CDigitizerModule::AddStringArrayParam(), CHANNELS(), CDigitizerModule::end(), CDigitizerModule::Find(), CDigitizerModule::ParameterIterator, CIntArrayParam::setRange(), and CIntConfigParam::setRange(). |
|
Definition at line 569 of file CCAENModule.cpp. References m_pCAENcard. |
|
|
|
|
|
|
|
|
|
Clear (after read e.g.).(Pure virt).
Implements CDigitizerModule. Reimplemented in CCAENV775, CCAENV785, CCAENV792, CCAENV775, CCAENV785, and CCAENV792. |
|
Called to clear any pending data from the module. Implements CDigitizerModule. Reimplemented in CCAENV775, CCAENV785, CCAENV792, CCAENV775, CCAENV785, and CCAENV792. Definition at line 563 of file CCAENModule.cpp. References m_pCAENcard. Referenced by CCAENV792::Clear(), CCAENV785::Clear(), and CCAENV775::Clear(). |
|
Reimplemented in CCAENV785, and CCAENV785. Definition at line 77 of file include/CCAENModule.h. References m_pCAENcard. |
|
Reimplemented in CCAENV785, and CCAENV785. Definition at line 77 of file CCAENModule.h. References m_pCAENcard. Referenced by CTriggerCommand::Initialize(), CCAENV792::Initialize(), and CCAENV775::Initialize(). |
|
Initialize the readable (pure virt.).
Implements CDigitizerModule. Reimplemented in CCAENV775, CCAENV785, CCAENV792, CCAENV775, CCAENV785, and CCAENV792. |
|
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. Implements CDigitizerModule. Reimplemented in CCAENV775, CCAENV785, CCAENV792, CCAENV775, CCAENV785, and CCAENV792. Definition at line 386 of file CCAENModule.cpp. References CHANNELS(), CDigitizerModule::end(), CDigitizerModule::Find(), CBoolConfigParam::getOptionValue(), CIntConfigParam::getOptionValue(), m_fMultiEvent, m_pCAENcard, and CDigitizerModule::ParameterIterator. Referenced by CCAENV792::Initialize(), CCAENV785::Initialize(), and CCAENV775::Initialize(). |
|
Definition at line 80 of file include/CCAENModule.h. References m_fMultiEvent. |
|
Definition at line 80 of file CCAENModule.h. References m_fMultiEvent. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Prepare module for readout (pure virt.).
Implements CDigitizerModule. Reimplemented in CCAENV775, CCAENV785, CCAENV792, CCAENV775, CCAENV785, and CCAENV792. |
|
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. Implements CDigitizerModule. Reimplemented in CCAENV775, CCAENV785, CCAENV792, CCAENV775, CCAENV785, and CCAENV792. Definition at line 513 of file CCAENModule.cpp. References m_fMultiEvent, and m_pCAENcard. Referenced by CCAENV792::Prepare(), CCAENV785::Prepare(), and CCAENV775::Prepare(). |
|
Read to ordinary buf.
Implements CDigitizerModule. |
|
Read to DAQ buf.
Implements CDigitizerModule. Reimplemented in CCAENV775, CCAENV785, CCAENV792, CCAENV775, CCAENV785, and CCAENV792. |
|
Called to read an event into a nondaq buffer. this can be used for testing, but is really there to make the infrastructure of scaler and event reads identical.
Implements CDigitizerModule. Definition at line 548 of file CCAENModule.cpp. References m_pCAENcard. |
|
Reads an event from the card into the current event buffer
Implements CDigitizerModule. Reimplemented in CCAENV775, CCAENV785, CCAENV792, CCAENV775, CCAENV785, and CCAENV792. Definition at line 529 of file CCAENModule.cpp. References m_pCAENcard, and WAITLOOPS(). Referenced by CCAENV792::Read(), CCAENV785::Read(), and CCAENV775::Read(). |
|
Reimplemented in CCAENV785, and CCAENV785. Definition at line 86 of file include/CCAENModule.h. References m_pCAENcard. |
|
Reimplemented in CCAENV785, and CCAENV785. Definition at line 86 of file CCAENModule.h. References m_pCAENcard. |
|
Definition at line 89 of file include/CCAENModule.h. References m_fMultiEvent. |
|
Definition at line 89 of file CCAENModule.h. References m_fMultiEvent. |
|
If true Prepare does not clear.
Reimplemented in CCAENV785. Definition at line 61 of file include/CCAENModule.h. Referenced by Initialize(), isMultiEvent(), Prepare(), and setMultiEvent(). |
|
Pointer to the underlying driver.
Reimplemented in CCAENV785, and CCAENV785. Definition at line 60 of file include/CCAENModule.h. |
|
Pointer to the underlying driver.
Reimplemented in CCAENV785, and CCAENV785. Definition at line 60 of file CCAENModule.h. Referenced by Clear(), getCard(), Initialize(), Prepare(), Read(), setCard(), and ~CCAENModule(). |