ATLAS Offline Software
Loading...
Searching...
No Matches
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.0e-5) {
17
suffix =
"_Beta"
+ std::to_string(
int
(beta*10));
18
}
19
20
return
suffix;
21
}
22
23
#endif
GetBetaSuffix
std::string GetBetaSuffix(float beta)
Definition
ECFHelper.cxx:10
ECFHelper.h
Generated on
for ATLAS Offline Software by
1.14.0