CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
rpcamc13::AMCPayload Class Reference

#include <RPCAMC13Record.h>

Public Member Functions

 AMCPayload ()
 
void clear ()
 
AMCHeader const & getAMCHeader () const
 
AMCHeadergetAMCHeader ()
 
std::vector< std::uint64_t > const & getData () const
 
std::vector< std::uint64_t > & getData ()
 
void insert (std::uint64_t const *word_begin, unsigned int size)
 
bool isValid () const
 
void setAMCHeader (AMCHeader const &header)
 
void setValid (bool valid)
 

Protected Attributes

AMCHeader amc_header_
 
std::vector< std::uint64_t > data_
 
bool valid_
 

Detailed Description

Definition at line 146 of file RPCAMC13Record.h.

Constructor & Destructor Documentation

rpcamc13::AMCPayload::AMCPayload ( )

Definition at line 50 of file RPCAMC13Record.cc.

50 : valid_(true) {}

Member Function Documentation

void rpcamc13::AMCPayload::clear ( )
AMCHeader const& rpcamc13::AMCPayload::getAMCHeader ( ) const
AMCHeader& rpcamc13::AMCPayload::getAMCHeader ( )
std::vector<std::uint64_t> const& rpcamc13::AMCPayload::getData ( ) const
std::vector<std::uint64_t>& rpcamc13::AMCPayload::getData ( )
void rpcamc13::AMCPayload::insert ( std::uint64_t const *  word_begin,
unsigned int  size 
)
bool rpcamc13::AMCPayload::isValid ( ) const
void rpcamc13::AMCPayload::setAMCHeader ( AMCHeader const &  header)
void rpcamc13::AMCPayload::setValid ( bool  valid)

Member Data Documentation

AMCHeader rpcamc13::AMCPayload::amc_header_
protected

Definition at line 163 of file RPCAMC13Record.h.

std::vector<std::uint64_t> rpcamc13::AMCPayload::data_
protected

Definition at line 164 of file RPCAMC13Record.h.

bool rpcamc13::AMCPayload::valid_
protected

Definition at line 162 of file RPCAMC13Record.h.