ATLAS Offline Software
WeightHelpers.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 #ifndef TRUTHUTILS_WEIGHTHELPERS_H
8 #define TRUTHUTILS_WEIGHTHELPERS_H
9 
12 
13 #include <string>
14 
15 namespace PMGTools
16 {
17 
19 constexpr char generatorWeightsPrefix[] {"GEN_"};
20 
22 std::string weightNameCleanup(const std::string &name);
23 
25 std::string weightNameWithPrefix(const std::string &name);
26 
27 } // namespace MC
28 
29 #endif // TRUTHUTILS_WEIGHTHELPERS_H
PMGTools::weightNameCleanup
std::string weightNameCleanup(const std::string &name)
cleanup the weight name
Definition: WeightHelpers.cxx:18
PMGTools
Tool providing sample cross-sections and k-factors etc.
Definition: AnalysisCommon/PMGTools/PMGTools/IPMGCrossSectionTool.h:15
PMGTools::weightNameWithPrefix
std::string weightNameWithPrefix(const std::string &name)
cleanup the weight name and add prefix
Definition: WeightHelpers.cxx:72
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
PMGTools::generatorWeightsPrefix
constexpr char generatorWeightsPrefix[]
the prefix for generator weights
Definition: WeightHelpers.h:19