#include <SpdUniMatrixScan.h>
Public Member Functions | |
unsigned | start (unsigned trigNumber, unsigned rStart, unsigned rEnd, bool mskNActive) |
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 | |
SpdUniMatrixScan (SPDConfig *spdconf) | |
~SpdUniMatrixScan (void) | |
Private Member Functions | |
void | SetMatrixToAllEnabled (UInt8 rowStart, UInt8 nRows) |
sets a certain number of TP rows all enabled channels | |
void | SetScansHeader (UInt8 routerNumber) |
Private Attributes | |
bool | active |
unsigned | triggerNumber |
unsigned | rowStart |
unsigned | rowEnd |
bool | maskNoActive |
unsigned | currentRow |
timer | timerScan |
timer for the scan | |
spdLogger * | log |
logger of the class | |
UInt8 | scanType |
SPDConfig * | parent |
parent SPDConfig to handle the hardware |
Class to perform a uniformity matrix scan in this scans basically the test pulses are set in all the detector, row by row and its checked if all the pixels receive the same number of hits
SpdUniMatrixScan::SpdUniMatrixScan | ( | SPDConfig * | spdconf | ) |
SpdUniMatrixScan::~SpdUniMatrixScan | ( | void | ) |
sets a certain number of TP rows all enabled channels
void SpdUniMatrixScan::SetScansHeader | ( | UInt8 | routerNumber | ) | [private] |
will write the router header for this scan
routerNumber,router | number |
unsigned SpdUniMatrixScan::start | ( | unsigned | trigNumber, | |
unsigned | rStart, | |||
unsigned | rEnd, | |||
bool | mskNActive | |||
) |
method to start the scan
trigNumber | number of triggers to send | |
rStart | row where the scan starts | |
rEnd | row where the scan finishes enable or disable the masking of not used rows |
unsigned SpdUniMatrixScan::restart | ( | void | ) | [virtual] |
void SpdUniMatrixScan::stop | ( | ) | [inline, virtual] |
void SpdUniMatrixScan::scan | ( | ) | [virtual] |
bool SpdUniMatrixScan::isActive | ( | ) | [inline, virtual] |
bool SpdUniMatrixScan::active [private] |
unsigned SpdUniMatrixScan::triggerNumber [private] |
unsigned SpdUniMatrixScan::rowStart [private] |
unsigned SpdUniMatrixScan::rowEnd [private] |
bool SpdUniMatrixScan::maskNoActive [private] |
unsigned SpdUniMatrixScan::currentRow [private] |
timer SpdUniMatrixScan::timerScan [private] |
timer for the scan
spdLogger* SpdUniMatrixScan::log [private] |
logger of the class
UInt8 SpdUniMatrixScan::scanType [private] |
SPDConfig* SpdUniMatrixScan::parent [private] |
parent SPDConfig to handle the hardware