![]() |
ATLAS Offline Software
|
Header for utility functions and type definitions used in PU1 suppression logic. More...
#include <bitset>#include <cstdint>#include <iosfwd>#include <string>#include <vector>#include "GaudiKernel/MsgStream.h"#include "GaudiKernel/StatusCode.h"Go to the source code of this file.
Namespaces | |
| namespace | GlobalSim |
| AlgTool to read in LArStripNeighborhoods, and run the eRatio Algorithm. | |
Typedefs | |
Type aliases for clarity in TOB manipulation | |
| using | GlobalSim::rho_type = uint16_t |
| 16-bit type for pileup energy density | |
| using | GlobalSim::tob_type = uint64_t |
| 64-bit type for individual TOB segment | |
| using | GlobalSim::et_type = uint16_t |
| 16-bit type for transverse energy | |
| using | GlobalSim::phi_type = uint8_t |
| 8-bit type for azimuthal angle | |
| using | GlobalSim::eta_type = int |
| Signed integer for pseudorapidity. | |
| using | GlobalSim::rsvd_type = int |
| Integer for reserved data field. | |
| using | GlobalSim::rho_index_type = std::size_t |
| Index derived from rho value. | |
| using | GlobalSim::eta_index_type = std::size_t |
| Index derived from eta value. | |
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::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. | |
| 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. | |
| rho_index_type | GlobalSim::Rho_to_index_Converter (rho_type rho) |
| Converts a raw rho value to its LUT index. | |
| eta_index_type | GlobalSim::Eta_to_index_Converter (eta_type eta) |
| Converts a raw eta 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. | |
Header for utility functions and type definitions used in PU1 suppression logic.
This module defines the core types and declares helper functions for:
Definition in file PU1SuppTools.h.