CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Attributes
l1t::BxBlock Class Reference

#include <BxBlock.h>

Public Member Functions

 BxBlock (std::vector< uint32_t >::const_iterator bx_start, std::vector< uint32_t >::const_iterator bx_end)
 
 BxBlock (const BxBlockHeader &h, std::vector< uint32_t >::const_iterator payload_start, std::vector< uint32_t >::const_iterator payload_end)
 
 BxBlock (unsigned int id, unsigned int totalBx, std::vector< uint32_t >::const_iterator payload_start, std::vector< uint32_t >::const_iterator payload_end, unsigned int flags=0)
 
 BxBlock (unsigned int id, unsigned int totalBx, const std::vector< uint32_t > &payload, unsigned int flags=0)
 
unsigned int getSize () const
 
BxBlockHeader header () const
 
bool operator< (const BxBlock &o) const
 
std::vector< uint32_t > payload () const
 
 ~BxBlock ()
 

Private Attributes

BxBlockHeader header_
 
std::vector< uint32_t > payload_
 

Detailed Description

Definition at line 49 of file BxBlock.h.

Constructor & Destructor Documentation

l1t::BxBlock::BxBlock ( std::vector< uint32_t >::const_iterator  bx_start,
std::vector< uint32_t >::const_iterator  bx_end 
)
inline

Definition at line 51 of file BxBlock.h.

52  : header_(*bx_start), payload_(bx_start + 1, bx_end){};
std::vector< uint32_t > payload_
Definition: BxBlock.h:76
BxBlockHeader header_
Definition: BxBlock.h:72
l1t::BxBlock::BxBlock ( const BxBlockHeader h,
std::vector< uint32_t >::const_iterator  payload_start,
std::vector< uint32_t >::const_iterator  payload_end 
)
inline

Definition at line 53 of file BxBlock.h.

56  : header_(h), payload_(payload_start, payload_end){};
std::vector< uint32_t > payload_
Definition: BxBlock.h:76
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
BxBlockHeader header_
Definition: BxBlock.h:72
l1t::BxBlock::BxBlock ( unsigned int  id,
unsigned int  totalBx,
std::vector< uint32_t >::const_iterator  payload_start,
std::vector< uint32_t >::const_iterator  payload_end,
unsigned int  flags = 0 
)
inline

Definition at line 57 of file BxBlock.h.

62  : header_(id, totalBx, flags), payload_(payload_start, payload_end){};
std::vector< uint32_t > payload_
Definition: BxBlock.h:76
BxBlockHeader header_
Definition: BxBlock.h:72
l1t::BxBlock::BxBlock ( unsigned int  id,
unsigned int  totalBx,
const std::vector< uint32_t > &  payload,
unsigned int  flags = 0 
)
inline

Definition at line 63 of file BxBlock.h.

64  : header_(id, totalBx, flags), payload_(payload){};
std::vector< uint32_t > payload_
Definition: BxBlock.h:76
std::vector< uint32_t > payload() const
Definition: BxBlock.h:72
BxBlockHeader header_
Definition: BxBlock.h:72
l1t::BxBlock::~BxBlock ( )
inline

Definition at line 65 of file BxBlock.h.

65 {};

Member Function Documentation

unsigned int l1t::BxBlock::getSize ( ) const
inline

Definition at line 69 of file BxBlock.h.

References payload_.

69 { return payload_.size(); };
std::vector< uint32_t > payload_
Definition: BxBlock.h:76
BxBlockHeader l1t::BxBlock::header ( ) const
inline

Definition at line 71 of file BxBlock.h.

References header_.

Referenced by operator<().

71 { return header_; };
BxBlockHeader header_
Definition: BxBlock.h:72
bool l1t::BxBlock::operator< ( const BxBlock o) const
inline

Definition at line 67 of file BxBlock.h.

References header().

67 { return header() < o.header(); };
BxBlockHeader header() const
Definition: BxBlock.h:71
std::vector<uint32_t> l1t::BxBlock::payload ( ) const
inline

Definition at line 72 of file BxBlock.h.

References payload_.

72 { return payload_; };
std::vector< uint32_t > payload_
Definition: BxBlock.h:76

Member Data Documentation

BxBlockHeader l1t::BxBlock::header_
private

Definition at line 72 of file BxBlock.h.

Referenced by header().

std::vector<uint32_t> l1t::BxBlock::payload_
private

Definition at line 76 of file BxBlock.h.

Referenced by getSize(), and payload().