#include <CVMETrigger.h>
Inheritance diagram for CVMETrigger:
Public Member Functions | |
CVMETrigger (unsigned int base, int crate=0) | |
Default constructor. | |
CVMETrigger (const CVMETrigger &rhs) | |
Copy constructor. | |
~CVMETrigger () | |
Destructor. | |
CVMETrigger & | operator= (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 |
Definition at line 300 of file CVMETrigger.h.
CVMETrigger::CVMETrigger | ( | unsigned int | base, | |
int | crate = 0 | |||
) |
Default constructor.
Construct a VME trigger from a CAEN V262 module.
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] |
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] |
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().
CCaenIO CVMETrigger::m_TriggerModule [private] |
Definition at line 303 of file CVMETrigger.h.
Referenced by operator()(), operator=(), and operator==().