ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetDetDescr
TRT_GeoModel
src
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
12
class
TRTStrawStatusAccessor
{
13
public
:
14
TRTStrawStatusAccessor
() =
default
;
15
~TRTStrawStatusAccessor
() =
default
;
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
;
22
private
:
23
using
Key
= Identifier::value_type;
24
std::map<Key,int>
m_statusMap
;
25
};
26
27
#endif
TRTStrawStatusAccessor::~TRTStrawStatusAccessor
~TRTStrawStatusAccessor()=default
TRTStrawStatusAccessor::fill
void fill(const std::string &path)
Definition
TRTStrawStatusAccessor.cxx:8
TRTStrawStatusAccessor::m_statusMap
std::map< Key, int > m_statusMap
Definition
TRTStrawStatusAccessor.h:24
TRTStrawStatusAccessor::Key
Identifier::value_type Key
Definition
TRTStrawStatusAccessor.h:23
TRTStrawStatusAccessor::TRTStrawStatusAccessor
TRTStrawStatusAccessor()=default
TRTStrawStatusAccessor::status
int status(const Identifier &id) const
Definition
TRTStrawStatusAccessor.cxx:23
Identifier
Definition
IdentifierFieldParser.cxx:14
Generated on
for ATLAS Offline Software by
1.17.0