ldas-tools-framecpp 3.0.4
 
Loading...
Searching...
No Matches
FrameCPP::Version_3::FrAdcData Class Reference

ADC Data Structure Definition. More...

#include <FrAdcData.hh>

Inheritance diagram for FrameCPP::Version_3::FrAdcData:
Collaboration diagram for FrameCPP::Version_3::FrAdcData:

Public Member Functions

 FrAdcData ()
 Default constructor.
 
const std::string & GetNameSlow () const
 Retrieve the name of the FrAdcData struture.
 
virtual bool operator== (const Common::FrameSpec::Object &Obj) const
 comparison operator
 
cmn_streamsize_type Bytes (const Common::StreamBase &Stream) const
 Return the number of bytes for this object.
 
virtual const char * ObjectStructName () const
 Retrieve the class name of the object.
 
virtual FrAdcDataCreate (istream_type &Stream) const
 constructor - virtual
 
virtual void Write (ostream_type &Stream) const
 Write object to the stream.
 
 FrAdcData ()
 Default constructor.
 
const std::string & GetNameSlow () const
 Retrieve the name of the FrAdcData struture.
 
virtual bool operator== (const Common::FrameSpec::Object &Obj) const
 comparison operator
 
cmn_streamsize_type Bytes (const Common::StreamBase &Stream) const
 Return the number of bytes for this object.
 
virtual const char * ObjectStructName () const
 Retrieve the class name of the object.
 
virtual FrAdcDataCreate (istream_type &Stream) const
 constructor - virtual
 
virtual void Write (ostream_type &Stream) const
 Write object to the stream.
 
void AppendComment (const comment_type &Comment)
 Extend the comment associated with the FrAdcData structure.
 
void AppendComment (const comment_type &Comment)
 Extend the comment associated with the FrAdcData structure.
 
const name_type & GetName () const
 Return the name associate with the FrAdcData structure.
 
const name_type & GetName () const
 Return the name associate with the FrAdcData structure.
 
const comment_type & GetComment () const
 A brief description of the FrAdcData structure.
 
const comment_type & GetComment () const
 A brief description of the FrAdcData structure.
 
channel_type GetChannel () const
 The channel number for the FrAdcData.
 
channel_type GetChannel () const
 The channel number for the FrAdcData.
 
crate_type GetCrate () const
 The crate number for the FrAdcData.
 
crate_type GetCrate () const
 The crate number for the FrAdcData.
 
nBits_type GetNBits () const
 Tne number of bits in the A/D output.
 
nBits_type GetNBits () const
 Tne number of bits in the A/D output.
 
bias_type GetBias () const
 DC bias on channel.
 
bias_type GetBias () const
 DC bias on channel.
 
slope_type GetSlope () const
 ADC calibration units per count.
 
slope_type GetSlope () const
 ADC calibration units per count.
 
STRING GetUnits () const
 The units used in the ADC calibration.
 
STRING GetUnits () const
 The units used in the ADC calibration.
 
sampleRate_type GetSampleRate () const
 The data acquisition rate.
 
sampleRate_type GetSampleRate () const
 The data acquisition rate.
 
timeOffsetS_type GetTimeOffsetS () const
 The offset of the first sample relative to the frame start time.
 
timeOffsetS_type GetTimeOffsetS () const
 The offset of the first sample relative to the frame start time.
 
timeOffsetN_type GetTimeOffsetN () const
 The offset of the first sample relative to the frame start time.
 
timeOffsetN_type GetTimeOffsetN () const
 The offset of the first sample relative to the frame start time.
 
fShift_type GetFShift () const
 The frequency in the original data corresponding to 0 Hz.
 
fShift_type GetFShift () const
 The frequency in the original data corresponding to 0 Hz.
 
overRange_type GetOverRange () const
 Retrieve the overRange value.
 
overRange_type GetOverRange () const
 Retrieve the overRange value.
 
void SetCrate (crate_type Value)
 Set the numeric crate id for the channel.
 
void SetCrate (crate_type Value)
 Set the numeric crate id for the channel.
 
void SetChannel (channel_type Value)
 Set the numeric id for the channel.
 
void SetChannel (channel_type Value)
 Set the numeric id for the channel.
 
void SetComment (const comment_type &comment)
 Set the comment associated with the FrAdcData structure.
 
void SetComment (const comment_type &comment)
 Set the comment associated with the FrAdcData structure.
 
void SetOverRange (overRange_type flag)
 Establish the value of the overRange field.
 
void SetOverRange (overRange_type flag)
 Establish the value of the overRange field.
 
void SetBias (bias_type bias)
 Establish the value of the bias field.
 
void SetBias (bias_type bias)
 Establish the value of the bias field.
 
void SetNBits (nBits_type NBits)
 The number of bits in the A/D output.
 
void SetNBits (nBits_type NBits)
 The number of bits in the A/D output.
 
void SetSampleRate (sampleRate_type SampleRate)
 Establish the value of the sampleRate field.
 
void SetSampleRate (sampleRate_type SampleRate)
 Establish the value of the sampleRate field.
 
void SetSlope (slope_type slope)
 Establish the value of the slope field.
 
void SetSlope (slope_type slope)
 Establish the value of the slope field.
 
void SetTimeOffset (timeOffsetS_type Seconds, timeOffsetN_type Nanoseconds)
 Establish the value of the timeOffset field.
 
void SetTimeOffsetS (timeOffsetS_type time)
 Establish the value of the timeOffset field.
 
void SetTimeOffsetS (timeOffsetS_type time)
 Establish the value of the timeOffset field.
 
void SetTimeOffsetN (timeOffsetN_type time)
 Establish the value of the timeOffset field.
 
void SetTimeOffsetN (timeOffsetN_type time)
 Establish the value of the timeOffset field.
 
class_type GetClass () const
 Retrieve the class identifier.
 
class_type GetClass () const
 Retrieve the class identifier.
 
virtual const Description * GetDescription () const
 Retrieve FrSH/FrSE description of the parent object.
 
virtual const Description * GetDescription () const
 Retrieve FrSH/FrSE description of the parent object.
 
ostream_type & WriteNext (ostream_type &Stream) const
 Write a next pointer to the parent to the stream.
 
ostream_type & WriteNext (ostream_type &Stream) const
 Write a next pointer to the parent to the stream.
 
virtual ObjectCreate () const
 constructor - virtual
 
virtual ObjectCreate (std::istream &Buffer) const
 constructor - virtual
 
virtual ObjectClone () const
 constructor - virtual copy constructor
 
virtual ObjectClone () const
 constructor - virtual copy constructor
 
virtual void VerifyObject (Verify &Verifier, IFrameStream &Stream) const
 Verify an object.
 
virtual void VerifyObject (Verify &Verifier, IFrameStream &Stream) const
 Verify an object.
 

Static Public Member Functions

static object_type DemoteObject (frame_spec_version_type Target, object_type Obj, demote_stream_type *Stream)
 Down grade an object.
 
static object_type DemoteObject (frame_spec_version_type Target, object_type Obj, demote_stream_type *Stream)
 Down grade an object.
 
static object_type PromoteObject (frame_spec_version_type Target, frame_spec_version_type Source, object_type Obj, stream_base_type *Stream)
 Upgrade an object.
 
template<typename PreviousType, typename CurrentType>
static object_type PromoteObject (frame_spec_version_type Target, frame_spec_version_type Source, object_type Obj, stream_base_type *Stream)
 Upgrade an object.
 
static object_type PromoteObject (frame_spec_version_type Target, frame_spec_version_type Source, object_type Obj, stream_base_type *Stream)
 Upgrade an object.
 
template<typename PreviousType, typename CurrentType>
static object_type PromoteObject (frame_spec_version_type Target, frame_spec_version_type Source, object_type Obj, stream_base_type *Stream)
 Upgrade an object.
 

Protected Member Functions

virtual demote_ret_type demote (INT_2U Target, demote_arg_type Obj, demote_stream_type *Stream) const
 Down grade an object.
 
virtual promote_ret_type promote (INT_2U Target, promote_arg_type Obj, promote_stream_type *Stream) const
 Upgrade an object.
 
virtual demote_ret_type demote (INT_2U Target, demote_arg_type Obj, demote_stream_type *Stream) const
 Down grade an object.
 
virtual promote_ret_type promote (INT_2U Target, promote_arg_type Obj, promote_stream_type *Stream) const
 Upgrade an object.
 
cmn_streamsize_type bytes (const Common::StreamBase &Stream) const
 Number of bytes needed to write this structure.
 
cmn_streamsize_type bytes (const Common::StreamBase &Stream) const
 Number of bytes needed to write this structure.
 
void write (Common::OStream &Stream) const
 Write contents to the stream.
 
void write (Common::OStream &Stream) const
 Write contents to the stream.
 
bool operator== (const FrAdcDataNPS &RHS) const
 Comparison operator.
 
virtual class_type getClass () const
 Retrieve the class identifier.
 
virtual class_type getClass () const
 Retrieve the class identifier.
 

Protected Attributes

name_type name
 
comment_type comment
 
crate_type crate
 
channel_type channel
 
nBits_type nBits
 
bias_type bias
 
slope_type slope
 
units_type units
 
sampleRate_type sampleRate
 
timeOffsetS_type timeOffsetS
 
timeOffsetN_type timeOffsetN
 
fShift_type fShift
 
overRange_type overRange
 

Detailed Description

ADC Data Structure Definition.

Member Function Documentation

◆ Bytes() [1/2]

cmn_streamsize_type FrameCPP::Version_3::FrAdcData::Bytes ( const Common::StreamBase & Stream) const
virtual

Return the number of bytes for this object.

Parameters
[in]StreamThe stream on which the object will be written or read.
Returns
The number of bytes required by this object for the specified stream.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ Bytes() [2/2]

cmn_streamsize_type FrameCPP::Version_3::FrAdcData::Bytes ( const Common::StreamBase & Stream) const
virtual

Return the number of bytes for this object.

Parameters
[in]StreamThe stream on which the object will be written or read.
Returns
The number of bytes required by this object for the specified stream.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ bytes() [1/2]

cmn_streamsize_type FrameCPP::Version_3::FrAdcDataNPS::bytes ( const Common::StreamBase & Stream) const
inlineprotectedinherited

Number of bytes needed to write this structure.

Parameters
[in]StreamThe stream from which to the object is being read or written.
Returns
The number of bytes need to read or write this object.

◆ bytes() [2/2]

cmn_streamsize_type FrameCPP::Version_3::FrAdcDataNPS::bytes ( const Common::StreamBase & Stream) const
protectedinherited

Number of bytes needed to write this structure.

Parameters
[in]StreamThe stream from which to the object is being read or written.
Returns
The number of bytes need to read or write this object.

◆ DemoteObject() [1/2]

FrameSpec::ObjectInterface::object_type FrameCPP::Common::FrameSpec::ObjectInterface::DemoteObject ( frame_spec_version_type Target,
object_type Obj,
demote_stream_type * Stream )
staticinherited

Down grade an object.

Parameters
[in]TargetThis is the version of the frame specification of the demoted object.
[in]ObjThe base object.
[in]StreamStream from which Obj was created.
Returns
A pointer to the objected derived by demoting Obj.

◆ DemoteObject() [2/2]

static object_type FrameCPP::Common::FrameSpec::ObjectInterface::DemoteObject ( frame_spec_version_type Target,
object_type Obj,
demote_stream_type * Stream )
staticinherited

Down grade an object.

Parameters
[in]TargetThis is the version of the frame specification of the demoted object.
[in]ObjThe base object.
[in]StreamStream from which Obj was created.
Returns
A pointer to the objected derived by demoting Obj.

◆ GetBias() [1/2]

FrAdcDataNPS::bias_type FrameCPP::Version_3::FrAdcDataNPS::GetBias ( ) const
inlineinherited

DC bias on channel.

Returns
DC bias on channel.

◆ GetBias() [2/2]

bias_type FrameCPP::Version_3::FrAdcDataNPS::GetBias ( ) const
inherited

DC bias on channel.

Returns
DC bias on channel.

◆ GetChannel() [1/2]

FrAdcDataNPS::channel_type FrameCPP::Version_3::FrAdcDataNPS::GetChannel ( ) const
inlineinherited

The channel number for the FrAdcData.

Returns
The channel number for the FrAdcData

◆ GetChannel() [2/2]

channel_type FrameCPP::Version_3::FrAdcDataNPS::GetChannel ( ) const
inherited

The channel number for the FrAdcData.

Returns
The channel number for the FrAdcData

◆ GetClass() [1/2]

FrameSpec::class_type FrameCPP::Common::FrameSpec::Object::GetClass ( ) const
inlineinherited

Retrieve the class identifier.

Returns
The class identifier.

◆ GetClass() [2/2]

class_type FrameCPP::Common::FrameSpec::Object::GetClass ( ) const
inherited

Retrieve the class identifier.

Returns
The class identifier.

◆ GetComment() [1/2]

const FrAdcDataNPS::comment_type & FrameCPP::Version_3::FrAdcDataNPS::GetComment ( ) const
inlineinherited

A brief description of the FrAdcData structure.

Returns
A brief description of the FrAdcData structure

◆ GetComment() [2/2]

const comment_type & FrameCPP::Version_3::FrAdcDataNPS::GetComment ( ) const
inherited

A brief description of the FrAdcData structure.

Returns
A brief description of the FrAdcData structure

◆ GetCrate() [1/2]

FrAdcDataNPS::crate_type FrameCPP::Version_3::FrAdcDataNPS::GetCrate ( ) const
inlineinherited

The crate number for the FrAdcData.

Returns
The crate number for the FrAdcData

◆ GetCrate() [2/2]

crate_type FrameCPP::Version_3::FrAdcDataNPS::GetCrate ( ) const
inherited

The crate number for the FrAdcData.

Returns
The crate number for the FrAdcData

◆ GetDescription() [1/2]

const Description * FrameCPP::Common::FrameSpec::Object::GetDescription ( ) const
inlinevirtualinherited

Retrieve FrSH/FrSE description of the parent object.

Returns
The description of the parent class.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ GetDescription() [2/2]

virtual const Description * FrameCPP::Common::FrameSpec::Object::GetDescription ( ) const
virtualinherited

Retrieve FrSH/FrSE description of the parent object.

Returns
The description of the parent class.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ GetFShift() [1/2]

FrAdcDataNPS::fShift_type FrameCPP::Version_3::FrAdcDataNPS::GetFShift ( ) const
inlineinherited

The frequency in the original data corresponding to 0 Hz.

Returns
The frequency in the original data corresponding to 0 Hz.

◆ GetFShift() [2/2]

fShift_type FrameCPP::Version_3::FrAdcDataNPS::GetFShift ( ) const
inherited

The frequency in the original data corresponding to 0 Hz.

Returns
The frequency in the original data corresponding to 0 Hz.

◆ GetName() [1/2]

const FrAdcDataNPS::name_type & FrameCPP::Version_3::FrAdcDataNPS::GetName ( ) const
inlineinherited

Return the name associate with the FrAdcData structure.

Returns
The name associated with the FrAdcData structure

◆ GetName() [2/2]

const name_type & FrameCPP::Version_3::FrAdcDataNPS::GetName ( ) const
inherited

Return the name associate with the FrAdcData structure.

Returns
The name associated with the FrAdcData structure

◆ GetNBits() [1/2]

FrAdcDataNPS::nBits_type FrameCPP::Version_3::FrAdcDataNPS::GetNBits ( ) const
inlineinherited

Tne number of bits in the A/D output.

Returns
Tne number of bits in the A/D output.

◆ GetNBits() [2/2]

nBits_type FrameCPP::Version_3::FrAdcDataNPS::GetNBits ( ) const
inherited

Tne number of bits in the A/D output.

Returns
Tne number of bits in the A/D output.

◆ GetOverRange() [1/2]

FrAdcDataNPS::overRange_type FrameCPP::Version_3::FrAdcDataNPS::GetOverRange ( ) const
inlineinherited

Retrieve the overRange value.

Returns
The value of the overRange field.

◆ GetOverRange() [2/2]

overRange_type FrameCPP::Version_3::FrAdcDataNPS::GetOverRange ( ) const
inherited

Retrieve the overRange value.

Returns
The value of the overRange field.

◆ GetSampleRate() [1/2]

FrAdcDataNPS::sampleRate_type FrameCPP::Version_3::FrAdcDataNPS::GetSampleRate ( ) const
inlineinherited

The data acquisition rate.

Returns
The data acquisition rate.

◆ GetSampleRate() [2/2]

sampleRate_type FrameCPP::Version_3::FrAdcDataNPS::GetSampleRate ( ) const
inherited

The data acquisition rate.

Returns
The data acquisition rate.

◆ GetSlope() [1/2]

FrAdcDataNPS::slope_type FrameCPP::Version_3::FrAdcDataNPS::GetSlope ( ) const
inlineinherited

ADC calibration units per count.

Returns
ADC calibration units per count.

◆ GetSlope() [2/2]

slope_type FrameCPP::Version_3::FrAdcDataNPS::GetSlope ( ) const
inherited

ADC calibration units per count.

Returns
ADC calibration units per count.

◆ GetTimeOffsetN() [1/2]

FrAdcDataNPS::timeOffsetN_type FrameCPP::Version_3::FrAdcDataNPS::GetTimeOffsetN ( ) const
inlineinherited

The offset of the first sample relative to the frame start time.

Returns
The offset of the first sample relative to the frame start time.

◆ GetTimeOffsetN() [2/2]

timeOffsetN_type FrameCPP::Version_3::FrAdcDataNPS::GetTimeOffsetN ( ) const
inherited

The offset of the first sample relative to the frame start time.

Returns
The offset of the first sample relative to the frame start time.

◆ GetTimeOffsetS() [1/2]

FrAdcDataNPS::timeOffsetS_type FrameCPP::Version_3::FrAdcDataNPS::GetTimeOffsetS ( ) const
inlineinherited

The offset of the first sample relative to the frame start time.

Returns
The offset of the first sample relative to the frame start time.

◆ GetTimeOffsetS() [2/2]

timeOffsetS_type FrameCPP::Version_3::FrAdcDataNPS::GetTimeOffsetS ( ) const
inherited

The offset of the first sample relative to the frame start time.

Returns
The offset of the first sample relative to the frame start time.

◆ GetUnits() [1/2]

FrAdcDataNPS::units_type FrameCPP::Version_3::FrAdcDataNPS::GetUnits ( ) const
inlineinherited

The units used in the ADC calibration.

Returns
The units used in the ADC calibration

◆ GetUnits() [2/2]

STRING FrameCPP::Version_3::FrAdcDataNPS::GetUnits ( ) const
inherited

The units used in the ADC calibration.

Returns
The units used in the ADC calibration

◆ ObjectStructName() [1/2]

virtual const char * FrameCPP::Version_3::FrAdcData::ObjectStructName ( ) const
virtual

Retrieve the class name of the object.

Returns
The name of the class associated with the object.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ ObjectStructName() [2/2]

virtual const char * FrameCPP::Version_3::FrAdcData::ObjectStructName ( ) const
virtual

Retrieve the class name of the object.

Returns
The name of the class associated with the object.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ PromoteObject() [1/4]

FrameSpec::ObjectInterface::object_type FrameCPP::Common::FrameSpec::ObjectInterface::PromoteObject ( frame_spec_version_type Target,
frame_spec_version_type Source,
object_type Obj,
stream_base_type * Stream )
staticinherited

Upgrade an object.

Parameters
[in]TargetPromote Obj to this version of the frame specification.
[in]SourceObj conforms to this version of the frame specification.
[in]ObjObject to be converted
[in]StreamOriginating stream for Obj.
Returns
A pointer to the objected derived by promoting Obj.

◆ PromoteObject() [2/4]

template<typename PreviousType, typename CurrentType>
static object_type FrameCPP::Common::FrameSpec::ObjectInterface::PromoteObject ( frame_spec_version_type Target,
frame_spec_version_type Source,
object_type Obj,
stream_base_type * Stream )
staticinherited

Upgrade an object.

Parameters
[in]TargetPromote Obj to this version of the frame specification.
[in]SourceObj conforms to this version of the frame specification.
[in]ObjObject to be converted
[in]StreamOriginating stream for Obj.
Returns
A pointer to the objected derived by promoting Obj.

◆ PromoteObject() [3/4]

static object_type FrameCPP::Common::FrameSpec::ObjectInterface::PromoteObject ( frame_spec_version_type Target,
frame_spec_version_type Source,
object_type Obj,
stream_base_type * Stream )
staticinherited

Upgrade an object.

Parameters
[in]TargetPromote Obj to this version of the frame specification.
[in]SourceObj conforms to this version of the frame specification.
[in]ObjObject to be converted
[in]StreamOriginating stream for Obj.
Returns
A pointer to the objected derived by promoting Obj.

◆ PromoteObject() [4/4]

template<typename PreviousType, typename CurrentType>
static object_type FrameCPP::Common::FrameSpec::ObjectInterface::PromoteObject ( frame_spec_version_type Target,
frame_spec_version_type Source,
object_type Obj,
stream_base_type * Stream )
staticinherited

Upgrade an object.

Parameters
[in]TargetPromote Obj to this version of the frame specification.
[in]SourceObj conforms to this version of the frame specification.
[in]ObjObject to be converted
[in]StreamOriginating stream for Obj.
Returns
A pointer to the objected derived by promoting Obj.

◆ SetBias() [1/2]

void FrameCPP::Version_3::FrAdcDataNPS::SetBias ( bias_type bias)
inlineinherited

Establish the value of the bias field.

Parameters
[in]biasThe desired value of the bias field.

◆ SetBias() [2/2]

void FrameCPP::Version_3::FrAdcDataNPS::SetBias ( bias_type bias)
inherited

Establish the value of the bias field.

Parameters
[in]biasThe desired value of the bias field.

◆ SetNBits() [1/2]

void FrameCPP::Version_3::FrAdcDataNPS::SetNBits ( nBits_type NBits)
inlineinherited

The number of bits in the A/D output.

Parameters
[in]NBitsTne number of bits in the A/D output.

◆ SetNBits() [2/2]

void FrameCPP::Version_3::FrAdcDataNPS::SetNBits ( nBits_type NBits)
inherited

The number of bits in the A/D output.

Parameters
[in]NBitsTne number of bits in the A/D output.

◆ SetOverRange() [1/2]

void FrameCPP::Version_3::FrAdcDataNPS::SetOverRange ( overRange_type flag)
inlineinherited

Establish the value of the overRange field.

Parameters
[in]flagThe desired value of the overRange field.

◆ SetOverRange() [2/2]

void FrameCPP::Version_3::FrAdcDataNPS::SetOverRange ( overRange_type flag)
inherited

Establish the value of the overRange field.

Parameters
[in]flagThe desired value of the overRange field.

◆ SetSampleRate() [1/2]

void FrameCPP::Version_3::FrAdcDataNPS::SetSampleRate ( sampleRate_type SampleRate)
inlineinherited

Establish the value of the sampleRate field.

Parameters
[in]SampleRateThe desired value of the sampleRate field.

◆ SetSampleRate() [2/2]

void FrameCPP::Version_3::FrAdcDataNPS::SetSampleRate ( sampleRate_type SampleRate)
inherited

Establish the value of the sampleRate field.

Parameters
[in]SampleRateThe desired value of the sampleRate field.

◆ SetSlope() [1/2]

void FrameCPP::Version_3::FrAdcDataNPS::SetSlope ( slope_type slope)
inlineinherited

Establish the value of the slope field.

Parameters
[in]slopeThe desired value of the slope field.

◆ SetSlope() [2/2]

void FrameCPP::Version_3::FrAdcDataNPS::SetSlope ( slope_type slope)
inherited

Establish the value of the slope field.

Parameters
[in]slopeThe desired value of the slope field.

◆ SetTimeOffsetN() [1/2]

void FrameCPP::Version_3::FrAdcDataNPS::SetTimeOffsetN ( timeOffsetN_type time)
inlineinherited

Establish the value of the timeOffset field.

Parameters
[in]timeThe desired value of the timeOffset field.

◆ SetTimeOffsetN() [2/2]

void FrameCPP::Version_3::FrAdcDataNPS::SetTimeOffsetN ( timeOffsetN_type time)
inherited

Establish the value of the timeOffset field.

Parameters
[in]timeThe desired value of the timeOffset field.

◆ SetTimeOffsetS() [1/2]

void FrameCPP::Version_3::FrAdcDataNPS::SetTimeOffsetS ( timeOffsetS_type time)
inlineinherited

Establish the value of the timeOffset field.

Parameters
[in]timeThe desired value of the timeOffset field.

◆ SetTimeOffsetS() [2/2]

void FrameCPP::Version_3::FrAdcDataNPS::SetTimeOffsetS ( timeOffsetS_type time)
inherited

Establish the value of the timeOffset field.

Parameters
[in]timeThe desired value of the timeOffset field.

◆ VerifyObject() [1/2]

void FrameCPP::Common::FrameSpec::ObjectInterface::VerifyObject ( Verify & Verifier,
IFrameStream & Stream ) const
virtualinherited

Verify an object.

Parameters
[in,out]VerifierSet of rules to use in verification of the object. If an error occurs, the violation is logged here.
[in]StreamThe stream that is being used to read the object.

Reimplemented in FrameCPP::Version_3::FrameH, FrameCPP::Version_3::FrameH, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Version_8::FrHeader, FrameCPP::Version_8::FrHeader, FrameCPP::Version_9::FrEndOfFile, FrameCPP::Version_9::FrEndOfFile, FrameCPP::Version_9::FrHeader, and FrameCPP::Version_9::FrHeader.

◆ VerifyObject() [2/2]

virtual void FrameCPP::Common::FrameSpec::ObjectInterface::VerifyObject ( Verify & Verifier,
IFrameStream & Stream ) const
virtualinherited

Verify an object.

Parameters
[in,out]VerifierSet of rules to use in verification of the object. If an error occurs, the violation is logged here.
[in]StreamThe stream that is being used to read the object.

Reimplemented in FrameCPP::Version_3::FrameH, FrameCPP::Version_3::FrameH, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Version_8::FrEndOfFile, FrameCPP::Version_8::FrHeader, FrameCPP::Version_8::FrHeader, FrameCPP::Version_9::FrEndOfFile, FrameCPP::Version_9::FrEndOfFile, FrameCPP::Version_9::FrHeader, and FrameCPP::Version_9::FrHeader.

◆ Write() [1/2]

virtual void FrameCPP::Version_3::FrAdcData::Write ( ostream_type & Stream) const
virtual

Write object to the stream.

Parameters
[in,out]StreamThe stream being written with the contents of object.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ Write() [2/2]

virtual void FrameCPP::Version_3::FrAdcData::Write ( ostream_type & Stream) const
virtual

Write object to the stream.

Parameters
[in,out]StreamThe stream being written with the contents of object.

Implements FrameCPP::Common::FrameSpec::ObjectInterface.

◆ WriteNext() [1/2]

ostream_type & FrameCPP::Common::FrameSpec::Object::WriteNext ( ostream_type & Stream) const
inherited

Write a next pointer to the parent to the stream.

Parameters
[in,out]StreamThe output stream to receive the next pointer.
Returns
The output stream.

◆ WriteNext() [2/2]

ostream_type & FrameCPP::Common::FrameSpec::Object::WriteNext ( ostream_type & Stream) const
inherited

Write a next pointer to the parent to the stream.

Parameters
[in,out]StreamThe output stream to receive the next pointer.
Returns
The output stream.

Member Data Documentation

◆ bias

bias_type FrameCPP::Version_3::FrAdcDataNPS::bias
protectedinherited

DC bias on channel (Units @ ADC counts = 0)

◆ channel

channel_type FrameCPP::Version_3::FrAdcDataNPS::channel
protectedinherited

Channel number

Note
This variable is determined by the site and must be unique over all detectors.

◆ comment

comment_type FrameCPP::Version_3::FrAdcDataNPS::comment
protectedinherited

Comment for the ADC.

◆ crate

crate_type FrameCPP::Version_3::FrAdcDataNPS::crate
protectedinherited

Channel grouping number containing ADC.

Note
This variable is determined by the site and must be unique over all detectors.

◆ fShift

fShift_type FrameCPP::Version_3::FrAdcDataNPS::fShift
protectedinherited

The frequency (in HZ) in the original data that corresponds to zero Hz in the heterodyned series.

Note
In the heterodyning process the real time series in multiplied by cos[2pi fShift(t-to) + phase] to get the real part and by -sin[2pi fShift(t-t(0)) + phase] to get the imaginary part of the resulting complex time series. The time origin t(0) is the beginning of the frame.

◆ name

name_type FrameCPP::Version_3::FrAdcDataNPS::name
protectedinherited

Channel name – must be unique with the frame

◆ nBits

nBits_type FrameCPP::Version_3::FrAdcDataNPS::nBits
protectedinherited

Number of bits in A/D output.

◆ overRange

overRange_type FrameCPP::Version_3::FrAdcDataNPS::overRange
protectedinherited

Data valid flag

Note
overRange = 0 -> ADC ddata valid; overRange != 0 -> ADC data suspect/not valid

◆ sampleRate

sampleRate_type FrameCPP::Version_3::FrAdcDataNPS::sampleRate
protectedinherited

Data acquisition rate, samples per second.

◆ slope

slope_type FrameCPP::Version_3::FrAdcDataNPS::slope
protectedinherited

ADC calibration: input units/count.

◆ timeOffsetN

timeOffsetN_type FrameCPP::Version_3::FrAdcDataNPS::timeOffsetN
protectedinherited

For Triggered data lasting less than one frame, integer residual nanoseconds start time relative to frame start

◆ timeOffsetS

timeOffsetS_type FrameCPP::Version_3::FrAdcDataNPS::timeOffsetS
protectedinherited

For Triggered data lasting less than one frame, integer seconds start time relative to frame start

◆ units

units_type FrameCPP::Version_3::FrAdcDataNPS::units
protectedinherited

ADC calibration: input units for slope If dimensionless, then units == <NONE>, in CAPITALS (without <...>).


The documentation for this class was generated from the following files: