ExtractFast2D::ExtractFast2D |
( |
| ) |
|
|
inline |
size_t ExtractFast2D::computeDiodeCount |
( |
Probe * |
probe, |
|
|
const unsigned char * |
record |
|
) |
| |
|
privatevirtual |
size_t ExtractFast2D::countParticles |
( |
Probe * |
probe, |
|
|
const unsigned char * |
record |
|
) |
| |
|
privatevirtual |
Count number of particles in a record, also report miss-aligned data.
Implements nidas::dynld::raf::Extract2D.
References nidas::dynld::raf::P2d_rec::data, Fast2DsyncStr, FastOverloadSync, nidas::core::DSMSensor::getCatalogName(), nidas::core::DSMSensor::getSuffix(), nidas::dynld::raf::P2d_rec::hour, nidas::dynld::raf::Probe::inDOF, nidas::dynld::raf::P2d_rec::minute, nidas::dynld::raf::P2d_rec::msec, nidas::dynld::raf::Probe::nDiodes, nidas::dynld::raf::Probe::particleCount, nidas::dynld::raf::Probe::recordCount, nidas::dynld::raf::P2d_rec::second, nidas::dynld::raf::Probe::sensor, and nidas::dynld::raf::Probe::totalParticles.
int ExtractFast2D::main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
throw | ( | |
| ) | | |
|
static |
int Extract2D::parseRunstring |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
throw | ( | |
| ) | | |
|
virtualinherited |
int ExtractFast2D::run |
( |
| ) |
|
throw | ( | |
| ) | | |
|
virtual |
Implements nidas::dynld::raf::Extract2D.
References bigEndian, nidas::dynld::raf::Probe::clockFreq, nidas::dynld::raf::P2d_rec::data, nidas::dynld::raf::Probe::diodeCount, _Tap2D_v2::div10, nidas::util::Process::expandEnvVars(), FILE_VERSION, nidas::core::Sample::freeReference(), nidas::core::Project::fromDOMElement(), nidas::core::DSMSensor::getCatalogName(), nidas::core::Sample::getConstVoidDataPtr(), nidas::core::Sample::getDataByteLength(), nidas::core::Project::getDSMConfigIterator(), nidas::core::FileSet::getFileSet(), nidas::core::Sample::getId(), nidas::dynld::SampleInputStream::getInputHeader(), nidas::core::Project::getInstance(), nidas::core::Parameter::getNumericValue(), nidas::core::DSMSensor::getParameter(), nidas::core::DSMConfig::getSensors(), nidas::core::Parameter::getStringValue(), nidas::core::DSMSensor::getSuffix(), nidas::core::DSMConfigIterator::hasNext(), nidas::dynld::raf::Probe::hasOverloadCount, nidas::dynld::raf::P2d_rec::id, nidas::dynld::raf::Probe::id, nidas::dynld::raf::Probe::inDOF, nidas::util::EndianConverter::int32Value(), interrupted, nidas::dynld::raf::Probe::nDiodes, nidas::core::DSMConfigIterator::next(), _Tap2D_v2::ntap, nidas::dynld::raf::P2d_rec::overld, overLoadSync, P2D_DATA, nidas::core::parseXMLConfigFile(), nidas::dynld::raf::Probe::particleCount, nidas::dynld::SampleInputStream::readInputHeader(), nidas::dynld::SampleInputStream::readSample(), nidas::dynld::raf::Probe::recordCount, nidas::dynld::raf::Probe::rejectRecordCount, nidas::dynld::raf::Probe::rejectTooFewDiodesCount, nidas::dynld::raf::Probe::rejectTooFewParticleCount, nidas::dynld::raf::Probe::resolution, nidas::dynld::raf::Probe::resolutionM, nidas::dynld::raf::Probe::sensor, nidas::dynld::raf::Probe::serialNumber, nidas::dynld::raf::P2d_rec::tas, nidas::dynld::raf::Probe::totalParticles, TWOD_IMG_TYPE, TWOD_IMGv2_TYPE, TWOD_IMGv3_TYPE, nidas::dynld::raf::Probe::waveLength, and nidas::util::Exception::what().
Referenced by main().
Method called to write a header to an SampleOutput.
Derived classes implement as they see fit.
Implements nidas::core::HeaderSource.
void Extract2D::setupSignals |
( |
| ) |
|
|
staticinherited |
void Extract2D::sigAction |
( |
int |
sig, |
|
|
siginfo_t * |
siginfo, |
|
|
void * |
|
|
) |
| |
|
staticinherited |
int Extract2D::usage |
( |
const char * |
argv0 | ) |
|
|
virtualinherited |
bool nidas::dynld::raf::Extract2D::copyAllRecords |
|
protectedinherited |
Copy 100% of 2D records from source file to output file, no filtering.
list<string> nidas::dynld::raf::Extract2D::inputFileNames |
|
protectedinherited |
bool Extract2D::interrupted = false |
|
staticprotectedinherited |
size_t nidas::dynld::raf::Extract2D::minNumberParticlesRequired |
|
protectedinherited |
bool nidas::dynld::raf::Extract2D::outputDiodeCount |
|
protectedinherited |
Whether to output diode count histogram.
int nidas::dynld::raf::Extract2D::outputFileLength |
|
protectedinherited |
string nidas::dynld::raf::Extract2D::outputFileName |
|
protectedinherited |
bool nidas::dynld::raf::Extract2D::outputHeader |
|
protectedinherited |
bool nidas::dynld::raf::Extract2D::outputParticleCount |
|
protectedinherited |
Whether to output particle count histogram.
string nidas::dynld::raf::Extract2D::xmlFileName |
|
protectedinherited |
The documentation for this class was generated from the following file: