ATLAS Offline Software
Loading...
Searching...
No Matches
GlobalUtilities.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/***************************************************************************
6 global functions and stuff ...
7 -----------------------------------------
8 ***************************************************************************/
9
10#ifndef MUONREADOUTGEOMETRY_GLOBALUTILITIES_H
11#define MUONREADOUTGEOMETRY_GLOBALUTILITIES_H
12
13#include <string>
14#include <string_view>
17
18namespace MuonGM {
19 std::string buildString(int i, int ncha);
20 int strtoint(std::string_view str, unsigned int istart, unsigned int length);
21
23 int stationPhiTGC(std::string_view stName, int fi, int zi_input);
25 int amdbPhiTGC(std::string_view stName, int phiIndex, int eta_index);
26
27} // namespace MuonGM
28
29#endif // MUONREADOUTGEOMETRY_GLOBALUTILITIES_H
double length(const pvec &v)
Ensure that the Athena extensions are properly loaded.
Definition GeoMuonHits.h:27
std::string buildString(int i, int ncha)
int amdbPhiTGC(std::string_view stName, int phiIndex, int eta_index)
Converts the Identifier phi index to the AMDB phi index.
int stationPhiTGC(std::string_view stName, int fi, int zi_input)
Converts the AMDB phi index to the Identifier phi Index.
int strtoint(std::string_view str, unsigned int istart, unsigned int length)