ATLAS Offline Software
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
athena.path
path
python interpreter configuration --------------------------------------—
Definition:
athena.py:128
TRTStrawStatusAccessor::Key
Identifier::value_type Key
Definition:
TRTStrawStatusAccessor.h:23
TRTStrawStatusAccessor
Definition:
TRTStrawStatusAccessor.h:12
TRTStrawStatusAccessor::TRTStrawStatusAccessor
TRTStrawStatusAccessor()=default
TRTStrawStatusAccessor::m_statusMap
std::map< Key, int > m_statusMap
Definition:
TRTStrawStatusAccessor.h:24
TRTStrawStatusAccessor::fill
void fill(const std::string &path)
Definition:
TRTStrawStatusAccessor.cxx:8
TRTStrawStatusAccessor::status
int status(const Identifier &id) const
Definition:
TRTStrawStatusAccessor.cxx:23
Identifier::value_type
unsigned long long value_type
Definition:
DetectorDescription/Identifier/Identifier/Identifier.h:27
Identifier
Definition:
IdentifierFieldParser.cxx:14
Generated on Thu Sep 25 2025 21:21:27 for ATLAS Offline Software by
1.8.18