CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Public Attributes
l1ct::Event Struct Reference

#include <layer1_emulator.h>

Public Types

enum  { VERSION = 12 }
 

Public Member Functions

void clear ()
 
 Event ()
 
void init (uint32_t run, uint32_t lumi, uint64_t event)
 
l1ct::PVObjEmu pv (unsigned int ipv=0) const
 
ap_uint< 64 > pv_emu (unsigned int ipv=0) const
 
bool read (std::fstream &from)
 
bool write (std::fstream &to) const
 

Public Attributes

std::vector< OutputBoardboard_out
 
RegionizerDecodedInputs decoded
 
uint64_t event
 
uint32_t lumi
 
std::vector< OutputRegionout
 
std::vector< PFInputRegionpfinputs
 
std::vector< PVObjEmupvs
 
std::vector< ap_uint< 64 > > pvs_emu
 
RawInputs raw
 
uint32_t run
 

Detailed Description

Definition at line 337 of file layer1_emulator.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
VERSION 

Definition at line 338 of file layer1_emulator.h.

Constructor & Destructor Documentation

◆ Event()

l1ct::Event::Event ( )
inline

Definition at line 349 of file layer1_emulator.h.

349 : run(0), lumi(0), event(0) {}
uint64_t event

Member Function Documentation

◆ clear()

void l1ct::Event::clear ( )

◆ init()

void l1ct::Event::init ( uint32_t  run,
uint32_t  lumi,
uint64_t  event 
)

◆ pv()

l1ct::PVObjEmu l1ct::Event::pv ( unsigned int  ipv = 0) const
inline

Definition at line 355 of file layer1_emulator.h.

References pvs, and runTheMatrix::ret.

355  {
357  if (ipv < pvs.size())
358  ret = pvs[ipv];
359  else
360  ret.clear();
361  return ret;
362  }
std::vector< PVObjEmu > pvs
ret
prodAgent to be discontinued

◆ pv_emu()

ap_uint<64> l1ct::Event::pv_emu ( unsigned int  ipv = 0) const
inline

Definition at line 363 of file layer1_emulator.h.

References pvs_emu, and runTheMatrix::ret.

363  {
364  ap_uint<64> ret = 0;
365  if (ipv < pvs_emu.size())
366  ret = pvs_emu[ipv];
367  return ret;
368  }
ret
prodAgent to be discontinued
std::vector< ap_uint< 64 > > pvs_emu

◆ read()

bool l1ct::Event::read ( std::fstream &  from)

◆ write()

bool l1ct::Event::write ( std::fstream &  to) const

Member Data Documentation

◆ board_out

std::vector<OutputBoard> l1ct::Event::board_out

◆ decoded

RegionizerDecodedInputs l1ct::Event::decoded

◆ event

uint64_t l1ct::Event::event

◆ lumi

uint32_t l1ct::Event::lumi

◆ out

std::vector<OutputRegion> l1ct::Event::out

◆ pfinputs

std::vector<PFInputRegion> l1ct::Event::pfinputs

◆ pvs

std::vector<PVObjEmu> l1ct::Event::pvs

Definition at line 344 of file layer1_emulator.h.

Referenced by L1TCorrelatorLayer1Producer::produce(), and pv().

◆ pvs_emu

std::vector<ap_uint<64> > l1ct::Event::pvs_emu

Definition at line 345 of file layer1_emulator.h.

Referenced by L1TCorrelatorLayer1Producer::produce(), and pv_emu().

◆ raw

RawInputs l1ct::Event::raw

◆ run

uint32_t l1ct::Event::run