CVMETrigger Class Reference

#include <CVMETrigger.h>

Inheritance diagram for CVMETrigger:

CTrigger List of all members.

Public Member Functions

 CVMETrigger (unsigned int base, int crate=0)
 Default constructor.
 CVMETrigger (const CVMETrigger &rhs)
 Copy constructor.
 ~CVMETrigger ()
 Destructor.
CVMETriggeroperator= (const CVMETrigger &rhs)
 Assignment.
int operator== (const CVMETrigger &rhs)
 Comparison for equality.
int operator!= (const CVMETrigger &rhs)
virtual bool operator() ()

Private Attributes

CCaenIO m_TriggerModule

Detailed Description

Encpasulates a VME trigger module based on the CAEN Multipurpose I/O module. The NIM in level 0 is used to indicate a trigger. The user must hold the level as long as requested by the trigger module. When the trigger is noticed, NIM Pulsed out3 will be signalled and the trigger signal can be dropped.

Definition at line 300 of file CVMETrigger.h.


Constructor & Destructor Documentation

CVMETrigger::CVMETrigger ( unsigned int  base,
int  crate = 0 
)

Default constructor.

Construct a VME trigger from a CAEN V262 module.

Parameters:
base - Base address of the module. Factory settings are 0x444400

Definition at line 290 of file CVMETrigger.cpp.

CVMETrigger::CVMETrigger ( const CVMETrigger rhs  ) 

Copy constructor.

Copy construction. This is invoked when e.g. an object is passed by value to a function. The copy constructor makes a clone of the rhs object.

Definition at line 300 of file CVMETrigger.cpp.

CVMETrigger::~CVMETrigger (  )  [inline]

Destructor.

Definition at line 309 of file CVMETrigger.h.


Member Function Documentation

CVMETrigger & CVMETrigger::operator= ( const CVMETrigger aCVMETrigger  ) 

Assignment.

Assignment operation. This member function supports assignment of an object of this class to an object of the same class.

Definition at line 310 of file CVMETrigger.cpp.

References m_TriggerModule, and CTrigger::operator=().

int CVMETrigger::operator== ( const CVMETrigger rhs  ) 

Comparison for equality.

equality test.

Definition at line 322 of file CVMETrigger.cpp.

References m_TriggerModule.

Referenced by operator!=().

int CVMETrigger::operator!= ( const CVMETrigger rhs  )  [inline]

Definition at line 313 of file CVMETrigger.h.

References operator==().

bool CVMETrigger::operator() (  )  [virtual]

Returns true if a trigger is available in the hardware. In this case, the trigger comes from input 1 (numbered from 1) of the CAEN V262 multipurpose I/O module.

Implements CTrigger.

Definition at line 338 of file CVMETrigger.cpp.

References m_TriggerModule, CCaenIO::PulseOutput(), and CCaenIO::ReadInput().


Member Data Documentation

CCaenIO CVMETrigger::m_TriggerModule [private]

Definition at line 303 of file CVMETrigger.h.

Referenced by operator()(), operator=(), and operator==().


The documentation for this class was generated from the following files:
Generated on Wed Sep 17 08:38:12 2008 for NSCL Device support. by  doxygen 1.5.1