Functions
novarwgt::internal Namespace Reference

Functions

std::string GetGenieKnobName (ReweightKnob knob)
 

Function Documentation

std::string novarwgt::internal::GetGenieKnobName ( ReweightKnob  knob)

Definition at line 238 of file GenieInternalTools.cxx.

References genie::utils::res::AsString(), and art::to_string().

239  {
240 #ifdef GENIE_MAJOR_VERSION
241  return genie::rew::GSyst::AsString(ConvertToGenieKnob(knob));
242 #else
243  return "GENIE knob #" + std::to_string(knob);
244 #endif
245  }
const char * AsString(Resonance_t res)
resonance id -> string
std::string to_string(ModuleType mt)
Definition: ModuleType.h:32