ATLAS Offline Software
Public Member Functions | List of all members
CaloCellIDFcn Struct Reference

A functional to get the ID from a CaloCell pointer. More...

#include <CaloCell.h>

Collaboration diagram for CaloCellIDFcn:

Public Member Functions

std::size_t operator() (const CaloCell *p) const
 

Detailed Description

A functional to get the ID from a CaloCell pointer.

This can be used as the hash function to unordered_map and friends.

Definition at line 289 of file CaloCell.h.

Member Function Documentation

◆ operator()()

std::size_t CaloCellIDFcn::operator() ( const CaloCell p) const
inline

Definition at line 290 of file CaloCell.h.

291  {
292  return p->ID().get_identifier32().get_compact();
293  }

The documentation for this struct was generated from the following file:
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210