LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
MCDumperUtils.h
Go to the documentation of this file.
1 
11 #ifndef LARDATAALG_MCDUMPERS_MCDUMPERUTILS_H
12 #define LARDATAALG_MCDUMPERS_MCDUMPERUTILS_H
13 
14 // nusimdata libraries
15 #include "nusimdata/SimulationBase/MCTruth.h" // simb::Origin_t
16 
17 // C/C++ standard libraries
18 #include <string>
19 
20 namespace sim {
21 
24 
26  std::string ParticleName(int pigid);
27 
29  std::string ParticleStatusName(int code);
30 
32 
35 
37  enum class RescatterCategory {
40  };
41 
44 
47  std::string TruthCCNCname(int ccnc);
48 
50  std::string TruthReactionMode(int mode);
51 
54  std::string TruthInteractionTypeName(int type);
55 
69 
71  std::string GENIE_INukeFateHA_RescatteringName(int code);
72 
74 
75 } // namespace sim
76 
77 #endif // LARDATAALG_MCDUMPERS_MCDUMPERUTILS_H
GENIE genie::EINukeFateHA_t
RescatterCategory
Possible sources of rescattering code (which is generator-dependent).
Definition: MCDumperUtils.h:37
std::string TruthInteractionTypeName(int type)
enum simb::_ev_origin Origin_t
event origin types
std::string TruthCCNCname(int ccnc)
std::string RescatteringName(int code, RescatterCategory cat=RescatterCategory::LArSoftDefault)
The name of the specified rescattering code.
std::string TruthReactionMode(int mode)
Returns the "mode" of the reaction (a lesser version of interaction type).
std::string ParticleName(int pigid)
Returns a string with the name of particle the specified with PDG ID.
Monte Carlo Simulation.
std::string TruthOriginName(simb::Origin_t origin)
Returns a string representing the specified process origin.
std::string GENIE_INukeFateHA_RescatteringName(int code)
Description of a rescattering code from GENIE INukeFateHA_t.
std::string ParticleStatusName(int code)
Describes the status of a particle (simb::MCParticle::StatusCode()).
constexpr Point origin()
Returns a origin position with a point of the specified type.
Definition: geo_vectors.h:229