#include <pfeginput_ref.h>
Public Member Functions | |
EGInputSelectorEmulator (const EGInputSelectorEmuConfig &config) | |
void | select_eginput (const l1ct::HadCaloObjEmu &in, l1ct::EmCaloObjEmu &out, bool &valid_out) const |
void | select_eginputs (const std::vector< l1ct::HadCaloObjEmu > &hadcalo_in, std::vector< l1ct::EmCaloObjEmu > &emcalo_sel) const |
void | select_or_clear (const l1ct::HadCaloObjEmu &hadcalo_in, l1ct::EmCaloObjEmu &emcalo_out) const |
if the hadcalo passes the EM selection, do the conversion, otherwise zero-out the result More... | |
void | select_or_clear (const std::vector< l1ct::HadCaloObjEmu > &hadcalo_in, std::vector< l1ct::EmCaloObjEmu > &emcalo_out) const |
apply select_or_clear on all elements of the input vector More... | |
void | setDebug (int debug) |
void | toFirmware (const PFInputRegion &in, HadCaloObj hadcalo[]) const |
void | toFirmware (const std::vector< l1ct::EmCaloObjEmu > &emcalo_sel, l1ct::EmCaloObj emcalo[]) const |
virtual | ~EGInputSelectorEmulator () |
Private Attributes | |
EGInputSelectorEmuConfig | cfg |
int | debug_ |
Definition at line 26 of file pfeginput_ref.h.
|
inline |
Definition at line 28 of file pfeginput_ref.h.
|
inlinevirtual |
Definition at line 30 of file pfeginput_ref.h.
void l1ct::EGInputSelectorEmulator::select_eginput | ( | const l1ct::HadCaloObjEmu & | in, |
l1ct::EmCaloObjEmu & | out, | ||
bool & | valid_out | ||
) | const |
void l1ct::EGInputSelectorEmulator::select_eginputs | ( | const std::vector< l1ct::HadCaloObjEmu > & | hadcalo_in, |
std::vector< l1ct::EmCaloObjEmu > & | emcalo_sel | ||
) | const |
void l1ct::EGInputSelectorEmulator::select_or_clear | ( | const l1ct::HadCaloObjEmu & | hadcalo_in, |
l1ct::EmCaloObjEmu & | emcalo_out | ||
) | const |
if the hadcalo passes the EM selection, do the conversion, otherwise zero-out the result
void l1ct::EGInputSelectorEmulator::select_or_clear | ( | const std::vector< l1ct::HadCaloObjEmu > & | hadcalo_in, |
std::vector< l1ct::EmCaloObjEmu > & | emcalo_out | ||
) | const |
apply select_or_clear on all elements of the input vector
|
inline |
Definition at line 48 of file pfeginput_ref.h.
void l1ct::EGInputSelectorEmulator::toFirmware | ( | const PFInputRegion & | in, |
HadCaloObj | hadcalo[] | ||
) | const |
void l1ct::EGInputSelectorEmulator::toFirmware | ( | const std::vector< l1ct::EmCaloObjEmu > & | emcalo_sel, |
l1ct::EmCaloObj | emcalo[] | ||
) | const |
|
private |
Definition at line 51 of file pfeginput_ref.h.
|
private |
Definition at line 52 of file pfeginput_ref.h.
Referenced by setDebug().