LArSoft  v07_13_02
Liquid Argon Software toolkit - http://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 // nutools libraries
15 #include "nusimdata/SimulationBase/MCTruth.h" // simb::Origin_t
16 
17 // C/C++ standard libraries
18 #include <string>
19 
20 
21 namespace sim {
22 
25 
27  std::string ParticleName(int pigid);
28 
30  std::string ParticleStatusName(int code);
31 
33 
34 
37 
40 
43  std::string TruthCCNCname(int ccnc);
44 
46  std::string TruthReactionMode(int mode);
47 
50  std::string TruthInteractionTypeName(int type);
51 
53 
54 
55 } // namespace sim
56 
57 
58 #endif // LARDATAALG_MCDUMPERS_MCDUMPERUTILS_H
std::string TruthInteractionTypeName(int type)
enum simb::_ev_origin Origin_t
event origin types
std::string TruthCCNCname(int ccnc)
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 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:230