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

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

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
VERSION 

Definition at line 334 of file layer1_emulator.h.

Constructor & Destructor Documentation

◆ Event()

l1ct::Event::Event ( )
inline

Definition at line 345 of file layer1_emulator.h.

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

References pvs, and runTheMatrix::ret.

351  {
353  if (ipv < pvs.size())
354  ret = pvs[ipv];
355  else
356  ret.clear();
357  return ret;
358  }
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 359 of file layer1_emulator.h.

References pvs_emu, and runTheMatrix::ret.

359  {
360  ap_uint<64> ret = 0;
361  if (ipv < pvs_emu.size())
362  ret = pvs_emu[ipv];
363  return ret;
364  }
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 340 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 341 of file layer1_emulator.h.

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

◆ raw

RawInputs l1ct::Event::raw

◆ run

uint32_t l1ct::Event::run