CMS 3D CMS Logo

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 44 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 46 of file BxBlock.h.

46  :
47  header_(*bx_start), payload_(bx_start+1, bx_end) {};
std::vector< uint32_t > payload_
Definition: BxBlock.h:65
BxBlockHeader header_
Definition: BxBlock.h:61
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 48 of file BxBlock.h.

48  :
49  header_(h), payload_(payload_start, payload_end) {};
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
std::vector< uint32_t > payload_
Definition: BxBlock.h:65
BxBlockHeader header_
Definition: BxBlock.h:61
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 50 of file BxBlock.h.

50  :
51  header_(id, totalBx, flags), payload_(payload_start, payload_end) {};
std::vector< Variable::Flags > flags
Definition: MVATrainer.cc:135
std::vector< uint32_t > payload_
Definition: BxBlock.h:65
BxBlockHeader header_
Definition: BxBlock.h:61
l1t::BxBlock::BxBlock ( unsigned int  id,
unsigned int  totalBx,
const std::vector< uint32_t > &  payload,
unsigned int  flags = 0 
)
inline

Definition at line 52 of file BxBlock.h.

52  :
53  header_(id, totalBx, flags), payload_(payload) {};
std::vector< Variable::Flags > flags
Definition: MVATrainer.cc:135
std::vector< uint32_t > payload_
Definition: BxBlock.h:65
std::vector< uint32_t > payload() const
Definition: BxBlock.h:61
BxBlockHeader header_
Definition: BxBlock.h:61
l1t::BxBlock::~BxBlock ( )
inline

Definition at line 54 of file BxBlock.h.

54 {};

Member Function Documentation

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

Definition at line 58 of file BxBlock.h.

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

Definition at line 60 of file BxBlock.h.

Referenced by operator<().

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

Definition at line 56 of file BxBlock.h.

References header(), and RecoTauValidation_cfi::header.

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

Definition at line 61 of file BxBlock.h.

61 { return payload_; };
std::vector< uint32_t > payload_
Definition: BxBlock.h:65

Member Data Documentation

BxBlockHeader l1t::BxBlock::header_
private

Definition at line 61 of file BxBlock.h.

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

Definition at line 65 of file BxBlock.h.