ATLAS Offline Software
Loading...
Searching...
No Matches
PrepRawDataAssociation.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef PRD_ASSOCIATION_H
6#define PRD_ASSOCIATION_H
7
9
10#include <utility>
11#include <unordered_set>
12
13namespace ActsTrk
14{
15
17 public:
22 PrepRawDataAssociation& operator=(PrepRawDataAssociation&&) noexcept = delete;
24
25 std::pair<typename std::unordered_set<xAOD::DetectorIdentType>::iterator, bool> markAsUsed(xAOD::DetectorIdentType id) { return m_prds.insert(id); }
26 bool isUsed(xAOD::DetectorIdentType id) const { return m_prds.find(id) != m_prds.end(); }
27 std::size_t size() const { return m_prds.size(); }
28
29 private:
30 std::unordered_set<xAOD::DetectorIdentType> m_prds {};
31 };
32
33}
34
37
38#endif
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
bool isUsed(xAOD::DetectorIdentType id) const
std::pair< typename std::unordered_set< xAOD::DetectorIdentType >::iterator, bool > markAsUsed(xAOD::DetectorIdentType id)
PrepRawDataAssociation(PrepRawDataAssociation &&) noexcept=delete
std::unordered_set< xAOD::DetectorIdentType > m_prds
PrepRawDataAssociation(const PrepRawDataAssociation &)=default
STL class.
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
STL namespace.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
long unsigned int DetectorIdentType