Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

CVMETrigger Class Reference

#include <CVMETrigger.h>

Inheritance diagram for CVMETrigger:

CTrigger List of all members.

Public Methods

 CVMETrigger (unsigned int base)
 Default constructor.

 CVMETrigger (const CVMETrigger &rhs)
 Copy constructor.

 ~CVMETrigger ()
 Destructor.

CVMETrigger & operator= (const CVMETrigger &rhs)
 Assignment.

int operator== (const CVMETrigger &rhs) const
 Comparison for equality.

int operator!= (const CVMETrigger &rhs) const
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
 

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 287 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 297 of file CVMETrigger.cpp.

CVMETrigger::~CVMETrigger   [inline]
 

Destructor.

Definition at line 309 of file CVMETrigger.h.


Member Function Documentation

int CVMETrigger::operator!= const CVMETrigger &    rhs const [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 335 of file CVMETrigger.cpp.

References m_TriggerModule, and CCaenIO::ReadInput().

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 307 of file CVMETrigger.cpp.

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

int CVMETrigger::operator== const CVMETrigger &    rhs const
 

Comparison for equality.

equality test.

Definition at line 319 of file CVMETrigger.cpp.

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

Referenced by operator!=().


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 Fri Nov 8 13:37:31 2002 for Event Readout system. by doxygen1.2.16