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

◆ AMCPayload()

rpcamc13::AMCPayload::AMCPayload ( )

Definition at line 50 of file RPCAMC13Record.cc.

50 : valid_(true) {}

Member Function Documentation

◆ clear()

void rpcamc13::AMCPayload::clear ( )

◆ getAMCHeader() [1/2]

AMCHeader const& rpcamc13::AMCPayload::getAMCHeader ( ) const

◆ getAMCHeader() [2/2]

AMCHeader& rpcamc13::AMCPayload::getAMCHeader ( )

◆ getData() [1/2]

std::vector<std::uint64_t> const& rpcamc13::AMCPayload::getData ( ) const

◆ getData() [2/2]

std::vector<std::uint64_t>& rpcamc13::AMCPayload::getData ( )

◆ insert()

void rpcamc13::AMCPayload::insert ( std::uint64_t const *  word_begin,
unsigned int  size 
)

◆ isValid()

bool rpcamc13::AMCPayload::isValid ( ) const

◆ setAMCHeader()

void rpcamc13::AMCPayload::setAMCHeader ( AMCHeader const &  header)

◆ setValid()

void rpcamc13::AMCPayload::setValid ( bool  valid)

Member Data Documentation

◆ amc_header_

AMCHeader rpcamc13::AMCPayload::amc_header_
protected

Definition at line 163 of file RPCAMC13Record.h.

◆ data_

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

Definition at line 164 of file RPCAMC13Record.h.

◆ valid_

bool rpcamc13::AMCPayload::valid_
protected

Definition at line 162 of file RPCAMC13Record.h.