nidas v1.2.3
|
Public Member Functions | |
ExtractDMT () | |
virtual int | parseRunstring (int argc, char **argv) throw () |
virtual int | usage (const char *argv0) |
int | run () throw () |
void | sendHeader (dsm_time_t, SampleOutput *out) |
Static Public Member Functions | |
static int | main (int argc, char **argv) throw () |
static void | sigAction (int sig, siginfo_t *siginfo, void *) |
static void | setupSignals () |
static void | setDefaults (SampleInputHeader &header) |
static void | sendDefaultHeader (SampleOutput *output) |
Protected Member Functions | |
void | setTimeStamp (P2d_rec &record, Sample *samp) |
Decode Sample time tag and place into outgoing record. | |
void | setTimeStamp (PADS_rec &record, Sample *samp) |
Protected Attributes | |
bool | outputHeader |
bool | outputDiodeCount |
Whether to output diode count histogram. | |
bool | outputParticleCount |
Whether to output particle count histogram. | |
bool | copyAllRecords |
Copy 100% of 2D records from source file to output file, no filtering. | |
string | xmlFileName |
list< string > | inputFileNames |
string | outputFileName |
int | outputFileLength |
SampleInputHeader | header |
set< dsm_sample_id_t > | includeIds |
set< dsm_sample_id_t > | excludeIds |
map< dsm_sample_id_t, dsm_sample_id_t > | newids |
size_t | minNumberParticlesRequired |
Static Protected Attributes | |
static bool | interrupted = false |
Private Member Functions | |
size_t | countParticles (Probe *probe, const unsigned char *record) |
Count number of particles in a record, also report miss-aligned data. | |
size_t | computeDiodeCount (Probe *probe, const unsigned char *record) |
Sum occluded diodes along the flight path. | |
ExtractDMT::ExtractDMT | ( | ) |
References nidas::dynld::raf::Extract2D::outputHeader.
Sum occluded diodes along the flight path.
This increments for the whole flight. Help find stuck bits.
Implements nidas::dynld::raf::Extract2D.
References nidas::core::getSample(), P2D_DATA, and syncStr.
Referenced by run().
Count number of particles in a record, also report miss-aligned data.
Implements nidas::dynld::raf::Extract2D.
References nidas::core::getSample(), and syncStr.
Referenced by run().
References nidas::core::getSample(), and setupSignals().
Referenced by main().
Reimplemented from nidas::dynld::raf::Extract2D.
References nidas::core::getSample(), and usage().
|
virtual |
Implements nidas::dynld::raf::Extract2D.
References computeDiodeCount(), nidas::dynld::raf::Extract2D::copyAllRecords, countParticles(), FILE_VERSION, nidas::core::DSMSensor::getCatalogName(), nidas::core::SampleInputHeader::getConfigName(), nidas::core::FileSet::getFileSet(), nidas::core::Sample::getId(), nidas::core::Project::getInstance(), nidas::core::DSMSensor::getParameter(), nidas::core::SampleInputHeader::getProjectName(), nidas::core::getSample(), nidas::core::DSMConfig::getSensors(), nidas::core::SampleInputHeader::getSystemName(), nidas::dynld::raf::Extract2D::header, nidas::dynld::raf::Probe::id, nidas::dynld::raf::Extract2D::includeIds, nidas::dynld::raf::Extract2D::inputFileNames, nidas::dynld::raf::Extract2D::interrupted, nidas::dynld::raf::Extract2D::minNumberParticlesRequired, nidas::dynld::raf::Probe::nDiodes, nidas::dynld::raf::Extract2D::outputDiodeCount, nidas::dynld::raf::Extract2D::outputFileName, nidas::dynld::raf::Extract2D::outputHeader, nidas::dynld::raf::Extract2D::outputParticleCount, P2D_DATA, nidas::core::parseXMLConfigFile(), nidas::dynld::raf::Probe::resolution, nidas::dynld::raf::Probe::resolutionM, nidas::dynld::raf::Probe::sensor, nidas::dynld::raf::Probe::serialNumber, nidas::dynld::raf::Extract2D::setTimeStamp(), and nidas::dynld::raf::Extract2D::xmlFileName.
|
staticinherited |
nidas::util::IOException |
References nidas::core::HeaderSource::setDefaults(), and nidas::core::SampleInputHeader::write().
Referenced by nidas::core::SampleOutputBase::createNextFile(), and nidas::dynld::raf::SyncRecordGenerator::sendHeader().
|
virtualinherited |
nidas::util::IOException |
Implements nidas::core::HeaderSource.
References nidas::dynld::raf::Extract2D::header, and nidas::core::SampleInputHeader::write().
|
staticinherited |
References nidas::core::Version::getArchiveVersion(), nidas::core::Project::getInstance(), nidas::core::Version::getSoftwareVersion(), nidas::core::SampleInputHeader::setArchiveVersion(), nidas::core::SampleInputHeader::setConfigName(), nidas::core::SampleInputHeader::setConfigVersion(), nidas::core::SampleInputHeader::setProjectName(), nidas::core::SampleInputHeader::setSoftwareVersion(), and nidas::core::SampleInputHeader::setSystemName().
Referenced by nidas::core::HeaderSource::sendDefaultHeader().
Decode Sample time tag and place into outgoing record.
References nidas::core::getSample(), and nidas::core::Sample::getTimeTag().
Referenced by ExtractFast2D::run(), and run().
References nidas::core::getSample(), and nidas::core::Sample::getTimeTag().
|
staticinherited |
References nidas::core::getSample(), and nidas::dynld::raf::Extract2D::sigAction().
Referenced by ExtractFast2D::main().
References nidas::core::getSample(), and nidas::dynld::raf::Extract2D::interrupted.
Referenced by nidas::dynld::raf::Extract2D::setupSignals().
Reimplemented from nidas::dynld::raf::Extract2D.
References nidas::core::getSample().
|
protectedinherited |
Copy 100% of 2D records from source file to output file, no filtering.
Referenced by ExtractFast2D::run(), and run().
|
protectedinherited |
|
protectedinherited |
Referenced by ExtractFast2D::run(), run(), and nidas::dynld::raf::Extract2D::sendHeader().
|
protectedinherited |
Referenced by ExtractFast2D::run(), and run().
|
protectedinherited |
Referenced by ExtractFast2D::run(), and run().
Referenced by ExtractFast2D::run(), run(), and nidas::dynld::raf::Extract2D::sigAction().
|
protectedinherited |
Referenced by ExtractFast2D::run(), and run().
|
protectedinherited |
|
protectedinherited |
Whether to output diode count histogram.
Referenced by ExtractFast2D::run(), and run().
|
protectedinherited |
|
protectedinherited |
Referenced by ExtractFast2D::run(), and run().
|
protectedinherited |
Referenced by ExtractDMT(), ExtractFast2D::run(), and run().
|
protectedinherited |
Whether to output particle count histogram.
Referenced by ExtractFast2D::run(), and run().
|
protectedinherited |
Referenced by ExtractFast2D::run(), and run().