ATLAS Offline Software
Loading...
Searching...
No Matches
WeightHelpers.h File Reference

Postprocess generator weight names to be name/ROOT friendly. More...

#include <string>
Include dependency graph for WeightHelpers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  PMGTools
 Tool providing sample cross-sections and k-factors etc.

Functions

std::string PMGTools::weightNameCleanup (const std::string &name)
 cleanup the weight name
std::string PMGTools::weightNameWithPrefix (const std::string &name)
 cleanup the weight name and add prefix

Variables

constexpr char PMGTools::generatorWeightsPrefix [] {"GEN_"}
 the prefix for generator weights

Detailed Description

Postprocess generator weight names to be name/ROOT friendly.

Author
Tadej Novak

Definition in file WeightHelpers.h.