SctApi::ScanDefImpl Class Reference

Inheritance diagram for SctApi::ScanDefImpl:

Inheritance graph
[legend]
Collaboration diagram for SctApi::ScanDefImpl:

Collaboration graph
[legend]

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::TriggergetTrigger1 ()
boost::shared_ptr< ::SctApi::TriggergetTrigger2 ()
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

ScanDefImploperator= (const ScanDefImpl &)

Private Attributes

int scanVariable
 Which variable to scan over.
int scanVariable2
 Which variable to scan second set over.
boost::shared_ptr< TriggertrigSequence
 Sequence of triggers to send to module set 1.
boost::shared_ptr< TriggertrigSequence2
 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.

Detailed Description

Definition at line 23 of file ScanDefImpl.h.


Constructor & Destructor Documentation

ScanDefImpl::ScanDefImpl  ) 
 

Constructor.

Definition at line 336 of file SctApiImpl.cxx.

References scanPoints, scanPoints2, and trigPoints.

ScanDefImpl::~ScanDefImpl  )  [virtual]
 

Call parent's destructor.

Definition at line 361 of file SctApiImpl.cxx.


Member Function Documentation

void SctApi::ScanDefImpl::configure UINT16  type,
FLOAT32  start,
FLOAT32  stop,
FLOAT32  step
 

Set up scanPoints.

void SctApi::ScanDefImpl::configure2 UINT16  type,
FLOAT32  start,
FLOAT32  stop,
FLOAT32  step
 

Set up scanPoints for set 2.

std::string ScanDefImpl::print  )  const [virtual]
 

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:


Field Documentation

bool SctApi::ScanDefImpl::allTrigsSame
 

Are all the trigger counts the same?>.

Definition at line 110 of file ScanDefImpl.h.

Referenced by print(), setScanPoints1(), setVariableTrigRange(), and setVariableTrigs().

int SctApi::ScanDefImpl::bits32 [private]
 

16 / 32

Definition at line 130 of file ScanDefImpl.h.

Referenced by getOption(), and setOption().

int SctApi::ScanDefImpl::ccode [private]
 

Whether or not to use ccode DSP method for histogramming.

Definition at line 154 of file ScanDefImpl.h.

Referenced by getOption(), and setOption().

int SctApi::ScanDefImpl::debug [private]
 

Debug mode (don't kill tasks and don't write data).

Definition at line 139 of file ScanDefImpl.h.

Referenced by getOption(), and setOption().

int SctApi::ScanDefImpl::distSlave [private]
 

Which slave distribution to use, see SctApi docs.

Definition at line 136 of file ScanDefImpl.h.

Referenced by getOption(), and setOption().

int SctApi::ScanDefImpl::enableDataMode [private]
 

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().

boost::posix_time::ptime SctApi::ScanDefImpl::endTime [private]
 

The time the scan finished.

Definition at line 166 of file ScanDefImpl.h.

Referenced by getEndTime().

int SctApi::ScanDefImpl::full [private]
 

Condensed / expanded.

Definition at line 127 of file ScanDefImpl.h.

Referenced by getOption(), and setOption().

int SctApi::ScanDefImpl::loopCalLine [private]
 

Loop over the calibration line during the scan.

Definition at line 133 of file ScanDefImpl.h.

Referenced by getOption(), and setOption().

int SctApi::ScanDefImpl::nth [private]
 

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().

int SctApi::ScanDefImpl::nth_rem [private]
 

Which event of the nth past triggers to capture.

Definition at line 148 of file ScanDefImpl.h.

Referenced by getOption(), and setOption().

int SctApi::ScanDefImpl::ope [private]
 

Whether or not to produce occupancy per event histograms.

Definition at line 157 of file ScanDefImpl.h.

Referenced by getOption(), and setOption().

ScanPoints SctApi::ScanDefImpl::scanPoints
 

Scan points to use for first module set.

Definition at line 101 of file ScanDefImpl.h.

Referenced by getScanPoints1(), ScanDefImpl(), setNTrigs(), and setScanPoints1().

ScanPoints SctApi::ScanDefImpl::scanPoints2
 

Scan points for second module set (not used if empty).

Definition at line 104 of file ScanDefImpl.h.

Referenced by getScanPoints2(), ScanDefImpl(), and setScanPoints2().

int SctApi::ScanDefImpl::scanVariable [private]
 

Which variable to scan over.

Definition at line 115 of file ScanDefImpl.h.

Referenced by getScanVariable1(), and setScanVariable1().

int SctApi::ScanDefImpl::scanVariable2 [private]
 

Which variable to scan second set over.

Definition at line 118 of file ScanDefImpl.h.

Referenced by getScanVariable2(), and setScanVariable2().

boost::posix_time::ptime SctApi::ScanDefImpl::startTime [private]
 

The time the scan started.

Definition at line 165 of file ScanDefImpl.h.

Referenced by getStartTime().

int SctApi::ScanDefImpl::tim [private]
 

Use TIM for triggers.

Definition at line 142 of file ScanDefImpl.h.

Referenced by getOption(), and setOption().

TrigPoints SctApi::ScanDefImpl::trigPoints
 

Trigger count for each scan point.

Definition at line 107 of file ScanDefImpl.h.

Referenced by getNTrigs(), getVariableTrigs(), ScanDefImpl(), setNTrigs(), setScanPoints1(), setVariableTrigRange(), and setVariableTrigs().

boost::shared_ptr<Trigger> SctApi::ScanDefImpl::trigSequence [private]
 

Sequence of triggers to send to module set 1.

Definition at line 121 of file ScanDefImpl.h.

Referenced by getTrigger1(), and setTrigger1().

boost::shared_ptr<Trigger> SctApi::ScanDefImpl::trigSequence2 [private]
 

Sequence of triggers to send to module set 2.

Definition at line 124 of file ScanDefImpl.h.

Referenced by getTrigger2(), and setTrigger2().


The documentation for this class was generated from the following files:
Generated on Mon Feb 6 14:04:36 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6