Classes | Public Types | Public Member Functions | Protected Attributes | List of all members
dune::Frame14Fragment Class Referenceabstract

#include <Frame14Fragment.hh>

Inheritance diagram for dune::Frame14Fragment:
dune::Frame14FragmentUnordered

Classes

struct  Metadata
 

Public Types

typedef uint16_t adc_t
 
typedef std::vector< uint16_t > adc_v
 

Public Member Functions

virtual uint8_t link_mask (const unsigned &frame_ID=0) const =0
 
virtual uint8_t femb_valid (const unsigned &frame_ID=0) const =0
 
virtual uint8_t fiber_no (const unsigned &frame_ID=0) const =0
 
virtual uint8_t slot_no (const unsigned &frame_ID=0) const =0
 
virtual uint8_t crate_no (const unsigned &frame_ID=0) const =0
 
virtual uint8_t frame_version (const unsigned &frame_ID=0) const =0
 
virtual uint32_t wib_data (const unsigned &frame_ID=0) const =0
 
virtual uint64_t timestamp (const unsigned &frame_ID=0) const =0
 
virtual uint32_t crc20 (const unsigned &frame_ID=0) const =0
 
virtual uint32_t flex12 (const unsigned &frame_ID=0) const =0
 
virtual uint32_t flex24 (const unsigned &frame_ID=0) const =0
 
virtual adc_t get_ADC (const unsigned &frame_ID, const uint8_t block_ID, const uint8_t channel_ID) const =0
 
virtual adc_t get_ADC (const unsigned &frame_ID, const uint8_t channel_ID) const =0
 
virtual adc_v get_ADCs_by_channel (const uint8_t block_ID, const uint8_t channel_ID) const =0
 
virtual adc_v get_ADCs_by_channel (const uint8_t channel_ID) const =0
 
virtual std::map< uint8_t, adc_vget_all_ADCs () const =0
 
 Frame14Fragment (const artdaq::Fragment &fragment)
 
virtual ~Frame14Fragment ()
 
virtual size_t total_frames () const =0
 

Protected Attributes

Metadata meta_
 
const void * artdaq_Fragment_
 
size_t sizeBytes_
 

Detailed Description

Definition at line 21 of file Frame14Fragment.hh.

Member Typedef Documentation

typedef uint16_t dune::Frame14Fragment::adc_t

Definition at line 43 of file Frame14Fragment.hh.

Definition at line 44 of file Frame14Fragment.hh.

Constructor & Destructor Documentation

dune::Frame14Fragment::Frame14Fragment ( const artdaq::Fragment &  fragment)
inline

Definition at line 74 of file Frame14Fragment.hh.

75  : meta_(*(fragment.metadata<Metadata>())),
76  artdaq_Fragment_(fragment.dataBeginBytes()),
77  sizeBytes_(fragment.dataSizeBytes()) { }
const void * artdaq_Fragment_
virtual dune::Frame14Fragment::~Frame14Fragment ( )
inlinevirtual

Definition at line 78 of file Frame14Fragment.hh.

78 {}

Member Function Documentation

virtual uint8_t dune::Frame14Fragment::crate_no ( const unsigned &  frame_ID = 0) const
pure virtual
virtual uint32_t dune::Frame14Fragment::crc20 ( const unsigned &  frame_ID = 0) const
pure virtual
virtual uint8_t dune::Frame14Fragment::femb_valid ( const unsigned &  frame_ID = 0) const
pure virtual
virtual uint8_t dune::Frame14Fragment::fiber_no ( const unsigned &  frame_ID = 0) const
pure virtual
virtual uint32_t dune::Frame14Fragment::flex12 ( const unsigned &  frame_ID = 0) const
pure virtual
virtual uint32_t dune::Frame14Fragment::flex24 ( const unsigned &  frame_ID = 0) const
pure virtual
virtual uint8_t dune::Frame14Fragment::frame_version ( const unsigned &  frame_ID = 0) const
pure virtual
virtual adc_t dune::Frame14Fragment::get_ADC ( const unsigned &  frame_ID,
const uint8_t  block_ID,
const uint8_t  channel_ID 
) const
pure virtual
virtual adc_t dune::Frame14Fragment::get_ADC ( const unsigned &  frame_ID,
const uint8_t  channel_ID 
) const
pure virtual
virtual adc_v dune::Frame14Fragment::get_ADCs_by_channel ( const uint8_t  block_ID,
const uint8_t  channel_ID 
) const
pure virtual
virtual adc_v dune::Frame14Fragment::get_ADCs_by_channel ( const uint8_t  channel_ID) const
pure virtual
virtual std::map<uint8_t, adc_v> dune::Frame14Fragment::get_all_ADCs ( ) const
pure virtual
virtual uint8_t dune::Frame14Fragment::link_mask ( const unsigned &  frame_ID = 0) const
pure virtual
virtual uint8_t dune::Frame14Fragment::slot_no ( const unsigned &  frame_ID = 0) const
pure virtual
virtual uint64_t dune::Frame14Fragment::timestamp ( const unsigned &  frame_ID = 0) const
pure virtual
virtual size_t dune::Frame14Fragment::total_frames ( ) const
pure virtual
virtual uint32_t dune::Frame14Fragment::wib_data ( const unsigned &  frame_ID = 0) const
pure virtual

Member Data Documentation

const void* dune::Frame14Fragment::artdaq_Fragment_
protected

Definition at line 86 of file Frame14Fragment.hh.

Metadata dune::Frame14Fragment::meta_
protected

Definition at line 85 of file Frame14Fragment.hh.

size_t dune::Frame14Fragment::sizeBytes_
protected

Definition at line 87 of file Frame14Fragment.hh.


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