CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Attributes | Private Attributes
l1ct::TDRRegionizerEmulator Class Reference

#include <tdr_regionizer_ref.h>

Inheritance diagram for l1ct::TDRRegionizerEmulator:
l1ct::RegionizerEmulator

Public Member Functions

void fillLinks (const RegionizerDecodedInputs &in, std::vector< std::vector< l1ct::TkObjEmu >> &links)
 
void fillLinks (const RegionizerDecodedInputs &in, std::vector< std::vector< l1ct::HadCaloObjEmu >> &links)
 
void fillLinks (const RegionizerDecodedInputs &in, std::vector< std::vector< l1ct::EmCaloObjEmu >> &links)
 
void fillLinks (const RegionizerDecodedInputs &in, std::vector< std::vector< l1ct::MuObjEmu >> &links)
 
void initSectorsAndRegions (const RegionizerDecodedInputs &in, const std::vector< PFInputRegion > &out) override
 
void run (const RegionizerDecodedInputs &in, std::vector< PFInputRegion > &out) override
 
 TDRRegionizerEmulator (unsigned int netaslices, unsigned int ntk, unsigned int ncalo, unsigned int nem, unsigned int nmu, int nclocks, bool dosort)
 
 TDRRegionizerEmulator (const edm::ParameterSet &iConfig)
 
void toFirmware (const std::vector< l1ct::TkObjEmu > &emu, TkObj fw[NTK_SECTORS][NTK_LINKS])
 
void toFirmware (const std::vector< l1ct::HadCaloObjEmu > &emu, HadCaloObj fw[NCALO_SECTORS][NCALO_LINKS])
 
void toFirmware (const std::vector< l1ct::EmCaloObjEmu > &emu, EmCaloObj fw[NCALO_SECTORS][NCALO_LINKS])
 
void toFirmware (const std::vector< l1ct::MuObjEmu > &emu, MuObj fw[NMU_LINKS])
 
 ~TDRRegionizerEmulator () override
 
- Public Member Functions inherited from l1ct::RegionizerEmulator
 RegionizerEmulator (bool useAlsoVtxCoords=true)
 
 RegionizerEmulator (const edm::ParameterSet &iConfig)
 
void setDebug (bool debug=true)
 
virtual ~RegionizerEmulator ()
 

Static Public Attributes

static const int MAX_CALO_EVT = 162
 
static const int MAX_EMCALO_EVT = 162
 
static const int MAX_MU_EVT = 162
 
static const int MAX_TK_EVT = 108
 
static const int NCALO_LINKS = 4
 
static const int NCALO_SECTORS = 4
 
static const int NEMCALO_LINKS = 4
 
static const int NEMCALO_SECTORS = 4
 
static const int NETA_SMALL = 2
 
static const int NMU_LINKS = 2
 
static const int NTK_LINKS = 2
 
static const int NTK_SECTORS = 9
 
static const int NUMBER_OF_SMALL_REGIONS = 18
 

Private Attributes

bool dosort_
 
std::vector< tdr_regionizer::Regionizer< l1ct::EmCaloObjEmu > > emCaloRegionizers_
 
std::vector< tdr_regionizer::Regionizer< l1ct::HadCaloObjEmu > > hadCaloRegionizers_
 
bool init_
 
std::vector< tdr_regionizer::Regionizer< l1ct::MuObjEmu > > muRegionizers_
 
unsigned int ncalo_
 
int nclocks_
 
unsigned int nem_
 
unsigned int netaslices_
 
unsigned int nmu_
 
unsigned int nregions_
 
unsigned int ntk_
 
std::vector< tdr_regionizer::Regionizer< l1ct::TkObjEmu > > tkRegionizers_
 

Additional Inherited Members

- Protected Attributes inherited from l1ct::RegionizerEmulator
bool debug_
 
bool useAlsoVtxCoords_
 

Detailed Description

Definition at line 12 of file tdr_regionizer_ref.h.

Constructor & Destructor Documentation

◆ TDRRegionizerEmulator() [1/2]

l1ct::TDRRegionizerEmulator::TDRRegionizerEmulator ( unsigned int  netaslices,
unsigned int  ntk,
unsigned int  ncalo,
unsigned int  nem,
unsigned int  nmu,
int  nclocks,
bool  dosort 
)

◆ TDRRegionizerEmulator() [2/2]

l1ct::TDRRegionizerEmulator::TDRRegionizerEmulator ( const edm::ParameterSet iConfig)

◆ ~TDRRegionizerEmulator()

l1ct::TDRRegionizerEmulator::~TDRRegionizerEmulator ( )
override

Member Function Documentation

◆ fillLinks() [1/4]

void l1ct::TDRRegionizerEmulator::fillLinks ( const RegionizerDecodedInputs in,
std::vector< std::vector< l1ct::TkObjEmu >> &  links 
)

◆ fillLinks() [2/4]

void l1ct::TDRRegionizerEmulator::fillLinks ( const RegionizerDecodedInputs in,
std::vector< std::vector< l1ct::HadCaloObjEmu >> &  links 
)

◆ fillLinks() [3/4]

void l1ct::TDRRegionizerEmulator::fillLinks ( const RegionizerDecodedInputs in,
std::vector< std::vector< l1ct::EmCaloObjEmu >> &  links 
)

◆ fillLinks() [4/4]

void l1ct::TDRRegionizerEmulator::fillLinks ( const RegionizerDecodedInputs in,
std::vector< std::vector< l1ct::MuObjEmu >> &  links 
)

◆ initSectorsAndRegions()

void l1ct::TDRRegionizerEmulator::initSectorsAndRegions ( const RegionizerDecodedInputs in,
const std::vector< PFInputRegion > &  out 
)
overridevirtual

Reimplemented from l1ct::RegionizerEmulator.

◆ run()

void l1ct::TDRRegionizerEmulator::run ( const RegionizerDecodedInputs in,
std::vector< PFInputRegion > &  out 
)
overridevirtual

Reimplemented from l1ct::RegionizerEmulator.

◆ toFirmware() [1/4]

void l1ct::TDRRegionizerEmulator::toFirmware ( const std::vector< l1ct::TkObjEmu > &  emu,
TkObj  fw[NTK_SECTORS][NTK_LINKS] 
)

◆ toFirmware() [2/4]

void l1ct::TDRRegionizerEmulator::toFirmware ( const std::vector< l1ct::HadCaloObjEmu > &  emu,
HadCaloObj  fw[NCALO_SECTORS][NCALO_LINKS] 
)

◆ toFirmware() [3/4]

void l1ct::TDRRegionizerEmulator::toFirmware ( const std::vector< l1ct::EmCaloObjEmu > &  emu,
EmCaloObj  fw[NCALO_SECTORS][NCALO_LINKS] 
)

◆ toFirmware() [4/4]

void l1ct::TDRRegionizerEmulator::toFirmware ( const std::vector< l1ct::MuObjEmu > &  emu,
MuObj  fw[NMU_LINKS] 
)

Member Data Documentation

◆ dosort_

bool l1ct::TDRRegionizerEmulator::dosort_
private

Definition at line 57 of file tdr_regionizer_ref.h.

◆ emCaloRegionizers_

std::vector<tdr_regionizer::Regionizer<l1ct::EmCaloObjEmu> > l1ct::TDRRegionizerEmulator::emCaloRegionizers_
private

Definition at line 61 of file tdr_regionizer_ref.h.

◆ hadCaloRegionizers_

std::vector<tdr_regionizer::Regionizer<l1ct::HadCaloObjEmu> > l1ct::TDRRegionizerEmulator::hadCaloRegionizers_
private

Definition at line 60 of file tdr_regionizer_ref.h.

◆ init_

bool l1ct::TDRRegionizerEmulator::init_
private

Definition at line 57 of file tdr_regionizer_ref.h.

◆ MAX_CALO_EVT

const int l1ct::TDRRegionizerEmulator::MAX_CALO_EVT = 162
static

Definition at line 31 of file tdr_regionizer_ref.h.

◆ MAX_EMCALO_EVT

const int l1ct::TDRRegionizerEmulator::MAX_EMCALO_EVT = 162
static

Definition at line 31 of file tdr_regionizer_ref.h.

◆ MAX_MU_EVT

const int l1ct::TDRRegionizerEmulator::MAX_MU_EVT = 162
static

Definition at line 32 of file tdr_regionizer_ref.h.

◆ MAX_TK_EVT

const int l1ct::TDRRegionizerEmulator::MAX_TK_EVT = 108
static

Definition at line 31 of file tdr_regionizer_ref.h.

◆ muRegionizers_

std::vector<tdr_regionizer::Regionizer<l1ct::MuObjEmu> > l1ct::TDRRegionizerEmulator::muRegionizers_
private

Definition at line 62 of file tdr_regionizer_ref.h.

◆ ncalo_

unsigned int l1ct::TDRRegionizerEmulator::ncalo_
private

Definition at line 55 of file tdr_regionizer_ref.h.

◆ NCALO_LINKS

const int l1ct::TDRRegionizerEmulator::NCALO_LINKS = 4
static

Definition at line 28 of file tdr_regionizer_ref.h.

◆ NCALO_SECTORS

const int l1ct::TDRRegionizerEmulator::NCALO_SECTORS = 4
static

Definition at line 28 of file tdr_regionizer_ref.h.

◆ nclocks_

int l1ct::TDRRegionizerEmulator::nclocks_
private

Definition at line 56 of file tdr_regionizer_ref.h.

◆ nem_

unsigned int l1ct::TDRRegionizerEmulator::nem_
private

Definition at line 55 of file tdr_regionizer_ref.h.

◆ NEMCALO_LINKS

const int l1ct::TDRRegionizerEmulator::NEMCALO_LINKS = 4
static

Definition at line 29 of file tdr_regionizer_ref.h.

◆ NEMCALO_SECTORS

const int l1ct::TDRRegionizerEmulator::NEMCALO_SECTORS = 4
static

Definition at line 29 of file tdr_regionizer_ref.h.

◆ NETA_SMALL

const int l1ct::TDRRegionizerEmulator::NETA_SMALL = 2
static

Definition at line 35 of file tdr_regionizer_ref.h.

◆ netaslices_

unsigned int l1ct::TDRRegionizerEmulator::netaslices_
private

Definition at line 55 of file tdr_regionizer_ref.h.

◆ nmu_

unsigned int l1ct::TDRRegionizerEmulator::nmu_
private

Definition at line 55 of file tdr_regionizer_ref.h.

◆ NMU_LINKS

const int l1ct::TDRRegionizerEmulator::NMU_LINKS = 2
static

Definition at line 30 of file tdr_regionizer_ref.h.

◆ nregions_

unsigned int l1ct::TDRRegionizerEmulator::nregions_
private

Definition at line 55 of file tdr_regionizer_ref.h.

◆ ntk_

unsigned int l1ct::TDRRegionizerEmulator::ntk_
private

Definition at line 55 of file tdr_regionizer_ref.h.

◆ NTK_LINKS

const int l1ct::TDRRegionizerEmulator::NTK_LINKS = 2
static

Definition at line 27 of file tdr_regionizer_ref.h.

◆ NTK_SECTORS

const int l1ct::TDRRegionizerEmulator::NTK_SECTORS = 9
static

Definition at line 27 of file tdr_regionizer_ref.h.

◆ NUMBER_OF_SMALL_REGIONS

const int l1ct::TDRRegionizerEmulator::NUMBER_OF_SMALL_REGIONS = 18
static

Definition at line 34 of file tdr_regionizer_ref.h.

◆ tkRegionizers_

std::vector<tdr_regionizer::Regionizer<l1ct::TkObjEmu> > l1ct::TDRRegionizerEmulator::tkRegionizers_
private

Definition at line 59 of file tdr_regionizer_ref.h.