ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
ActsTrk::PrepRawDataAssociation Class Reference

#include <PrepRawDataAssociation.h>

Collaboration diagram for ActsTrk::PrepRawDataAssociation:

Public Member Functions

 PrepRawDataAssociation ()=default
 
 PrepRawDataAssociation (const PrepRawDataAssociation &)=default
 
 PrepRawDataAssociation (PrepRawDataAssociation &&) noexcept=delete
 
PrepRawDataAssociationoperator= (const PrepRawDataAssociation &)=default
 
PrepRawDataAssociationoperator= (PrepRawDataAssociation &&) noexcept=delete
 
 ~PrepRawDataAssociation ()=default
 
std::pair< typename std::unordered_set< xAOD::DetectorIdentType >::iterator, bool > markAsUsed (xAOD::DetectorIdentType id)
 
bool isUsed (xAOD::DetectorIdentType id) const
 
std::size_t size () const
 

Private Attributes

std::unordered_set< xAOD::DetectorIdentTypem_prds {}
 

Detailed Description

Definition at line 16 of file PrepRawDataAssociation.h.

Constructor & Destructor Documentation

◆ PrepRawDataAssociation() [1/3]

ActsTrk::PrepRawDataAssociation::PrepRawDataAssociation ( )
default

◆ PrepRawDataAssociation() [2/3]

ActsTrk::PrepRawDataAssociation::PrepRawDataAssociation ( const PrepRawDataAssociation )
default

◆ PrepRawDataAssociation() [3/3]

ActsTrk::PrepRawDataAssociation::PrepRawDataAssociation ( PrepRawDataAssociation &&  )
deletenoexcept

◆ ~PrepRawDataAssociation()

ActsTrk::PrepRawDataAssociation::~PrepRawDataAssociation ( )
default

Member Function Documentation

◆ isUsed()

bool ActsTrk::PrepRawDataAssociation::isUsed ( xAOD::DetectorIdentType  id) const
inline

Definition at line 26 of file PrepRawDataAssociation.h.

26 { return m_prds.find(id) != m_prds.end(); }

◆ markAsUsed()

std::pair<typename std::unordered_set<xAOD::DetectorIdentType>::iterator, bool> ActsTrk::PrepRawDataAssociation::markAsUsed ( xAOD::DetectorIdentType  id)
inline

Definition at line 25 of file PrepRawDataAssociation.h.

25 { return m_prds.insert(id); }

◆ operator=() [1/2]

PrepRawDataAssociation& ActsTrk::PrepRawDataAssociation::operator= ( const PrepRawDataAssociation )
default

◆ operator=() [2/2]

PrepRawDataAssociation& ActsTrk::PrepRawDataAssociation::operator= ( PrepRawDataAssociation &&  )
deletenoexcept

◆ size()

std::size_t ActsTrk::PrepRawDataAssociation::size ( ) const
inline

Definition at line 27 of file PrepRawDataAssociation.h.

27 { return m_prds.size(); }

Member Data Documentation

◆ m_prds

std::unordered_set<xAOD::DetectorIdentType> ActsTrk::PrepRawDataAssociation::m_prds {}
private

Definition at line 30 of file PrepRawDataAssociation.h.


The documentation for this class was generated from the following file:
ActsTrk::PrepRawDataAssociation::m_prds
std::unordered_set< xAOD::DetectorIdentType > m_prds
Definition: PrepRawDataAssociation.h:30