#include <multififo_regionizer_ref.h>
Public Types | |
enum | BarrelSetup { BarrelSetup::Full54, BarrelSetup::Full27, BarrelSetup::Central18, BarrelSetup::Central9, BarrelSetup::Phi18, BarrelSetup::Phi9 } |
Public Member Functions | |
void | destream (int iclock, const std::vector< l1ct::TkObjEmu > &tk_out, const std::vector< l1ct::EmCaloObjEmu > &em_out, const std::vector< l1ct::HadCaloObjEmu > &calo_out, const std::vector< l1ct::MuObjEmu > &mu_out, PFInputRegion &out) |
void | fillLinks (unsigned int iclock, const RegionizerDecodedInputs &in, std::vector< l1ct::TkObjEmu > &links, std::vector< bool > &valid) |
void | fillLinks (unsigned int iclock, const RegionizerDecodedInputs &in, std::vector< l1ct::HadCaloObjEmu > &links, std::vector< bool > &valid) |
void | fillLinks (unsigned int iclock, const RegionizerDecodedInputs &in, std::vector< l1ct::EmCaloObjEmu > &links, std::vector< bool > &valid) |
void | fillLinks (unsigned int iclock, const RegionizerDecodedInputs &in, std::vector< l1ct::MuObjEmu > &links, std::vector< bool > &valid) |
template<typename T > | |
void | fillLinks (unsigned int iclock, const RegionizerDecodedInputs &in, std::vector< T > &links) |
void | initSectorsAndRegions (const RegionizerDecodedInputs &in, const std::vector< PFInputRegion > &out) override |
MultififoRegionizerEmulator (unsigned int nendcaps, unsigned int nclocks, unsigned int ntklinks, unsigned int ncalolinks, unsigned int ntk, unsigned int ncalo, unsigned int nem, unsigned int nmu, bool streaming, unsigned int outii, unsigned int pauseii, bool useAlsoVtxCoords) | |
MultififoRegionizerEmulator (BarrelSetup barrelSetup, unsigned int nHCalLinks, unsigned int nECalLinks, unsigned int nclocks, unsigned int ntk, unsigned int ncalo, unsigned int nem, unsigned int nmu, bool streaming, unsigned int outii, unsigned int pauseii, bool useAlsoVtxCoords) | |
MultififoRegionizerEmulator (const edm::ParameterSet &iConfig) | |
MultififoRegionizerEmulator (const std::string &barrelSetup, const edm::ParameterSet &iConfig) | |
void | reset () |
void | run (const RegionizerDecodedInputs &in, std::vector< PFInputRegion > &out) override |
void | setEgInterceptMode (bool afterFifo, const l1ct::EGInputSelectorEmuConfig &interceptorConfig) |
bool | step (bool newEvent, const std::vector< l1ct::TkObjEmu > &links, std::vector< l1ct::TkObjEmu > &out, bool mux=true) |
bool | step (bool newEvent, const std::vector< l1ct::EmCaloObjEmu > &links, std::vector< l1ct::EmCaloObjEmu > &out, bool mux=true) |
bool | step (bool newEvent, const std::vector< l1ct::HadCaloObjEmu > &links, std::vector< l1ct::HadCaloObjEmu > &out, bool mux=true) |
bool | step (bool newEvent, const std::vector< l1ct::MuObjEmu > &links, std::vector< l1ct::MuObjEmu > &out, bool mux=true) |
bool | step (bool newEvent, const std::vector< l1ct::TkObjEmu > &links_tk, const std::vector< l1ct::HadCaloObjEmu > &links_hadCalo, const std::vector< l1ct::EmCaloObjEmu > &links_emCalo, const std::vector< l1ct::MuObjEmu > &links_mu, std::vector< l1ct::TkObjEmu > &out_tk, std::vector< l1ct::HadCaloObjEmu > &out_hadCalo, std::vector< l1ct::EmCaloObjEmu > &out_emCalo, std::vector< l1ct::MuObjEmu > &out_mu, bool mux=true) |
void | toFirmware (const std::vector< l1ct::TkObjEmu > &emu, TkObj fw[]) |
void | toFirmware (const std::vector< l1ct::HadCaloObjEmu > &emu, HadCaloObj fw[]) |
void | toFirmware (const std::vector< l1ct::EmCaloObjEmu > &emu, EmCaloObj fw[]) |
void | toFirmware (const std::vector< l1ct::MuObjEmu > &emu, MuObj fw[]) |
~MultififoRegionizerEmulator () 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 Member Functions | |
static BarrelSetup | parseBarrelSetup (const std::string &setup) |
Private Types | |
enum | EmInterceptMode { noIntercept = 0, interceptPreFifo, interceptPostFifo } |
Private Member Functions | |
template<typename T > | |
void | fillCaloLinks (unsigned int iclock, const std::vector< DetectorSector< T >> &in, std::vector< T > &links, std::vector< bool > &valid) |
Additional Inherited Members | |
Protected Attributes inherited from l1ct::RegionizerEmulator | |
bool | debug_ |
bool | useAlsoVtxCoords_ |
Definition at line 18 of file multififo_regionizer_ref.h.
|
strong |
Enumerator | |
---|---|
Full54 | |
Full27 | |
Central18 | |
Central9 | |
Phi18 | |
Phi9 |
Definition at line 33 of file multififo_regionizer_ref.h.
|
private |
Enumerator | |
---|---|
noIntercept | |
interceptPreFifo | |
interceptPostFifo |
Definition at line 129 of file multififo_regionizer_ref.h.
l1ct::MultififoRegionizerEmulator::MultififoRegionizerEmulator | ( | unsigned int | nendcaps, |
unsigned int | nclocks, | ||
unsigned int | ntklinks, | ||
unsigned int | ncalolinks, | ||
unsigned int | ntk, | ||
unsigned int | ncalo, | ||
unsigned int | nem, | ||
unsigned int | nmu, | ||
bool | streaming, | ||
unsigned int | outii, | ||
unsigned int | pauseii, | ||
bool | useAlsoVtxCoords | ||
) |
l1ct::MultififoRegionizerEmulator::MultififoRegionizerEmulator | ( | BarrelSetup | barrelSetup, |
unsigned int | nHCalLinks, | ||
unsigned int | nECalLinks, | ||
unsigned int | nclocks, | ||
unsigned int | ntk, | ||
unsigned int | ncalo, | ||
unsigned int | nem, | ||
unsigned int | nmu, | ||
bool | streaming, | ||
unsigned int | outii, | ||
unsigned int | pauseii, | ||
bool | useAlsoVtxCoords | ||
) |
l1ct::MultififoRegionizerEmulator::MultififoRegionizerEmulator | ( | const edm::ParameterSet & | iConfig | ) |
l1ct::MultififoRegionizerEmulator::MultififoRegionizerEmulator | ( | const std::string & | barrelSetup, |
const edm::ParameterSet & | iConfig | ||
) |
|
override |
void l1ct::MultififoRegionizerEmulator::destream | ( | int | iclock, |
const std::vector< l1ct::TkObjEmu > & | tk_out, | ||
const std::vector< l1ct::EmCaloObjEmu > & | em_out, | ||
const std::vector< l1ct::HadCaloObjEmu > & | calo_out, | ||
const std::vector< l1ct::MuObjEmu > & | mu_out, | ||
PFInputRegion & | out | ||
) |
|
private |
void l1ct::MultififoRegionizerEmulator::fillLinks | ( | unsigned int | iclock, |
const RegionizerDecodedInputs & | in, | ||
std::vector< l1ct::TkObjEmu > & | links, | ||
std::vector< bool > & | valid | ||
) |
Referenced by fillLinks().
void l1ct::MultififoRegionizerEmulator::fillLinks | ( | unsigned int | iclock, |
const RegionizerDecodedInputs & | in, | ||
std::vector< l1ct::HadCaloObjEmu > & | links, | ||
std::vector< bool > & | valid | ||
) |
void l1ct::MultififoRegionizerEmulator::fillLinks | ( | unsigned int | iclock, |
const RegionizerDecodedInputs & | in, | ||
std::vector< l1ct::EmCaloObjEmu > & | links, | ||
std::vector< bool > & | valid | ||
) |
void l1ct::MultififoRegionizerEmulator::fillLinks | ( | unsigned int | iclock, |
const RegionizerDecodedInputs & | in, | ||
std::vector< l1ct::MuObjEmu > & | links, | ||
std::vector< bool > & | valid | ||
) |
|
inline |
Definition at line 111 of file multififo_regionizer_ref.h.
References fillLinks(), recoMuon::in, and electronStore::links.
|
overridevirtual |
Reimplemented from l1ct::RegionizerEmulator.
|
static |
void l1ct::MultififoRegionizerEmulator::reset | ( | ) |
|
overridevirtual |
Reimplemented from l1ct::RegionizerEmulator.
void l1ct::MultififoRegionizerEmulator::setEgInterceptMode | ( | bool | afterFifo, |
const l1ct::EGInputSelectorEmuConfig & | interceptorConfig | ||
) |
bool l1ct::MultififoRegionizerEmulator::step | ( | bool | newEvent, |
const std::vector< l1ct::TkObjEmu > & | links, | ||
std::vector< l1ct::TkObjEmu > & | out, | ||
bool | mux = true |
||
) |
bool l1ct::MultififoRegionizerEmulator::step | ( | bool | newEvent, |
const std::vector< l1ct::EmCaloObjEmu > & | links, | ||
std::vector< l1ct::EmCaloObjEmu > & | out, | ||
bool | mux = true |
||
) |
bool l1ct::MultififoRegionizerEmulator::step | ( | bool | newEvent, |
const std::vector< l1ct::HadCaloObjEmu > & | links, | ||
std::vector< l1ct::HadCaloObjEmu > & | out, | ||
bool | mux = true |
||
) |
bool l1ct::MultififoRegionizerEmulator::step | ( | bool | newEvent, |
const std::vector< l1ct::MuObjEmu > & | links, | ||
std::vector< l1ct::MuObjEmu > & | out, | ||
bool | mux = true |
||
) |
bool l1ct::MultififoRegionizerEmulator::step | ( | bool | newEvent, |
const std::vector< l1ct::TkObjEmu > & | links_tk, | ||
const std::vector< l1ct::HadCaloObjEmu > & | links_hadCalo, | ||
const std::vector< l1ct::EmCaloObjEmu > & | links_emCalo, | ||
const std::vector< l1ct::MuObjEmu > & | links_mu, | ||
std::vector< l1ct::TkObjEmu > & | out_tk, | ||
std::vector< l1ct::HadCaloObjEmu > & | out_hadCalo, | ||
std::vector< l1ct::EmCaloObjEmu > & | out_emCalo, | ||
std::vector< l1ct::MuObjEmu > & | out_mu, | ||
bool | mux = true |
||
) |
void l1ct::MultififoRegionizerEmulator::toFirmware | ( | const std::vector< l1ct::TkObjEmu > & | emu, |
TkObj | fw[] | ||
) |
void l1ct::MultififoRegionizerEmulator::toFirmware | ( | const std::vector< l1ct::HadCaloObjEmu > & | emu, |
HadCaloObj | fw[] | ||
) |
void l1ct::MultififoRegionizerEmulator::toFirmware | ( | const std::vector< l1ct::EmCaloObjEmu > & | emu, |
EmCaloObj | fw[] | ||
) |
void l1ct::MultififoRegionizerEmulator::toFirmware | ( | const std::vector< l1ct::MuObjEmu > & | emu, |
MuObj | fw[] | ||
) |
|
private |
Definition at line 137 of file multififo_regionizer_ref.h.
|
private |
Definition at line 126 of file multififo_regionizer_ref.h.
|
private |
Definition at line 135 of file multififo_regionizer_ref.h.
|
private |
Definition at line 137 of file multififo_regionizer_ref.h.
|
private |
|
private |
Definition at line 134 of file multififo_regionizer_ref.h.
|
private |
Definition at line 126 of file multififo_regionizer_ref.h.
|
private |
Definition at line 131 of file multififo_regionizer_ref.h.
|
private |
Definition at line 130 of file multififo_regionizer_ref.h.
|
private |
Definition at line 136 of file multififo_regionizer_ref.h.
|
private |
Definition at line 137 of file multififo_regionizer_ref.h.
|
private |
Definition at line 127 of file multififo_regionizer_ref.h.
|
private |
Definition at line 126 of file multififo_regionizer_ref.h.
|
private |
Definition at line 125 of file multififo_regionizer_ref.h.
|
private |
Definition at line 127 of file multififo_regionizer_ref.h.
|
private |
Definition at line 127 of file multififo_regionizer_ref.h.
|
private |
Definition at line 127 of file multififo_regionizer_ref.h.
|
private |
Definition at line 127 of file multififo_regionizer_ref.h.
|
private |
Definition at line 126 of file multififo_regionizer_ref.h.
|
private |
Definition at line 127 of file multififo_regionizer_ref.h.
|
private |
Definition at line 127 of file multififo_regionizer_ref.h.
|
private |
Definition at line 126 of file multififo_regionizer_ref.h.
|
private |
Definition at line 125 of file multififo_regionizer_ref.h.
|
private |
Definition at line 127 of file multififo_regionizer_ref.h.
|
private |
Definition at line 127 of file multififo_regionizer_ref.h.
|
private |
Definition at line 128 of file multififo_regionizer_ref.h.
|
private |
Definition at line 133 of file multififo_regionizer_ref.h.
|
private |
Definition at line 137 of file multififo_regionizer_ref.h.