24#include "GaudiKernel/MsgStream.h"
25#include "GaudiKernel/StatusCode.h"
50 const std::vector<std::bitset<64>> &
number);
69 std::vector<std::bitset<64>> &line, MsgStream &
msg);
90 const std::vector<std::vector<et_type>> &lut,
Scalar eta() const
pseudorapidity method
AlgTool that to test whether expected the TIP values generated by data supplied by eEmMultTestBench c...
std::string remakeFullNumberToBinary(const std::vector< std::bitset< 64 > > &number)
Converts a vector of 4x 64-bit TOBs to a 256-bit binary string.
std::string remakeFullNumberToHex(const std::vector< std::bitset< 64 > > &number, MsgStream &msg)
Converts a vector of 4x 64-bit TOBs to a 64-character hex string.
int rsvd_type
Integer for reserved data field.
eta_index_type Eta_to_index_Converter(eta_type eta)
Converts a raw eta value to its LUT index.
uint16_t rho_type
16-bit type for pileup energy density
void printFullNumber(const std::vector< std::bitset< 64 > > &number, MsgStream &msg)
Prints a full 256-bit number (4x 64-bit).
int eta_type
Signed integer for pseudorapidity.
uint64_t tob_type
64-bit type for individual TOB segment
std::size_t rho_index_type
Index derived from rho value.
StatusCode runSimulation(std::vector< std::bitset< 64 > > &entry, const std::vector< std::vector< et_type > > &lut, rho_type rho_data, MsgStream &msg)
Applies LUT-based suppression logic to a vector of TOBs.
std::size_t eta_index_type
Index derived from eta value.
void readInputTOB(const std::bitset< 64 > tob_data, et_type &et_value, eta_type &eta_value, phi_type &phi_value, rsvd_type &rsvd_data)
Extracts ET, eta, phi, and reserved bits from a 64-bit TOB.
void writeFullNumberOut(std::ostream &outFile, std::vector< std::bitset< 64 > > &line, MsgStream &msg)
Writes a vector of TOBs as a hex string to an output stream.
uint16_t et_type
16-bit type for transverse energy
rho_index_type Rho_to_index_Converter(rho_type rho)
Converts a raw rho value to its LUT index.
uint8_t phi_type
8-bit type for azimuthal angle
std::string number(const double &d, const std::string &s)