PSXtcInput/src/DgramSourceFile.cpp File Reference

#include "PSXtcInput/DgramSourceFile.h"
#include <algorithm>
#include "MsgLogger/MsgLogger.h"
#include "PSXtcInput/Exceptions.h"
#include "XtcInput/DgramQueue.h"
#include "XtcInput/DgramReader.h"
#include "XtcInput/MergeMode.h"
#include "XtcInput/XtcFilesPosition.h"

Go to the source code of this file.

Namespaces

namespace  PSXtcInput

Functions

bool isL1Accept (const XtcInput::Dgram &dg)
bool transitionsMatch (const XtcInput::Dgram &dgA, const XtcInput::Dgram &dgB)
bool isFiducialMatchStream (const XtcInput::Dgram &dg, const int firstControlStream)
unsigned absDiff (unsigned a, unsigned b)
bool clockTimesMatch (const XtcInput::Dgram &dgA, const XtcInput::Dgram &dgB)

Variables

const unsigned MAX_SEC_DRIFT_FOR_FIDUCIAL_MATCH = 90


Function Documentation

unsigned @601::absDiff ( unsigned  a,
unsigned  b 
) [static]

Definition at line 67 of file DgramSourceFile.cpp.

Referenced by PSXtcInput::DgramSourceFile::fiducialSecondsMatch().

bool @601::clockTimesMatch ( const XtcInput::Dgram dgA,
const XtcInput::Dgram dgB 
) [static]

Definition at line 72 of file DgramSourceFile.cpp.

References XtcInput::Dgram::dg(), and XtcInput::Dgram::empty().

Referenced by PSXtcInput::DgramSourceFile::sameEvent().

bool @601::isFiducialMatchStream ( const XtcInput::Dgram dg,
const int  firstControlStream 
) [static]

Definition at line 60 of file DgramSourceFile.cpp.

References XtcInput::XtcFileName::empty(), XtcInput::Dgram::empty(), XtcInput::Dgram::file(), and XtcInput::XtcFileName::stream().

Referenced by PSXtcInput::DgramSourceFile::sameEvent().

bool @601::isL1Accept ( const XtcInput::Dgram dg  )  [static]

Definition at line 47 of file DgramSourceFile.cpp.

References XtcInput::Dgram::dg(), and XtcInput::Dgram::empty().

Referenced by PSXtcInput::DgramSourceFile::sameEvent().

bool @601::transitionsMatch ( const XtcInput::Dgram dgA,
const XtcInput::Dgram dgB 
) [static]

Definition at line 53 of file DgramSourceFile.cpp.

References XtcInput::Dgram::dg(), and XtcInput::Dgram::empty().

Referenced by PSXtcInput::DgramSourceFile::sameEvent().


Variable Documentation

const unsigned MAX_SEC_DRIFT_FOR_FIDUCIAL_MATCH = 90 [static]

Definition at line 45 of file DgramSourceFile.cpp.


Generated on 19 Dec 2016 for PSDMSoftware by  doxygen 1.4.7