ATLAS Offline Software
Loading...
Searching...
No Matches
TRTStrawStatusAccessor.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5
6#ifndef TRT_GEOMODEL_TRTSTRAWSTATUSACCESSOR_H
7#define TRT_GEOMODEL_TRTSTRAWSTATUSACCESSOR_H
8
9#include "Identifier/Identifier.h"
10#include <map>
11
13public:
16
17 // Read the map from the input ASCII file
18 void fill(const std::string& path);
19
20 // Get the status
21 int status(const Identifier& id) const;
22private:
23 using Key = Identifier::value_type;
24 std::map<Key,int> m_statusMap;
25};
26
27#endif
~TRTStrawStatusAccessor()=default
void fill(const std::string &path)
std::map< Key, int > m_statusMap
Identifier::value_type Key
TRTStrawStatusAccessor()=default
int status(const Identifier &id) const