Function HelperFunctions::getMCShowerType

Function Documentation

ShowerType HelperFunctions::getMCShowerType(const std::string &sample_name, const std::string &m_taggerName)

Determines the type of generator used for the shower from the sample name.

The name of the generator is determined using some common definitions in the ATLAS MC dataset naming scheme. The case independent strings that are searched for are:

PYTHIA8EVTGEN or Py8EG or PYTHIA : Pythia8 HERWIG : Herwig7 SHERPA_CT : Sherpa21 SHERPA : Sherpa22 (if not Sherpa 21)

Parameters

sample_name – The name of the sample, usualy the dataset name