![]() |
ATLAS Offline Software
|
Class to hold Jet1 WTA TOB bits. More...
#include <Jet1TOB.h>
Public Member Functions | |
| Jet1TOB (const Jet1TOB &) | |
| Constructor taking an Jet1TOB to initialise bits. | |
| Jet1TOB (const GlobalSim::IOBitwise::CommonTOB &, const std::bitset< s_ring_zero_ptt_width > &, const std::bitset< s_ring_one_ptt_width > &, const std::bitset< s_ring_two_ptt_width > &, const std::bitset< s_ring_three_ptt_width > &, const std::bitset< s_ring_four_ptt_width > &, const std::bitset< s_total_tobs_width > &, const std::bitset< s_ring_one_tobs_width > &, const std::bitset< s_ring_two_tobs_width > &, const std::bitset< s_ring_three_tobs_width > &, const std::bitset< s_ring_four_tobs_width > &, const std::bitset< s_truncate_width > &, const std::bitset< s_next_tob_same_et_width > &, const std::bitset< s_error_width > &, const std::bitset< s_et_overflow_width > &) | |
| Constructor taking an CommonTOB and Jet1 WTA bitsets to initialise bits. | |
| virtual | ~Jet1TOB () |
| Destructor. | |
| virtual const std::bitset< s_ring_zero_ptt_width > & | ring_zero_ptt_bits () const |
| Returns the ring zero energy bits. | |
| virtual const std::bitset< s_ring_one_ptt_width > & | ring_one_ptt_bits () const |
| Returns the ring one energy bits. | |
| virtual const std::bitset< s_ring_two_ptt_width > & | ring_two_ptt_bits () const |
| Returns the ring two energy bits. | |
| virtual const std::bitset< s_ring_three_ptt_width > & | ring_three_ptt_bits () const |
| Returns the ring three energy bits. | |
| virtual const std::bitset< s_ring_four_ptt_width > & | ring_four_ptt_bits () const |
| Returns the ring four energy bits. | |
| virtual const std::bitset< s_total_tobs_width > & | total_tobs_bits () const |
| Returns the total tobs bits. | |
| virtual const std::bitset< s_ring_one_tobs_width > & | ring_one_tobs_bits () const |
| Returns the ring one tobs bits. | |
| virtual const std::bitset< s_ring_two_tobs_width > & | ring_two_tobs_bits () const |
| Returns the ring two tobs bits. | |
| virtual const std::bitset< s_ring_three_tobs_width > & | ring_three_tobs_bits () const |
| Returns the ring three tobs bits. | |
| virtual const std::bitset< s_ring_four_tobs_width > & | ring_four_tobs_bits () const |
| Returns the ring four tobs bits. | |
| virtual const std::bitset< s_truncate_width > & | truncate_bit () const |
| Returns the truncated flag bit. | |
| virtual const std::bitset< s_next_tob_same_et_width > & | next_tob_same_et_bit () const |
| Returns the next tob is same ET flag bit. | |
| virtual const std::bitset< s_error_width > & | error_bit () const |
| Returns the error flag bit. | |
| virtual const std::bitset< s_et_overflow_width > & | et_overflow_bit () const |
| Returns the et overflow flag bit. | |
| virtual std::string | to_string () const |
| print out contents to string | |
| virtual std::bitset< s_et_width > | et_bits () const |
| virtual std::bitset< s_eta_width > | eta_bits () const |
| virtual std::bitset< s_phi_width > | phi_bits () const |
Static Public Attributes | |
| static constexpr std::size_t | s_ring_zero_ptt_width {12} |
| Count: Size of ring zero energy bitset. | |
| static constexpr std::size_t | s_ring_one_ptt_width {15} |
| Count: Size of ring one energy bitset. | |
| static constexpr std::size_t | s_ring_two_ptt_width {15} |
| Count: Size of ring two energy bitset. | |
| static constexpr std::size_t | s_ring_three_ptt_width {15} |
| Count: Size of ring three energy bitset. | |
| static constexpr std::size_t | s_ring_four_ptt_width {12} |
| Count: Size of ring four energy bitset. | |
| static constexpr std::size_t | s_total_tobs_width {6} |
| Count: Size of total number of tobs bitset. | |
| static constexpr std::size_t | s_ring_one_tobs_width {4} |
| Count: Size of ring one tobs bitset. | |
| static constexpr std::size_t | s_ring_two_tobs_width {5} |
| Count: Size of ring two tobs bitset. | |
| static constexpr std::size_t | s_ring_three_tobs_width {5} |
| Count: Size of ring three tobs bitset. | |
| static constexpr std::size_t | s_ring_four_tobs_width {3} |
| Count: Size of ring four tobs bitset. | |
| static constexpr std::size_t | s_truncate_width {1} |
| Count: Size of truncated flag. | |
| static constexpr std::size_t | s_next_tob_same_et_width {1} |
| Count: Size of next tob same et flag. | |
| static constexpr std::size_t | s_error_width {1} |
| Count: Size of error state flag. | |
| static constexpr std::size_t | s_et_overflow_width {1} |
| Count: Size of overflow flag. | |
| static constexpr std::size_t | s_et_width {13} |
| Size of the eT bitset. | |
| static constexpr std::size_t | s_eta_width {10} |
| Size of the eta bitset. | |
| static constexpr std::size_t | s_phi_width {9} |
| Size of the phi bitset. | |
| static constexpr std::size_t | s_eFex_granularity {100} |
| static constexpr ulong | max_et {(1UL << s_et_width)-1} |
Private Attributes | |
| std::bitset< s_ring_zero_ptt_width > | m_ring_zero_ptt_bits |
| Property: ring zero ptt bitset within the Jet1TOB word. | |
| std::bitset< s_ring_one_ptt_width > | m_ring_one_ptt_bits |
| Property: ring one ptt bitset within the Jet1TOB word. | |
| std::bitset< s_ring_two_ptt_width > | m_ring_two_ptt_bits |
| Property: ring two ptt bitset within the Jet1TOB wor d. | |
| std::bitset< s_ring_three_ptt_width > | m_ring_three_ptt_bits |
| Property: ring three ptt bitset within the Jet1TOB word. | |
| std::bitset< s_ring_four_ptt_width > | m_ring_four_ptt_bits |
| Property: ring four ptt bitset within the Jet1TOB word. | |
| std::bitset< s_total_tobs_width > | m_total_tobs_bits |
| Property: total tobs bitset within the Jet1TOB word. | |
| std::bitset< s_ring_one_tobs_width > | m_ring_one_tobs_bits |
| Property: ring one tobs bitset within the Jet1TOB word. | |
| std::bitset< s_ring_two_tobs_width > | m_ring_two_tobs_bits |
| Property: ring two tobs bitset within the Jet1TOB word. | |
| std::bitset< s_ring_three_tobs_width > | m_ring_three_tobs_bits |
| Property: ring three tobs bitset within the Jet1TOB word. | |
| std::bitset< s_ring_four_tobs_width > | m_ring_four_tobs_bits |
| Property: ring four tobs bitset within the Jet1TOB word. | |
| std::bitset< s_truncate_width > | m_truncate_bit |
| Property: truncated flag bitset within the Jet1TOB word. | |
| std::bitset< s_next_tob_same_et_width > | m_next_tob_same_et_bit |
| Property: next tob is same et flag bitset within the Jet1TOB word. | |
| std::bitset< s_error_width > | m_error_bit |
| Property: error falg bitset within the Jet1TOB word. | |
| std::bitset< s_et_overflow_width > | m_et_overflow_bit |
| Property: et overflow flag bitset within the Jet1TOB word. | |
| std::bitset< s_et_width > | m_et_bits |
| Property: eT bitset within the common TOB word. | |
| std::bitset< s_eta_width > | m_eta_bits |
| Property: eta bitset within the common TOB word. | |
| std::bitset< s_phi_width > | m_phi_bits |
| Property: phi bitset within the common TOB word. | |
Class to hold Jet1 WTA TOB bits.
This class stores the ring energy and tob count bits which describe the output of the Jet1 WTA algorithm, and defines functions to retrieve this information. It has access to the CommonTOB class information and can be used as a CommonTOB.
| GlobalSim::IOBitwise::Jet1TOB::Jet1TOB | ( | const Jet1TOB & | tob | ) |
Constructor taking an Jet1TOB to initialise bits.
| [in] | Jet1TOB | The input Jet1TOB defining the common/Jet1 bits. |
To be used to create, and initilise a global Jet1TOB from an existing Jet1TOB Jet1RoI threshold bits are set here, the CommonTOB constructor is used to initialise the common bits.
Definition at line 10 of file Jet1TOB.cxx.
| GlobalSim::IOBitwise::Jet1TOB::Jet1TOB | ( | const GlobalSim::IOBitwise::CommonTOB & | , |
| const std::bitset< s_ring_zero_ptt_width > & | , | ||
| const std::bitset< s_ring_one_ptt_width > & | , | ||
| const std::bitset< s_ring_two_ptt_width > & | , | ||
| const std::bitset< s_ring_three_ptt_width > & | , | ||
| const std::bitset< s_ring_four_ptt_width > & | , | ||
| const std::bitset< s_total_tobs_width > & | , | ||
| const std::bitset< s_ring_one_tobs_width > & | , | ||
| const std::bitset< s_ring_two_tobs_width > & | , | ||
| const std::bitset< s_ring_three_tobs_width > & | , | ||
| const std::bitset< s_ring_four_tobs_width > & | , | ||
| const std::bitset< s_truncate_width > & | , | ||
| const std::bitset< s_next_tob_same_et_width > & | , | ||
| const std::bitset< s_error_width > & | , | ||
| const std::bitset< s_et_overflow_width > & | ) |
Constructor taking an CommonTOB and Jet1 WTA bitsets to initialise bits.
| [in] | CommonTOB | The input CommonTOB defining the common bits. |
| [in] | bitsets | The input bitsets defining the Jet1 WTA jet bits. |
To be used to create, and initilise a global Jet1TOB from an existing CommonTOB and a set of Jet1 WTA jet bits. Jet1RoI threshold bits are set here, the CommonTOB constructor is used to initialise the common bits.
|
inlinevirtual |
|
virtual |
Returns the error flag bit.
Definition at line 109 of file Jet1TOB.cxx.
|
virtualinherited |
Definition at line 27 of file CommonTOB.cxx.
|
virtual |
Returns the et overflow flag bit.
Definition at line 113 of file Jet1TOB.cxx.
|
virtualinherited |
Definition at line 31 of file CommonTOB.cxx.
|
virtual |
Returns the next tob is same ET flag bit.
Definition at line 105 of file Jet1TOB.cxx.
|
virtualinherited |
Definition at line 35 of file CommonTOB.cxx.
|
virtual |
Returns the ring four energy bits.
Definition at line 77 of file Jet1TOB.cxx.
|
virtual |
Returns the ring four tobs bits.
Definition at line 97 of file Jet1TOB.cxx.
|
virtual |
Returns the ring one energy bits.
Definition at line 65 of file Jet1TOB.cxx.
|
virtual |
Returns the ring one tobs bits.
Definition at line 85 of file Jet1TOB.cxx.
|
virtual |
Returns the ring three energy bits.
Definition at line 73 of file Jet1TOB.cxx.
|
virtual |
Returns the ring three tobs bits.
Definition at line 93 of file Jet1TOB.cxx.
|
virtual |
Returns the ring two energy bits.
Definition at line 69 of file Jet1TOB.cxx.
|
virtual |
Returns the ring two tobs bits.
Definition at line 89 of file Jet1TOB.cxx.
|
virtual |
Returns the ring zero energy bits.
Definition at line 61 of file Jet1TOB.cxx.
|
virtual |
print out contents to string
Reimplemented from GlobalSim::IOBitwise::CommonTOB.
Definition at line 117 of file Jet1TOB.cxx.
|
virtual |
Returns the total tobs bits.
Definition at line 81 of file Jet1TOB.cxx.
|
virtual |
Returns the truncated flag bit.
Definition at line 101 of file Jet1TOB.cxx.
|
private |
|
privateinherited |
Property: eT bitset within the common TOB word.
Definition at line 82 of file CommonTOB.h.
|
private |
|
privateinherited |
Property: eta bitset within the common TOB word.
Definition at line 84 of file CommonTOB.h.
|
private |
|
privateinherited |
Property: phi bitset within the common TOB word.
Definition at line 86 of file CommonTOB.h.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticconstexprinherited |
Definition at line 36 of file CommonTOB.h.
|
staticconstexprinherited |
Definition at line 34 of file CommonTOB.h.
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexprinherited |
|
staticconstexprinherited |
|
staticconstexpr |
|
staticconstexprinherited |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |