ATLAS Offline Software
Reconstruction
Jet
JetSubStructureMomentTools
Root
ECFHelper.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef jetsubstructuremomenttools_ecfhelper
6
#define jetsubstructuremomenttools_ecfhelper
7
8
#include "
JetSubStructureMomentTools/ECFHelper.h
"
9
10
std::string
GetBetaSuffix
(
float
beta
) {
11
std::string
suffix
=
""
;
12
13
// Create suffix for beta != 1.0
14
// 10*beta is used in the suffix
15
// As long as beta < 10, this shouldn't cause any confusion
16
if
(std::abs(
beta
-1.0) > 1.0
e
-5) {
17
suffix
=
"_Beta"
+
std::to_string
(
int
(
beta
*10));
18
}
19
20
return
suffix
;
21
}
22
23
#endif
AllowedVariables::e
e
Definition:
AsgElectronSelectorTool.cxx:37
hotSpotInTAG.suffix
string suffix
Definition:
hotSpotInTAG.py:186
GetBetaSuffix
std::string GetBetaSuffix(float beta)
Definition:
ECFHelper.cxx:10
ActsTrk::to_string
std::string to_string(const DetectorType &type)
Definition:
GeometryDefs.h:34
ECFHelper.h
MuonParameters::beta
@ beta
Definition:
MuonParamDefs.h:144
Generated on Sun Dec 22 2024 21:09:38 for ATLAS Offline Software by
1.8.18