ATLAS Offline Software
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>
16 #include <CxxUtils/ArrayHelper.h>
17 
18 namespace 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
MuonGM
Ensure that the Athena extensions are properly loaded.
Definition: GeoMuonHits.h:27
lumiFormat.i
int i
Definition: lumiFormat.py:92
ArrayHelper.h
createCablingJSON.eta_index
int eta_index
Definition: createCablingJSON.py:9
MuonGM::amdbPhiTGC
int amdbPhiTGC(std::string_view stName, int phiIndex, int eta_index)
Converts the Identifier phi index to the AMDB phi index.
Definition: GlobalUtilities.cxx:89
MuonGM::strtoint
int strtoint(std::string_view str, unsigned int istart, unsigned int length)
Definition: GlobalUtilities.cxx:37
eflowRec::phiIndex
unsigned int phiIndex(float phi, float binsize)
calculate phi index for a given phi
Definition: EtaPhiLUT.cxx:23
GeoPrimitivesHelpers.h
MuonGM::stationPhiTGC
int stationPhiTGC(std::string_view stName, int fi, int zi_input)
Converts the AMDB phi index to the Identifier phi Index.
Definition: GlobalUtilities.cxx:44
checkFileSG.fi
fi
Definition: checkFileSG.py:65
str
Definition: BTagTrackIpAccessor.cxx:11
MuonGM::buildString
std::string buildString(int i, int ncha)
Definition: GlobalUtilities.cxx:23
length
double length(const pvec &v)
Definition: FPGATrackSimLLPDoubletHoughTransformTool.cxx:26