CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
l1t::BxBlock Class Reference

#include <BxBlock.h>

Public Member Functions

 BxBlock (const BxBlockHeader &h, std::vector< uint32_t >::const_iterator payload_start, std::vector< uint32_t >::const_iterator payload_end)
 
 BxBlock (std::vector< uint32_t >::const_iterator bx_start, std::vector< uint32_t >::const_iterator bx_end)
 
 BxBlock (unsigned int id, unsigned int totalBx, const std::vector< uint32_t > &payload, unsigned int flags=0)
 
 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)
 
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

◆ BxBlock() [1/4]

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){};

◆ BxBlock() [2/4]

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){};

◆ BxBlock() [3/4]

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){};

◆ BxBlock() [4/4]

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){};

◆ ~BxBlock()

l1t::BxBlock::~BxBlock ( )
inline

Definition at line 65 of file BxBlock.h.

65 {};

Member Function Documentation

◆ getSize()

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

Definition at line 69 of file BxBlock.h.

69 { return payload_.size(); };

References payload_.

◆ header()

BxBlockHeader l1t::BxBlock::header ( ) const
inline

Definition at line 71 of file BxBlock.h.

71 { return header_; };

References header_.

Referenced by operator<().

◆ operator<()

bool l1t::BxBlock::operator< ( const BxBlock o) const
inline

Definition at line 67 of file BxBlock.h.

67 { return header() < o.header(); };

References header(), and EcalTangentSkim_cfg::o.

◆ payload()

std::vector<uint32_t> l1t::BxBlock::payload ( ) const
inline

Definition at line 72 of file BxBlock.h.

72 { return payload_; };

References payload_.

Member Data Documentation

◆ header_

BxBlockHeader l1t::BxBlock::header_
private

Definition at line 72 of file BxBlock.h.

Referenced by header().

◆ payload_

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

Definition at line 76 of file BxBlock.h.

Referenced by getSize(), and payload().

l1t::BxBlock::header
BxBlockHeader header() const
Definition: BxBlock.h:71
l1t::BxBlock::payload
std::vector< uint32_t > payload() const
Definition: BxBlock.h:72
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:42
h
l1t::BxBlock::header_
BxBlockHeader header_
Definition: BxBlock.h:72
l1t::BxBlock::payload_
std::vector< uint32_t > payload_
Definition: BxBlock.h:76
HLT_FULL_cff.flags
flags
Definition: HLT_FULL_cff.py:13168