TScanDef Class Reference

TScanDef class. More...

#include <TApi.h>

Inheritance diagram for TScanDef:

Inheritance graph
[legend]
Collaboration diagram for TScanDef:

Collaboration graph
[legend]

Public Member Functions

 TScanDef ()
 Constructor.
 TScanDef (const TScanDef &)
virtual ~TScanDef ()
 Call appropriate destructor.
void print ()
 Print the scan (not const as it has to do an update.
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.
void setScanPoint (int index, FLOAT32 value)
 Set individual scanPoints for set 1.
void setScanPoint2 (int index, FLOAT32 value)
 Set individual scanPoints for set 2.
void setTriggersPoint (int index, UINT32 ntrigs)
 Set number of triggers for a scan point.

Data Fields

long trigsPerBurst
 How many triggers to be sent for each scan point.
int scanVariable
 Which variable to scan over.
int scanVariable2
 Which variable to scan second set over.
TTrigger trigSequence
 Sequence of triggers to send to module set 1.
TTrigger 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 put the module into dataTaking mode during configure.
int ccode
 Whether or not to force use of ccode.
int ope
 Whether or not to request ope histograms.

Private Member Functions

TScanDefoperator= (const TScanDef &)
void update ()
 Synchronise worker with other contents of object.

Friends

class TApi

Detailed Description

TScanDef class.

Wrap Scan class for ROOT

Definition at line 89 of file TApi.h.


Constructor & Destructor Documentation

TScanDef::TScanDef  ) 
 

Constructor.

Definition at line 819 of file TApi.cxx.

References configure(), TTrigger::singleL1A(), trigSequence, update(), and ScanDefWrapper::worker.

Here is the call graph for this function:

TScanDef::~TScanDef  )  [virtual]
 

Call appropriate destructor.

Definition at line 837 of file TApi.cxx.


Member Function Documentation

void TScanDef::configure UINT16  type,
FLOAT32  start,
FLOAT32  stop,
FLOAT32  step
 

Set up scanPoints.

Definition at line 900 of file TApi.cxx.

References scanVariable, and ScanDefWrapper::worker.

Referenced by TScanDef().

void TScanDef::configure2 UINT16  type,
FLOAT32  start,
FLOAT32  stop,
FLOAT32  step
 

Set up scanPoints for set 2.

Definition at line 905 of file TApi.cxx.

References scanVariable2, and ScanDefWrapper::worker.

void TScanDef::print  ) 
 

Print the scan (not const as it has to do an update.

Definition at line 895 of file TApi.cxx.

References update(), and ScanDefWrapper::worker.

Here is the call graph for this function:

void TScanDef::setScanPoint int  index,
FLOAT32  value
 

Set individual scanPoints for set 1.

Definition at line 910 of file TApi.cxx.

References ScanDefWrapper::worker.

void TScanDef::setScanPoint2 int  index,
FLOAT32  value
 

Set individual scanPoints for set 2.

Definition at line 914 of file TApi.cxx.

References ScanDefWrapper::worker.

void TScanDef::setTriggersPoint int  index,
UINT32  ntrigs
 

Set number of triggers for a scan point.

Definition at line 918 of file TApi.cxx.

References trigsPerBurst, and ScanDefWrapper::worker.

void TScanDef::update  )  [private]
 

Synchronise worker with other contents of object.

Definition at line 866 of file TApi.cxx.

References bits32, ccode, debug, distSlave, enableDataMode, full, TriggerWrapper::getTrigger(), loopCalLine, nth, nth_rem, ope, scanVariable, scanVariable2, tim, trigSequence, trigSequence2, trigsPerBurst, TTrigger::update(), and ScanDefWrapper::worker.

Referenced by TApi::doRawScan(), TApi::doScan(), print(), TApi::probeScan(), TApi::startAsyncScan(), and TScanDef().

Here is the call graph for this function:


Field Documentation

int TScanDef::bits32
 

16 / 32

Definition at line 138 of file TApi.h.

Referenced by update().

int TScanDef::ccode
 

Whether or not to force use of ccode.

Definition at line 162 of file TApi.h.

Referenced by update().

int TScanDef::debug
 

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

Definition at line 147 of file TApi.h.

Referenced by update().

int TScanDef::distSlave
 

Which slave distribution to use, see SctApi docs.

Definition at line 144 of file TApi.h.

Referenced by update().

int TScanDef::enableDataMode
 

Whether or not to put the module into dataTaking mode during configure.

Definition at line 159 of file TApi.h.

Referenced by update().

int TScanDef::full
 

Condensed / expanded.

Definition at line 135 of file TApi.h.

Referenced by update().

int TScanDef::loopCalLine
 

Loop over the calibration line during the scan.

Definition at line 141 of file TApi.h.

Referenced by update().

int TScanDef::nth
 

When not in group mode, how often to capture an event for histogramming.

Definition at line 153 of file TApi.h.

Referenced by update().

int TScanDef::nth_rem
 

Which event of the nth past triggers to capture.

Definition at line 156 of file TApi.h.

Referenced by update().

int TScanDef::ope
 

Whether or not to request ope histograms.

Definition at line 165 of file TApi.h.

Referenced by update().

int TScanDef::scanVariable
 

Which variable to scan over.

Definition at line 123 of file TApi.h.

Referenced by configure(), and update().

int TScanDef::scanVariable2
 

Which variable to scan second set over.

Definition at line 126 of file TApi.h.

Referenced by configure2(), and update().

int TScanDef::tim
 

Use TIM for triggers.

Definition at line 150 of file TApi.h.

Referenced by update().

TTrigger TScanDef::trigSequence
 

Sequence of triggers to send to module set 1.

Definition at line 129 of file TApi.h.

Referenced by TScanDef(), and update().

TTrigger TScanDef::trigSequence2
 

Sequence of triggers to send to module set 2.

Definition at line 132 of file TApi.h.

Referenced by update().

long TScanDef::trigsPerBurst
 

How many triggers to be sent for each scan point.

Definition at line 120 of file TApi.h.

Referenced by setTriggersPoint(), and update().


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