#include <PhysicsToBitConverter.h>
Public Member Functions | |
int | BuildDecimalValue (int firstbit, int bitlength, int linkid) |
void | Convert () |
void | Extract32bitwords () |
int | Get32bitWordLinkEven (int index) |
int | Get32bitWordLinkOdd (int index) |
int | GetHFEt (int region) |
int | GetHFFg (int region) |
int | GetIECard (int cand) |
int | GetIEEt (int cand) |
int | GetIEReg (int cand) |
int | GetNECard (int cand) |
int | GetNEEt (int cand) |
int | GetNEReg (int cand) |
int | GetObject (rctDataBase::rctObjectType t, int firstindex, int secondindex=-1) |
int | GetRCEt (int card, int region) |
int | GetRCHad (int card, int region) |
int | GetRCOf (int card, int region) |
int | GetRCTau (int card, int region) |
PhysicsToBitConverter () | |
int | ReadBitInInt (int bit, int value) |
void | Set32bitWordLinkEven (int index, uint32_t value) |
void | Set32bitWordLinkOdd (int index, uint32_t value) |
void | SetHFEt (int value, int region) |
void | SetHFFg (int value, int region) |
void | SetIECard (int value, int cand) |
void | SetIEEt (int value, int cand) |
void | SetIEReg (int value, int cand) |
void | SetNECard (int value, int cand) |
void | SetNEEt (int value, int cand) |
void | SetNEReg (int value, int cand) |
void | SetObject (rctDataBase::rctObjectType t, int value, int firstindex, int secondindex=-1) |
void | SetRCEt (int value, int card, int region) |
void | SetRCHad (int value, int card, int region) |
void | SetRCOf (int value, int card, int region) |
void | SetRCTau (int value, int card, int region) |
~PhysicsToBitConverter () | |
Private Attributes | |
int | bitsLink [2][192] |
rctDataBase | databaseobject |
int | words32bitLink [2][6] |
Definition at line 21 of file PhysicsToBitConverter.h.
l1t::PhysicsToBitConverter::PhysicsToBitConverter | ( | ) |
Definition at line 5 of file PhysicsToBitConverter.cc.
References bitsLink, funct::m, gen::n, and words32bitLink.
|
inline |
Definition at line 33 of file PhysicsToBitConverter.h.
int l1t::PhysicsToBitConverter::BuildDecimalValue | ( | int | firstbit, |
int | bitlength, | ||
int | linkid | ||
) |
Definition at line 70 of file PhysicsToBitConverter.cc.
References bitsLink, counter, and funct::m.
Referenced by Extract32bitwords(), Get32bitWordLinkOdd(), and GetObject().
void l1t::PhysicsToBitConverter::Convert | ( | ) |
Definition at line 18 of file PhysicsToBitConverter.cc.
References bitsLink, ReadBitInInt(), and words32bitLink.
Referenced by Get32bitWordLinkOdd(), l1t::stage1::unpack_em(), and l1t::stage1::unpack_region().
void l1t::PhysicsToBitConverter::Extract32bitwords | ( | ) |
Definition at line 31 of file PhysicsToBitConverter.cc.
References BuildDecimalValue(), and words32bitLink.
Referenced by Get32bitWordLinkOdd(), and l1t::stage1::RCTEmRegionPacker::pack().
|
inline |
Definition at line 37 of file PhysicsToBitConverter.h.
|
inline |
Definition at line 38 of file PhysicsToBitConverter.h.
References BuildDecimalValue(), Convert(), Extract32bitwords(), GetObject(), ReadBitInInt(), SetObject(), and lumiQTWidget::t.
|
inline |
Definition at line 50 of file PhysicsToBitConverter.h.
References GetObject(), and l1t::rctDataBase::HFEt.
Referenced by l1t::stage1::unpack_region().
|
inline |
Definition at line 53 of file PhysicsToBitConverter.h.
References GetObject(), and l1t::rctDataBase::HFFg.
Referenced by l1t::stage1::unpack_region().
|
inline |
Definition at line 58 of file PhysicsToBitConverter.h.
References GetObject(), and l1t::rctDataBase::IECard.
Referenced by l1t::stage1::unpack_em().
|
inline |
Definition at line 59 of file PhysicsToBitConverter.h.
References GetObject(), and l1t::rctDataBase::IEEt.
Referenced by l1t::stage1::unpack_em().
|
inline |
Definition at line 57 of file PhysicsToBitConverter.h.
References GetObject(), and l1t::rctDataBase::IEReg.
Referenced by l1t::stage1::unpack_em().
|
inline |
Definition at line 55 of file PhysicsToBitConverter.h.
References GetObject(), and l1t::rctDataBase::NECard.
Referenced by l1t::stage1::unpack_em().
|
inline |
Definition at line 56 of file PhysicsToBitConverter.h.
References GetObject(), and l1t::rctDataBase::NEEt.
Referenced by l1t::stage1::unpack_em().
|
inline |
Definition at line 54 of file PhysicsToBitConverter.h.
References GetObject(), and l1t::rctDataBase::NEReg.
Referenced by l1t::stage1::unpack_em().
int l1t::PhysicsToBitConverter::GetObject | ( | rctDataBase::rctObjectType | t, |
int | firstindex, | ||
int | secondindex = -1 |
||
) |
Definition at line 42 of file PhysicsToBitConverter.cc.
References BuildDecimalValue(), databaseobject, l1t::rctDataBase::GetIndices(), l1t::rctDataBase::GetLength(), and l1t::rctDataBase::GetLink().
Referenced by Get32bitWordLinkOdd(), GetHFEt(), GetHFFg(), GetIECard(), GetIEEt(), GetIEReg(), GetNECard(), GetNEEt(), GetNEReg(), GetRCEt(), GetRCHad(), GetRCOf(), and GetRCTau().
|
inline |
Definition at line 49 of file PhysicsToBitConverter.h.
References GetObject(), and l1t::rctDataBase::RCEt.
Referenced by l1t::stage1::unpack_region().
|
inline |
Definition at line 60 of file PhysicsToBitConverter.h.
References GetObject(), and l1t::rctDataBase::RCHad.
Referenced by l1t::stage1::unpack_region().
|
inline |
Definition at line 52 of file PhysicsToBitConverter.h.
References GetObject(), and l1t::rctDataBase::RCOf.
Referenced by l1t::stage1::unpack_region().
|
inline |
Definition at line 51 of file PhysicsToBitConverter.h.
References GetObject(), and l1t::rctDataBase::RCTau.
Referenced by l1t::stage1::unpack_region().
int l1t::PhysicsToBitConverter::ReadBitInInt | ( | int | bit, |
int | value | ||
) |
Definition at line 63 of file PhysicsToBitConverter.cc.
Referenced by Convert(), and Get32bitWordLinkOdd().
|
inline |
Definition at line 34 of file PhysicsToBitConverter.h.
References relativeConstraints::value.
Referenced by l1t::stage1::unpack_region().
|
inline |
Definition at line 35 of file PhysicsToBitConverter.h.
References relativeConstraints::value.
Referenced by l1t::stage1::unpack_em(), and l1t::stage1::unpack_region().
|
inline |
Definition at line 63 of file PhysicsToBitConverter.h.
References l1t::rctDataBase::HFEt, and SetObject().
Referenced by l1t::stage1::RCTEmRegionPacker::pack().
|
inline |
Definition at line 66 of file PhysicsToBitConverter.h.
References l1t::rctDataBase::HFFg, and SetObject().
Referenced by l1t::stage1::RCTEmRegionPacker::pack().
|
inline |
Definition at line 71 of file PhysicsToBitConverter.h.
References l1t::rctDataBase::IECard, and SetObject().
Referenced by l1t::stage1::RCTEmRegionPacker::pack().
|
inline |
Definition at line 72 of file PhysicsToBitConverter.h.
References l1t::rctDataBase::IEEt, and SetObject().
Referenced by l1t::stage1::RCTEmRegionPacker::pack().
|
inline |
Definition at line 70 of file PhysicsToBitConverter.h.
References l1t::rctDataBase::IEReg, and SetObject().
Referenced by l1t::stage1::RCTEmRegionPacker::pack().
|
inline |
Definition at line 68 of file PhysicsToBitConverter.h.
References l1t::rctDataBase::NECard, and SetObject().
Referenced by l1t::stage1::RCTEmRegionPacker::pack().
|
inline |
Definition at line 69 of file PhysicsToBitConverter.h.
References l1t::rctDataBase::NEEt, and SetObject().
Referenced by l1t::stage1::RCTEmRegionPacker::pack().
|
inline |
Definition at line 67 of file PhysicsToBitConverter.h.
References l1t::rctDataBase::NEReg, and SetObject().
Referenced by l1t::stage1::RCTEmRegionPacker::pack().
void l1t::PhysicsToBitConverter::SetObject | ( | rctDataBase::rctObjectType | t, |
int | value, | ||
int | firstindex, | ||
int | secondindex = -1 |
||
) |
Definition at line 51 of file PhysicsToBitConverter.cc.
References gather_cfg::cout, databaseobject, l1t::rctDataBase::GetIndices(), l1t::rctDataBase::GetLength(), l1t::rctDataBase::GetLink(), mps_fire::i, funct::pow(), and globals_cff::x1.
Referenced by Get32bitWordLinkOdd(), SetHFEt(), SetHFFg(), SetIECard(), SetIEEt(), SetIEReg(), SetNECard(), SetNEEt(), SetNEReg(), SetRCEt(), SetRCHad(), SetRCOf(), and SetRCTau().
|
inline |
Definition at line 62 of file PhysicsToBitConverter.h.
References l1t::rctDataBase::RCEt, and SetObject().
Referenced by l1t::stage1::RCTEmRegionPacker::pack().
|
inline |
Definition at line 73 of file PhysicsToBitConverter.h.
References l1t::rctDataBase::RCHad, and SetObject().
Referenced by l1t::stage1::RCTEmRegionPacker::pack().
|
inline |
Definition at line 65 of file PhysicsToBitConverter.h.
References l1t::rctDataBase::RCOf, and SetObject().
Referenced by l1t::stage1::RCTEmRegionPacker::pack().
|
inline |
Definition at line 64 of file PhysicsToBitConverter.h.
References l1t::rctDataBase::RCTau, and SetObject().
Referenced by l1t::stage1::RCTEmRegionPacker::pack().
|
private |
Definition at line 26 of file PhysicsToBitConverter.h.
Referenced by BuildDecimalValue(), Convert(), and PhysicsToBitConverter().
|
private |
Definition at line 27 of file PhysicsToBitConverter.h.
Referenced by GetObject(), and SetObject().
|
private |
Definition at line 24 of file PhysicsToBitConverter.h.
Referenced by Convert(), Extract32bitwords(), and PhysicsToBitConverter().