#include <PhysicsToBitConverter.h>
Public Member Functions | |
int | BuildPhysicsValue (int firstbit, int bitlength, int linkid) |
void | Convert () |
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) |
~PhysicsToBitConverter () | |
Private Attributes | |
std::vector< int > | bitsLink [2] |
rctDataBase | databaseobject |
int | words32bitLink [2][6] |
Definition at line 20 of file PhysicsToBitConverter.h.
l1t::PhysicsToBitConverter::PhysicsToBitConverter | ( | ) |
Definition at line 5 of file PhysicsToBitConverter.cc.
|
inline |
Definition at line 32 of file PhysicsToBitConverter.h.
int l1t::PhysicsToBitConverter::BuildPhysicsValue | ( | int | firstbit, |
int | bitlength, | ||
int | linkid | ||
) |
Definition at line 35 of file PhysicsToBitConverter.cc.
References bitsLink, counter, and contentValuesFiles::m.
Referenced by GetObject().
void l1t::PhysicsToBitConverter::Convert | ( | ) |
Definition at line 9 of file PhysicsToBitConverter.cc.
References bitsLink, ReadBitInInt(), and words32bitLink.
Referenced by l1t::stage1::RCTEmUnpacker::unpack(), and l1t::stage1::RCTRegionUnpacker::unpack().
|
inline |
Definition at line 43 of file PhysicsToBitConverter.h.
References GetObject(), and l1t::rctDataBase::HFEt.
Referenced by l1t::stage1::RCTRegionUnpacker::unpack().
|
inline |
Definition at line 46 of file PhysicsToBitConverter.h.
References GetObject(), and l1t::rctDataBase::HFFg.
|
inline |
Definition at line 51 of file PhysicsToBitConverter.h.
References GetObject(), and l1t::rctDataBase::IECard.
Referenced by l1t::stage1::RCTEmUnpacker::unpack().
|
inline |
Definition at line 52 of file PhysicsToBitConverter.h.
References GetObject(), and l1t::rctDataBase::IEEt.
Referenced by l1t::stage1::RCTEmUnpacker::unpack().
|
inline |
Definition at line 50 of file PhysicsToBitConverter.h.
References GetObject(), and l1t::rctDataBase::IEReg.
Referenced by l1t::stage1::RCTEmUnpacker::unpack().
|
inline |
Definition at line 48 of file PhysicsToBitConverter.h.
References GetObject(), and l1t::rctDataBase::NECard.
Referenced by l1t::stage1::RCTEmUnpacker::unpack().
|
inline |
Definition at line 49 of file PhysicsToBitConverter.h.
References GetObject(), and l1t::rctDataBase::NEEt.
Referenced by l1t::stage1::RCTEmUnpacker::unpack().
|
inline |
Definition at line 47 of file PhysicsToBitConverter.h.
References GetObject(), and l1t::rctDataBase::NEReg.
Referenced by l1t::stage1::RCTEmUnpacker::unpack().
int l1t::PhysicsToBitConverter::GetObject | ( | rctDataBase::rctObjectType | t, |
int | firstindex, | ||
int | secondindex = -1 |
||
) |
Definition at line 19 of file PhysicsToBitConverter.cc.
References BuildPhysicsValue(), databaseobject, l1t::rctDataBase::GetIndices(), l1t::rctDataBase::GetLength(), and l1t::rctDataBase::GetLink().
Referenced by GetHFEt(), GetHFFg(), GetIECard(), GetIEEt(), GetIEReg(), GetNECard(), GetNEEt(), GetNEReg(), GetRCEt(), GetRCHad(), GetRCOf(), and GetRCTau().
|
inline |
Definition at line 42 of file PhysicsToBitConverter.h.
References GetObject(), and l1t::rctDataBase::RCEt.
Referenced by l1t::stage1::RCTRegionUnpacker::unpack().
|
inline |
Definition at line 53 of file PhysicsToBitConverter.h.
References GetObject(), and l1t::rctDataBase::RCHad.
Referenced by l1t::stage1::RCTRegionUnpacker::unpack().
|
inline |
Definition at line 45 of file PhysicsToBitConverter.h.
References GetObject(), and l1t::rctDataBase::RCOf.
Referenced by l1t::stage1::RCTRegionUnpacker::unpack().
|
inline |
Definition at line 44 of file PhysicsToBitConverter.h.
References GetObject(), and l1t::rctDataBase::RCTau.
Referenced by l1t::stage1::RCTRegionUnpacker::unpack().
int l1t::PhysicsToBitConverter::ReadBitInInt | ( | int | bit, |
int | value | ||
) |
|
inline |
Definition at line 33 of file PhysicsToBitConverter.h.
References cmsHarvester::index, relativeConstraints::value, and words32bitLink.
Referenced by l1t::stage1::RCTEmUnpacker::unpack(), and l1t::stage1::RCTRegionUnpacker::unpack().
|
inline |
Definition at line 34 of file PhysicsToBitConverter.h.
References cmsHarvester::index, relativeConstraints::value, and words32bitLink.
Referenced by l1t::stage1::RCTEmUnpacker::unpack(), and l1t::stage1::RCTRegionUnpacker::unpack().
|
private |
Definition at line 25 of file PhysicsToBitConverter.h.
Referenced by BuildPhysicsValue(), and Convert().
|
private |
Definition at line 26 of file PhysicsToBitConverter.h.
Referenced by GetObject().
|
private |
Definition at line 23 of file PhysicsToBitConverter.h.
Referenced by Convert(), Set32bitWordLinkEven(), and Set32bitWordLinkOdd().