#include <spdDacScan.h>
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 | |
spdLogger * | log |
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 | |
SPDConfig * | parent |
parent SPDConfig to handle the hardware | |
Friends | |
class | SpdMinThresScan |
SpdDacScan::SpdDacScan | ( | SPDConfig * | spdConf | ) |
constructor
SpdDacScan::~SpdDacScan | ( | void | ) |
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
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] |
void SpdDacScan::stop | ( | ) | [inline, virtual] |
void SpdDacScan::scan | ( | ) | [virtual] |
bool SpdDacScan::isActive | ( | ) | [inline, virtual] |
void SpdDacScan::setChipSelected | ( | UInt32 | value | ) | [inline] |
sets the chip selected
UInt32 SpdDacScan::getChipSelected | ( | void | ) | [inline] |
gets the chip selected
friend class SpdMinThresScan [friend] |
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