ATLAS Offline Software
Loading...
Searching...
No Matches
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
15namespace PMGTools
16{
17
19constexpr char generatorWeightsPrefix[] {"GEN_"};
20
22std::string weightNameCleanup(const std::string &name);
23
25std::string weightNameWithPrefix(const std::string &name);
26
27} // namespace MC
28
29#endif // TRUTHUTILS_WEIGHTHELPERS_H
Tool providing sample cross-sections and k-factors etc.
constexpr char generatorWeightsPrefix[]
the prefix for generator weights
std::string weightNameCleanup(const std::string &name)
cleanup the weight name
std::string weightNameWithPrefix(const std::string &name)
cleanup the weight name and add prefix