![]() |
ATLAS Offline Software
|
Functions | |
template<class T_ID > | |
std::unordered_multimap< unsigned int, unsigned int > | createModuleConnectionMap (const T_ID &id_helper, const InDetDD::SiDetectorElementCollection &det_ele_coll) |
create a map between detector elements and all such elements connected the same sensor More... | |
template<class T_ID > | |
void | visitMatchingConnectedModules (const T_ID &id_helper, const std::vector< int > &a_module_pattern, const InDetDD::SiDetectorElementCollection &det_ele_coll, unsigned id_hash, const std::unordered_multimap< unsigned int, unsigned int > &connected_modules, std::function< void(unsigned int id_hash, const InDetDD::SiDetectorElement &)> visit_func) |
Visit all detector elements connected to the same physical sensor which match the given pattern. More... | |
|
inline |
create a map between detector elements and all such elements connected the same sensor
id_helper | the ID identifier helper e.g. SCT_ID |
det_ele_coll | collection of all detector elements e.g. all Strip detector elements |
Definition at line 28 of file ConnectedModulesUtil.h.
|
inline |
Visit all detector elements connected to the same physical sensor which match the given pattern.
id_helper | the ID identifier helper e.g. SCT_ID |
a_module_pattern | a pattern to match module identifiers |
det_ele_coll | collection of all detector elements e.g. all strip detector elements |
id_hash | the ID hash of the module which defines the physical sensor |
module_connections | map which associates an ID hash to all ID hashes of modules connected to the same physical sensor |
visit_func | function to be called for all connected modules which match the pattern Will visit all modules connected to both sides of the same physical sensor excluding the module given by id_hash itself. More over the visited modules have to match the side range defined in the given pattern, and have to be in the same row unless the all-rows flag is set in the pattern. |
Definition at line 60 of file ConnectedModulesUtil.h.