#include <ScanMap.h>
Public Member Functions | |
void | initialize (string fileName) |
Initialize the ScanMap with filename. | |
string | getDataFile (string serialNum, const ABCDModule &config, unsigned short scanVar) const |
Gets the data file for a given module, configuration and scan variable. | |
Static Public Member Functions | |
static ScanMap & | instance () |
Get the instance of the ScanMap. | |
static string | convertSerial (string serialNum) |
Converts a serial number into the serial number of the stored data. | |
Private Types | |
typedef multimap< ScanInfo, string > | DigitalMap |
typedef multimap< string, ThresholdScanDetails > | ThresholdMap |
typedef multimap< string, StrobeDelayScanDetails > | StrobeMap |
Private Member Functions | |
ScanMap () | |
string | getThresholdDataFile (string serialNum, const ABCDModule &config) const |
string | getStrobeDataFile (string serialNum, const ABCDModule &config) const |
void | addFullBypassTest (const ModuleDataRecord &mdr) |
void | addPipelineTest (const ModuleDataRecord &mdr) |
void | addStrobeDelay (const ModuleDataRecord &mdr) |
void | addThreePointGain (const ModuleDataRecord &mdr) |
void | addTrim (const ModuleDataRecord &mdr) |
void | addResponseCurve (const ModuleDataRecord &mdr) |
void | addNoise (const ModuleDataRecord &mdr) |
void | addTimewalk (const ModuleDataRecord &mdr) |
string | constructFileName (string path, unsigned int runNumber, unsigned int scanNumber) const |
Private Attributes | |
DigitalMap | digitalMap |
ThresholdMap | thresholdMap |
StrobeMap | strobeMap |
Definition at line 23 of file ScanMap.h.
|
Converts a serial number into the serial number of the stored data.
Definition at line 18 of file ScanMap.cpp. Referenced by getDataFile(). |
|
Gets the data file for a given module, configuration and scan variable.
Definition at line 25 of file ScanMap.cpp. References convertSerial(), digitalMap, getStrobeDataFile(), getThresholdDataFile(), SctTest::ScanInfo::scanVar, and SctTest::ScanInfo::serialNum. Here is the call graph for this function: ![]() |
|
Initialize the ScanMap with filename. Clears the map first
Definition at line 76 of file ScanMap.cpp. References addFullBypassTest(), addNoise(), addPipelineTest(), addResponseCurve(), addStrobeDelay(), addThreePointGain(), addTimewalk(), addTrim(), digitalMap, SctTest::ModuleDataFile::getNextRecord(), SctTest::ModuleDataFile::hasMoreRecords(), strobeMap, and thresholdMap. Referenced by SctTest::Configuration::handy_setDataFile(). Here is the call graph for this function: ![]() |
|
Get the instance of the ScanMap.
Definition at line 13 of file ScanMap.cpp. Referenced by SctTest::Configuration::handy_setDataFile(). |