#include <SctApiImpl.h>
Inheritance diagram for SctApi::ScanDefImpl:
Public Member Functions | |
ScanDefImpl () | |
Constructor. | |
ScanDefImpl (const ScanDefImpl &) | |
virtual | ~ScanDefImpl () |
Call parent's destructor. | |
void | configure (UINT16 type, FLOAT32 start, FLOAT32 stop, FLOAT32 step) |
Set up scanPoints. | |
void | configure2 (UINT16 type, FLOAT32 start, FLOAT32 stop, FLOAT32 step) |
Set up scanPoints for set 2. | |
const boost::shared_ptr< ::SctApi::Trigger > | getTrigger1 () const |
const boost::shared_ptr< ::SctApi::Trigger > | getTrigger2 () const |
boost::shared_ptr< ::SctApi::Trigger > | getTrigger1 () |
boost::shared_ptr< ::SctApi::Trigger > | getTrigger2 () |
void | setTrigger1 (boost::shared_ptr< ::SctApi::Trigger > trigger) |
void | setTrigger2 (boost::shared_ptr< ::SctApi::Trigger > trigger) |
void | setScanVariable1 (unsigned short var) |
void | setScanVariable2 (unsigned short var) |
unsigned short | getScanVariable1 () const |
unsigned short | getScanVariable2 () const |
void | setNTrigs (unsigned long nTrigs) |
unsigned long | getNTrigs () const |
const TrigPoints | getVariableTrigs () const |
void | setVariableTrigs (const TrigPoints &scans) |
void | setVariableTrigRange (unsigned short start, unsigned short end, unsigned long value) |
const ScanPoints | getScanPoints1 () const |
const ScanPoints | getScanPoints2 () const |
void | setScanPoints1 (const ScanPoints &scans) |
void | setScanPoints2 (const ScanPoints &scans) |
int | getOption (enum ScanOptions) const |
void | setOption (enum ScanOptions, int option) |
void | print () const |
Print the scan. | |
void | setScanNumber (unsigned int scan) |
unsigned int | getScanNumber () const |
void | setRunNumber (unsigned int scan) |
unsigned int | getRunNumber () const |
std::list< std::string > | getModuleList (unsigned int group) const |
void | setModuleList (unsigned int group, std::list< std::string > newList) |
unsigned int | getNGroups () const |
void | setNGroups (unsigned int val) |
virtual boost::posix_time::ptime | getStartTime () const |
virtual void | setStartTime (boost::posix_time::ptime t) |
virtual boost::posix_time::ptime | getEndTime () const |
virtual void | setEndTime (boost::posix_time::ptime t) |
Static Public Member Functions | |
boost::shared_ptr< ScanDefImpl > | clone (const boost::shared_ptr< ::SctApi::Scan > other) |
Data Fields | |
ScanPoints | scanPoints |
Scan points to use for first module set. | |
ScanPoints | scanPoints2 |
Scan points for second module set (not used if empty). | |
TrigPoints | trigPoints |
Trigger count for each scan point. | |
bool | allTrigsSame |
Are all the trigger counts the same?>. | |
Private Member Functions | |
ScanDefImpl & | operator= (const ScanDefImpl &) |
Private Attributes | |
int | scanVariable |
Which variable to scan over. | |
int | scanVariable2 |
Which variable to scan second set over. | |
boost::shared_ptr< Trigger > | trigSequence |
Sequence of triggers to send to module set 1. | |
boost::shared_ptr< Trigger > | trigSequence2 |
Sequence of triggers to send to module set 2. | |
int | full |
Condensed / expanded. | |
int | bits32 |
16 / 32 | |
int | loopCalLine |
Loop over the calibration line during the scan. | |
int | distSlave |
Which slave distribution to use, see SctApi docs. | |
int | debug |
Debug mode (don't kill tasks and don't write data). | |
int | tim |
Use TIM for triggers. | |
int | nth |
When not in group mode, how often to capture an event for histogramming. | |
int | nth_rem |
Which event of the nth past triggers to capture. | |
int | enableDataMode |
Whether or not to enableDataMode when module is configured (usually should be true). | |
unsigned int | scanNumber |
unsigned int | runNumber |
std::vector< std::list< std::string > > | groupLists |
unsigned int | m_maxGroup |
boost::posix_time::ptime | startTime |
The time the scan started. | |
boost::posix_time::ptime | endTime |
The time the scan finished. |
Implement ScanDef class
Definition at line 68 of file SctApiImpl.h.
|
Constructor.
|
|
Call parent's destructor.
|
|
Set up scanPoints.
|
|
Set up scanPoints for set 2.
|
|
Print the scan.
Implements SctApi::Scan. |
|
Are all the trigger counts the same?>.
Definition at line 151 of file SctApiImpl.h. |
|
16 / 32
Definition at line 171 of file SctApiImpl.h. |
|
Debug mode (don't kill tasks and don't write data).
Definition at line 180 of file SctApiImpl.h. |
|
Which slave distribution to use, see SctApi docs.
Definition at line 177 of file SctApiImpl.h. |
|
Whether or not to enableDataMode when module is configured (usually should be true).
Definition at line 192 of file SctApiImpl.h. |
|
The time the scan finished.
Definition at line 201 of file SctApiImpl.h. |
|
Condensed / expanded.
Definition at line 168 of file SctApiImpl.h. |
|
Loop over the calibration line during the scan.
Definition at line 174 of file SctApiImpl.h. |
|
When not in group mode, how often to capture an event for histogramming.
Definition at line 186 of file SctApiImpl.h. |
|
Which event of the nth past triggers to capture.
Definition at line 189 of file SctApiImpl.h. |
|
Scan points to use for first module set.
Definition at line 142 of file SctApiImpl.h. |
|
Scan points for second module set (not used if empty).
Definition at line 145 of file SctApiImpl.h. |
|
Which variable to scan over.
Definition at line 156 of file SctApiImpl.h. |
|
Which variable to scan second set over.
Definition at line 159 of file SctApiImpl.h. |
|
The time the scan started.
Definition at line 200 of file SctApiImpl.h. |
|
Use TIM for triggers.
Definition at line 183 of file SctApiImpl.h. |
|
Trigger count for each scan point.
Definition at line 148 of file SctApiImpl.h. |
|
Sequence of triggers to send to module set 1.
Definition at line 162 of file SctApiImpl.h. |
|
Sequence of triggers to send to module set 2.
Definition at line 165 of file SctApiImpl.h. |