SpdDacScan Class Reference

Class to manage the generic dac scan of the detector*/. More...

#include <spdDacScan.h>

Inheritance diagram for SpdDacScan:

Inheritance graph
[legend]
Collaboration diagram for SpdDacScan:

Collaboration graph
[legend]

List of all members.

Public Member Functions

unsigned start (UInt32 triggerNumber, UInt8 dacMin, UInt8 dacMax, UInt8 step, UInt8 dacIdentifier, bool InternTrig, UInt32 waitTime)
unsigned restart (void)
 Method to restart the dac scan.
void stop ()
 Method to stop the dac scan.
void scan ()
 Method to lead the dac scan.
bool isActive ()
 method to get if the scan is active or not
void setChipSelected (UInt32 value)
 sets the chip selected
UInt32 getChipSelected (void)
 gets the chip selected
 SpdDacScan (SPDConfig *spdConf)
 constructor
 ~SpdDacScan (void)

Private Member Functions

void SetScansHeader (UInt8 routerNumber)

Private Attributes

bool active
 stores if the channel is active or not
DACParameters dac
 stores the parameters of a dac scan
spdLoggerlog
 logger of the class
bool internalTrigger
 stores if we use internal trigger or not
UInt32 triggerN
 stores the number of triggers
UInt32 chipSelect
 keeps the chip selection for this scan (10 bits)
UInt32 waitTime
 waiting time between steps
UInt8 scanType
 this is a constant and should be 2 for a dac scan
SPDConfigparent
 parent SPDConfig to handle the hardware

Friends

class SpdMinThresScan


Detailed Description

Class to manage the generic dac scan of the detector*/.

Constructor & Destructor Documentation

SpdDacScan::SpdDacScan ( SPDConfig spdConf  ) 

constructor

SpdDacScan::~SpdDacScan ( void   ) 


Member Function Documentation

void SpdDacScan::SetScansHeader ( UInt8  routerNumber  )  [private]

unsigned SpdDacScan::start ( UInt32  triggerNumber,
UInt8  dacMin,
UInt8  dacMax,
UInt8  step,
UInt8  dacIdentifier,
bool  InternTrig,
UInt32  waitTime 
)

Method to start the dac scan

Parameters:
triggerNumber number of triggers to send
dacMin dac value to start the scan
dacMax dac value for the end of the scan
dacIdentifier index identifying the pixel dac for the scan
InternTrig enables internal trigger of not
waitTime time to wait between steps

unsigned SpdDacScan::restart ( void   )  [virtual]

Method to restart the dac scan.

Reimplemented from SpdScan.

void SpdDacScan::stop (  )  [inline, virtual]

Method to stop the dac scan.

Reimplemented from SpdScan.

void SpdDacScan::scan (  )  [virtual]

Method to lead the dac scan.

Reimplemented from SpdScan.

bool SpdDacScan::isActive (  )  [inline, virtual]

method to get if the scan is active or not

Reimplemented from SpdScan.

void SpdDacScan::setChipSelected ( UInt32  value  )  [inline]

sets the chip selected

UInt32 SpdDacScan::getChipSelected ( void   )  [inline]

gets the chip selected


Friends And Related Function Documentation

friend class SpdMinThresScan [friend]


Member Data Documentation

bool SpdDacScan::active [private]

stores if the channel is active or not

DACParameters SpdDacScan::dac [private]

stores the parameters of a dac scan

spdLogger* SpdDacScan::log [private]

logger of the class

bool SpdDacScan::internalTrigger [private]

stores if we use internal trigger or not

UInt32 SpdDacScan::triggerN [private]

stores the number of triggers

UInt32 SpdDacScan::chipSelect [private]

keeps the chip selection for this scan (10 bits)

UInt32 SpdDacScan::waitTime [private]

waiting time between steps

UInt8 SpdDacScan::scanType [private]

this is a constant and should be 2 for a dac scan

SPDConfig* SpdDacScan::parent [private]

parent SPDConfig to handle the hardware


The documentation for this class was generated from the following files:
Generated on Tue Dec 1 12:09:52 2009 for SPD FED Server by  doxygen 1.5.4