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) |
std::string | print () const |
Print the scan. | |
void | setScanNumber (unsigned int scan) |
unsigned int | getScanNumber () const |
void | setRunNumber (unsigned int scan) |
unsigned int | getRunNumber () const |
::SctApi::ModuleList | getModuleList (unsigned int group) const |
void | setModuleList (unsigned int group, const ::SctApi::ModuleList &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 | |
static boost::shared_ptr< ScanDefImpl > | clone (const boost::shared_ptr< const ::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). | |
int | ccode |
Whether or not to use ccode DSP method for histogramming. | |
int | ope |
Whether or not to produce occupancy per event histograms. | |
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. |
Definition at line 23 of file ScanDefImpl.h.
|
Constructor.
Definition at line 336 of file SctApiImpl.cxx. References scanPoints, scanPoints2, and trigPoints. |
|
Call parent's destructor.
Definition at line 361 of file SctApiImpl.cxx. |
|
Set up scanPoints.
|
|
Set up scanPoints for set 2.
|
|
Print the scan.
Implements SctApi::Scan. Definition at line 666 of file SctApiImpl.cxx. References allTrigsSame, getNTrigs(), getRunNumber(), getScanNumber(), and getVariableTrigs(). Here is the call graph for this function: ![]() |
|
Are all the trigger counts the same?>.
Definition at line 110 of file ScanDefImpl.h. Referenced by print(), setScanPoints1(), setVariableTrigRange(), and setVariableTrigs(). |
|
16 / 32
Definition at line 130 of file ScanDefImpl.h. Referenced by getOption(), and setOption(). |
|
Whether or not to use ccode DSP method for histogramming.
Definition at line 154 of file ScanDefImpl.h. Referenced by getOption(), and setOption(). |
|
Debug mode (don't kill tasks and don't write data).
Definition at line 139 of file ScanDefImpl.h. Referenced by getOption(), and setOption(). |
|
Which slave distribution to use, see SctApi docs.
Definition at line 136 of file ScanDefImpl.h. Referenced by getOption(), and setOption(). |
|
Whether or not to enableDataMode when module is configured (usually should be true).
Definition at line 151 of file ScanDefImpl.h. Referenced by getOption(), and setOption(). |
|
The time the scan finished.
Definition at line 166 of file ScanDefImpl.h. Referenced by getEndTime(). |
|
Condensed / expanded.
Definition at line 127 of file ScanDefImpl.h. Referenced by getOption(), and setOption(). |
|
Loop over the calibration line during the scan.
Definition at line 133 of file ScanDefImpl.h. Referenced by getOption(), and setOption(). |
|
When not in group mode, how often to capture an event for histogramming.
Definition at line 145 of file ScanDefImpl.h. Referenced by getOption(), and setOption(). |
|
Which event of the nth past triggers to capture.
Definition at line 148 of file ScanDefImpl.h. Referenced by getOption(), and setOption(). |
|
Whether or not to produce occupancy per event histograms.
Definition at line 157 of file ScanDefImpl.h. Referenced by getOption(), and setOption(). |
|
Scan points to use for first module set.
Definition at line 101 of file ScanDefImpl.h. Referenced by getScanPoints1(), ScanDefImpl(), setNTrigs(), and setScanPoints1(). |
|
Scan points for second module set (not used if empty).
Definition at line 104 of file ScanDefImpl.h. Referenced by getScanPoints2(), ScanDefImpl(), and setScanPoints2(). |
|
Which variable to scan over.
Definition at line 115 of file ScanDefImpl.h. Referenced by getScanVariable1(), and setScanVariable1(). |
|
Which variable to scan second set over.
Definition at line 118 of file ScanDefImpl.h. Referenced by getScanVariable2(), and setScanVariable2(). |
|
The time the scan started.
Definition at line 165 of file ScanDefImpl.h. Referenced by getStartTime(). |
|
Use TIM for triggers.
Definition at line 142 of file ScanDefImpl.h. Referenced by getOption(), and setOption(). |
|
Trigger count for each scan point.
Definition at line 107 of file ScanDefImpl.h. Referenced by getNTrigs(), getVariableTrigs(), ScanDefImpl(), setNTrigs(), setScanPoints1(), setVariableTrigRange(), and setVariableTrigs(). |
|
Sequence of triggers to send to module set 1.
Definition at line 121 of file ScanDefImpl.h. Referenced by getTrigger1(), and setTrigger1(). |
|
Sequence of triggers to send to module set 2.
Definition at line 124 of file ScanDefImpl.h. Referenced by getTrigger2(), and setTrigger2(). |