All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces
MCDumperUtils.h File Reference

Utility functions to print MC truth information. More...

#include "nusimdata/SimulationBase/MCTruth.h"
#include <string>

Go to the source code of this file.

Namespaces

 sim
 Monte Carlo Simulation.
 

Functions

Function to name `simb::MCParticle` enumerators and codes.
std::string sim::ParticleName (int pigid)
 Returns a string with the name of particle the specified with PDG ID. More...
 
std::string sim::ParticleStatusName (int code)
 Describes the status of a particle (simb::MCParticle::StatusCode()). More...
 

Functions to name `simb::MCTruth` enumerators and codes.

enum  sim::RescatterCategory { sim::RescatterCategory::GENIE_INukeFateHA, sim::RescatterCategory::LArSoftDefault = GENIE_INukeFateHA }
 Possible sources of rescattering code (which is generator-dependent). More...
 
std::string sim::TruthOriginName (simb::Origin_t origin)
 Returns a string representing the specified process origin. More...
 
std::string sim::TruthCCNCname (int ccnc)
 
std::string sim::TruthReactionMode (int mode)
 Returns the "mode" of the reaction (a lesser version of interaction type). More...
 
std::string sim::TruthInteractionTypeName (int type)
 
std::string sim::RescatteringName (int code, RescatterCategory cat=RescatterCategory::LArSoftDefault)
 The name of the specified rescattering code. More...
 
std::string sim::GENIE_INukeFateHA_RescatteringName (int code)
 Description of a rescattering code from GENIE INukeFateHA_t. More...
 

Detailed Description

Utility functions to print MC truth information.

Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.fnal..nosp@m.gov)
Date
November 2, 2017

Utilities for dumping on screen of Monte Carlo data.

Definition in file MCDumperUtils.h.