12#ifndef GLOBALSIM_JET1TOB_H
13#define GLOBALSIM_JET1TOB_H
86 const std::bitset<s_ring_zero_ptt_width>&,
87 const std::bitset<s_ring_one_ptt_width>&,
88 const std::bitset<s_ring_two_ptt_width>&,
89 const std::bitset<s_ring_three_ptt_width>&,
90 const std::bitset<s_ring_four_ptt_width>&,
91 const std::bitset<s_total_tobs_width>&,
92 const std::bitset<s_ring_one_tobs_width>&,
93 const std::bitset<s_ring_two_tobs_width>&,
94 const std::bitset<s_ring_three_tobs_width>&,
95 const std::bitset<s_ring_four_tobs_width>&,
96 const std::bitset<s_truncate_width>&,
97 const std::bitset<s_next_tob_same_et_width>&,
98 const std::bitset<s_error_width>&,
99 const std::bitset<s_et_overflow_width>&
116 virtual const std::bitset<s_total_tobs_width>&
total_tobs_bits()
const;
126 virtual const std::bitset<s_truncate_width>&
truncate_bit()
const;
130 virtual const std::bitset<s_error_width>&
error_bit()
const;
132 virtual const std::bitset<s_et_overflow_width>&
et_overflow_bit()
const;
176 namespace IOBitwise {
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
An STL vector of pointers that by default owns its pointed-to elements.
#define DATAVECTOR_BASE(T, BASE)
Declare base class info to DataVector.
CommonTOB(const xAOD::eFexEMRoI &eFexTOB)
Constructor taking an eFexROITOB to initialise common bits.
Class to hold Jet1 WTA TOB 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 const std::bitset< s_ring_one_ptt_width > & ring_one_ptt_bits() const
Returns the ring one energy bits.
virtual const std::bitset< s_error_width > & error_bit() const
Returns the error flag bit.
virtual const std::bitset< s_ring_three_tobs_width > & ring_three_tobs_bits() const
Returns the ring three tobs bits.
static constexpr std::size_t s_ring_four_tobs_width
Count: Size of ring four tobs bitset.
static constexpr std::size_t s_et_overflow_width
Count: Size of overflow flag.
static constexpr std::size_t s_ring_two_tobs_width
Count: Size of ring two tobs bitset.
std::bitset< s_ring_four_ptt_width > m_ring_four_ptt_bits
Property: ring four ptt bitset within the Jet1TOB word.
static constexpr std::size_t s_ring_four_ptt_width
Count: Size of ring four energy bitset.
static constexpr std::size_t s_truncate_width
Count: Size of truncated flag.
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_ring_zero_ptt_width > & ring_zero_ptt_bits() const
Returns the ring zero 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_tobs_width > & ring_four_tobs_bits() const
Returns the ring four tobs bits.
static constexpr std::size_t s_ring_one_ptt_width
Count: Size of ring one energy bitset.
std::bitset< s_ring_one_ptt_width > m_ring_one_ptt_bits
Property: ring one ptt bitset within the Jet1TOB word.
virtual ~Jet1TOB()
Destructor.
std::bitset< s_error_width > m_error_bit
Property: error falg bitset within the Jet1TOB word.
virtual const std::bitset< s_et_overflow_width > & et_overflow_bit() const
Returns the et overflow flag bit.
std::bitset< s_ring_four_tobs_width > m_ring_four_tobs_bits
Property: ring four 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_total_tobs_width > m_total_tobs_bits
Property: total tobs bitset within the Jet1TOB word.
std::bitset< s_ring_zero_ptt_width > m_ring_zero_ptt_bits
Property: ring zero ptt bitset within the Jet1TOB word.
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_two_ptt_width > & ring_two_ptt_bits() const
Returns the ring two energy bits.
virtual const std::bitset< s_truncate_width > & truncate_bit() const
Returns the truncated flag bit.
static constexpr std::size_t s_ring_zero_ptt_width
Count: Size of ring zero energy bitset.
static constexpr std::size_t s_ring_one_tobs_width
Count: Size of ring one tobs bitset.
static constexpr std::size_t s_ring_three_ptt_width
Count: Size of ring three energy bitset.
static constexpr std::size_t s_error_width
Count: Size of error state flag.
std::bitset< s_ring_one_tobs_width > m_ring_one_tobs_bits
Property: ring one tobs bitset within the Jet1TOB word.
virtual const std::bitset< s_total_tobs_width > & total_tobs_bits() const
Returns the total tobs bits.
static constexpr std::size_t s_ring_three_tobs_width
Count: Size of ring three tobs bitset.
static constexpr std::size_t s_total_tobs_width
Count: Size of total number of tobs bitset.
virtual std::string to_string() const
print out contents to string
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_two_ptt_width > m_ring_two_ptt_bits
Property: ring two ptt bitset within the Jet1TOB wor d.
Jet1TOB(const Jet1TOB &)
Constructor taking an Jet1TOB to initialise bits.
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.
static constexpr std::size_t s_next_tob_same_et_width
Count: Size of next tob same et flag.
std::bitset< s_et_overflow_width > m_et_overflow_bit
Property: et overflow flag bitset within the Jet1TOB word.
std::bitset< s_truncate_width > m_truncate_bit
Property: truncated flag bitset within the Jet1TOB word.
static constexpr std::size_t s_ring_two_ptt_width
Count: Size of ring two energy bitset.
std::bitset< s_ring_three_ptt_width > m_ring_three_ptt_bits
Property: ring three ptt bitset within the Jet1TOB word.
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_next_tob_same_et_width > & next_tob_same_et_bit() const
Returns the next tob is same ET flag bit.
DataVector< GlobalSim::IOBitwise::Jet1TOB > Jet1TOBContainer
AlgTool to read in LArStripNeighborhoods, and run the BDT Algorithm.