![]() |
ATLAS Offline Software
|
Utility functions for bit manipulation, TOB decoding, and suppression logic. More...
#include "PU1SuppTools.h"#include <array>#include <fstream>#include <iomanip>#include <sstream>#include <stdexcept>#include <ostream>Go to the source code of this file.
Namespaces | |
| namespace | GlobalSim |
| AlgTool that to test whether expected the TIP values generated by data supplied by eEmMultTestBench correspond to those produced by eEmMultAlgTool. | |
Functions | |
| void | GlobalSim::printFullNumber (const std::vector< std::bitset< 64 > > &number, MsgStream &msg) |
| Prints a full 256-bit number (4x 64-bit). | |
| std::string | GlobalSim::remakeFullNumberToBinary (const std::vector< std::bitset< 64 > > &number) |
| Converts a vector of 4x 64-bit TOBs to a 256-bit binary string. | |
| std::string | GlobalSim::remakeFullNumberToHex (const std::vector< std::bitset< 64 > > &number, MsgStream &msg) |
| Converts a vector of 4x 64-bit TOBs to a 64-character hex string. | |
| void | GlobalSim::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. | |
| void | GlobalSim::readInputTOB (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. | |
| bool | GlobalSim::compareThresholdEt (const std::bitset< 16 > &tobEt, const std::bitset< 16 > &thresholdEt) |
| eta_index_type | GlobalSim::Eta_to_index_Converter (eta_type eta) |
| Converts a raw eta value to its LUT index. | |
| rho_index_type | GlobalSim::Rho_to_index_Converter (rho_type rho) |
| Converts a raw rho value to its LUT index. | |
| StatusCode | GlobalSim::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. | |
Utility functions for bit manipulation, TOB decoding, and suppression logic.
This file provides a suite of helper functions to support the PU1 suppression algorithm, including:
Definition in file PU1SuppTools.cxx.