ATLAS Offline Software
MuonSpectrometer
MuonDetDescr
MuonGeoModel
MuonGeoModel
StationSelector.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef StationSelector_H
6
#define StationSelector_H
7
8
#include "
MuonGeoModel/Station.h
"
9
10
#include <atomic>
11
#include <map>
12
#include <string>
13
#include <vector>
14
15
namespace
MuonGM
{
16
17
class
StationSelector
{
18
public
:
19
using
StationMap
= std::map<std::string, Station*, std::less<std::string>>;
20
using
StationIterator
= StationMap::const_iterator ;
21
StationSelector
(
const
MYSQL
& mysql,
const
std::string&
filename
);
22
StationSelector
(
const
MYSQL
& mysql, std::vector<std::string>
s
);
23
StationIterator
begin
();
24
StationIterator
end
();
25
static
void
SetSelectionType
(
int
t
);
26
27
private
:
28
std::vector<std::string>
m_selector
{};
29
StationMap
m_theMap
{};
30
bool
select
(
const
std::string&
name
);
31
static
std::atomic<int>
m_selectType
;
32
};
33
34
}
// namespace MuonGM
35
36
#endif
MuonGM
Ensure that the Athena extensions are properly loaded.
Definition:
GeoMuonHits.h:27
python.SystemOfUnits.s
int s
Definition:
SystemOfUnits.py:131
MuonGM::StationSelector::m_selector
std::vector< std::string > m_selector
Definition:
StationSelector.h:28
MuonGM::StationSelector::m_theMap
StationMap m_theMap
Definition:
StationSelector.h:29
MuonGM::MYSQL
Definition:
MYSQL.h:43
MuonGM::StationSelector::SetSelectionType
static void SetSelectionType(int t)
Definition:
StationSelector.cxx:104
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
MuonGM::StationSelector::m_selectType
static std::atomic< int > m_selectType
Definition:
StationSelector.h:31
MuonGM::StationSelector::StationMap
std::map< std::string, Station *, std::less< std::string > > StationMap
Definition:
StationSelector.h:19
MuonGM::StationSelector::select
bool select(const std::string &name)
Definition:
StationSelector.cxx:48
MuonGM::StationSelector::StationSelector
StationSelector(const MYSQL &mysql, const std::string &filename)
Definition:
StationSelector.cxx:20
Station.h
MuonGM::StationSelector
Definition:
StationSelector.h:17
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:228
MuonGM::StationSelector::end
StationIterator end()
Definition:
StationSelector.cxx:46
MuonGM::StationSelector::StationIterator
StationMap::const_iterator StationIterator
Definition:
StationSelector.h:20
CaloCellTimeCorrFiller.filename
filename
Definition:
CaloCellTimeCorrFiller.py:24
MuonGM::StationSelector::begin
StationIterator begin()
Definition:
StationSelector.cxx:45
Generated on Sun Dec 22 2024 21:18:28 for ATLAS Offline Software by
1.8.18