|
ATLAS Offline Software
|
Go to the documentation of this file.
20 #ifndef CALOIDENTIFIER_TILENEIGHBOUR_H
21 #define CALOIDENTIFIER_TILENEIGHBOUR_H
86 unsigned int hash_max,
unsigned int max_phi, MsgStream &
log);
94 static void print_list (std::vector<IdentifierHash> & nb_list,
96 MsgStream &
log,
const char * pref,
const char * suff);
99 #endif // CALOIDENTIFIER_TILENEIGHBOUR_H
int initialize_next_samp(unsigned int ind, const std::vector< short int > &all_cells)
int next_eta(const IdentifierHash &id, std::vector< IdentifierHash > &neighbourList) const
int initialize_prev_eta(unsigned int ind, const std::vector< short int > &all_cells)
int next_samp(const IdentifierHash &id, std::vector< IdentifierHash > &neighbourList) const
int initialize_prev_samp_wide(unsigned int ind, const std::vector< short int > &all_cells)
std::vector< IdentifierHash > m_hashid_vec
static void get_id(std::string &strName, Identifier &id, const Tile_Base_ID *tileID)
int initialize_next_eta(unsigned int ind, const std::vector< short int > &all_cells)
int fill_phi_vec(std::set< std::pair< IdentifierHash, int > > &ids, unsigned int hash_max, unsigned int max_phi, MsgStream &log)
int prev_samp(const IdentifierHash &id, std::vector< IdentifierHash > &neighbourList) const
int prev_eta(const IdentifierHash &id, std::vector< IdentifierHash > &neighbourList) const
int prev_phi(const IdentifierHash &id, std::vector< IdentifierHash > &neighbourList) const
std::vector< short int > m_cell_index
int initialize(const Tile_Base_ID *tileID, const std::string &filename="TileNeighbour.txt")
int initialize_next_samp_wide(unsigned int ind, const std::vector< short int > &all_cells)
virtual ~TileNeighbour(void)
std::vector< std::vector< short int > > m_prev_eta
This class factors out code common between TileID and Tile_SuperCell_ID.
std::vector< std::vector< short int > > m_next_samp
constexpr std::enable_if_t< is_bitmask_v< E >, E & > set(E &lhs, E rhs)
Convenience function to set bits in a class enum bitmask.
std::vector< std::vector< short int > > m_prev_samp
std::vector< std::vector< short int > > m_next_samp_wide
int prev_samp_wide(const IdentifierHash &id, std::vector< IdentifierHash > &neighbourList) const
std::vector< std::vector< short int > > m_prev_samp_wide
std::vector< std::vector< short int > > m_next_eta
This class return all neighbours for given hash ID of the cell.
static void get_name(Identifier &id, std::string §ion, int &module, std::string &cell, const Tile_Base_ID *tileID, MsgStream &log, const char *end)
std::vector< short int > m_phid_index
int next_phi(const IdentifierHash &id, std::vector< IdentifierHash > &neighbourList) const
int next_samp_wide(const IdentifierHash &id, std::vector< IdentifierHash > &neighbourList) const
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
This class saves the "context" of an expanded identifier (ExpandedIdentifier) for compact or hash ver...
static void print_list(std::vector< IdentifierHash > &nb_list, const Tile_Base_ID *tileID, const IdContext *context, MsgStream &log, const char *pref, const char *suff)
int initialize_prev_samp(unsigned int ind, const std::vector< short int > &all_cells)