ATLAS Offline Software
Loading...
Searching...
No Matches
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 305 of file CaloCell.h.

Member Function Documentation

◆ operator()()

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

Definition at line 306 of file CaloCell.h.

307 {
308 return p->ID().get_identifier32().get_compact();
309 }

The documentation for this struct was generated from the following file: