ATLAS Offline Software
Loading...
Searching...
No Matches
Reconstruction
Jet
JetSubStructureMomentTools
Root
NSubjettinessHelper.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_nsubjettinesshelper
6
#define jetsubstructuremomenttools_nsubjettinesshelper
7
8
#include "
JetSubStructureMomentTools/NSubjettinessHelper.h
"
9
10
std::string
GetAlphaSuffix
(
float
alpha) {
11
std::string suffix =
""
;
12
13
// Create suffix for alpha != 1.0
14
// 10*alpha is used in the suffix
15
// As long as alpha < 10, this shouldn't cause any confusion
16
if
(std::abs(alpha-1.0) > 1.0e-5) {
17
suffix =
"_Alpha"
+ std::to_string(
int
(alpha*10));
18
}
19
20
return
suffix;
21
}
22
23
#endif
GetAlphaSuffix
std::string GetAlphaSuffix(float alpha)
Definition
NSubjettinessHelper.cxx:10
NSubjettinessHelper.h
Generated on
for ATLAS Offline Software by
1.14.0