nidas
v1.2-1520
|
#include <Extract2D.h>
Public Member Functions | |
Extract2D () | |
virtual int | parseRunstring (int argc, char **argv) throw () |
virtual int | usage (const char *argv0) |
virtual int | run ()=0 throw () |
void | sendHeader (dsm_time_t, SampleOutput *out) throw (nidas::util::IOException) |
Method called to write a header to an SampleOutput. More... | |
Static Public Member Functions | |
static void | sigAction (int sig, siginfo_t *siginfo, void *) |
static void | setupSignals () |
static void | setDefaults (SampleInputHeader &header) |
static void | sendDefaultHeader (SampleOutput *output) throw (nidas::util::IOException) |
Protected Member Functions | |
virtual size_t | countParticles (Probe *probe, const unsigned char *record)=0 |
Count number of particles in a record, also report miss-aligned data. More... | |
virtual size_t | computeDiodeCount (Probe *probe, const unsigned char *record)=0 |
Sum occluded diodes along the flight path. More... | |
void | setTimeStamp (P2d_rec &record, Sample *samp) |
Decode Sample time tag and place into outgoing record. More... | |
void | setTimeStamp (PADS_rec &record, Sample *samp) |
Protected Attributes | |
bool | outputHeader |
bool | outputDiodeCount |
Whether to output diode count histogram. More... | |
bool | outputParticleCount |
Whether to output particle count histogram. More... | |
bool | copyAllRecords |
Copy 100% of 2D records from source file to output file, no filtering. More... | |
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 |
Extract2D::Extract2D | ( | ) |
|
protectedpure virtual |
Sum occluded diodes along the flight path.
This increments for the whole flight. Help find stuck bits.
Implemented in ExtractFast2D, and ExtractDMT.
|
protectedpure virtual |
Count number of particles in a record, also report miss-aligned data.
Implemented in ExtractFast2D, and ExtractDMT.
|
virtual |
|
pure virtual |
Implemented in ExtractFast2D, and ExtractDMT.
|
staticinherited |
|
virtual |
Method called to write a header to an SampleOutput.
Derived classes implement as they see fit.
Implements nidas::core::HeaderSource.
|
staticinherited |
References nidas::core::Version::getArchiveVersion(), nidas::core::Project::getInstance(), nidas::core::Version::getSoftwareVersion(), nidas::core::Project::getSystemName(), 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().
Decode Sample time tag and place into outgoing record.
References nidas::dynld::raf::P2d_rec::day, nidas::core::Sample::getTimeTag(), nidas::dynld::raf::P2d_rec::hour, nidas::dynld::raf::P2d_rec::minute, nidas::dynld::raf::P2d_rec::month, nidas::dynld::raf::P2d_rec::msec, nidas::dynld::raf::P2d_rec::second, nidas::util::UTime::toTm(), and nidas::dynld::raf::P2d_rec::year.
References nidas::dynld::raf::PADS_rec::day, nidas::core::Sample::getTimeTag(), nidas::dynld::raf::PADS_rec::hour, nidas::dynld::raf::PADS_rec::minute, nidas::dynld::raf::PADS_rec::month, nidas::dynld::raf::PADS_rec::msec, nidas::dynld::raf::PADS_rec::second, nidas::util::UTime::toTm(), and nidas::dynld::raf::PADS_rec::year.
|
static |
References sigAction().
|
static |
References interrupted.
|
virtual |
Reimplemented in ExtractDMT.
|
protected |
Copy 100% of 2D records from source file to output file, no filtering.
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
Whether to output diode count histogram.
|
protected |
|
protected |
|
protected |
|
protected |
Whether to output particle count histogram.
|
protected |