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 = 13 }
 

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 339 of file layer1_emulator.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
VERSION 

Definition at line 340 of file layer1_emulator.h.

Constructor & Destructor Documentation

◆ Event()

l1ct::Event::Event ( )
inline

Definition at line 351 of file layer1_emulator.h.

351 : 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 357 of file layer1_emulator.h.

References pvs, and runTheMatrix::ret.

357  {
359  if (ipv < pvs.size())
360  ret = pvs[ipv];
361  else
362  ret.clear();
363  return ret;
364  }
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 365 of file layer1_emulator.h.

References pvs_emu, and runTheMatrix::ret.

365  {
366  ap_uint<64> ret = 0;
367  if (ipv < pvs_emu.size())
368  ret = pvs_emu[ipv];
369  return ret;
370  }
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 346 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 347 of file layer1_emulator.h.

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

◆ raw

RawInputs l1ct::Event::raw

◆ run

uint32_t l1ct::Event::run