#include <MCRecoPart.h>
Public Member Functions | |
| MCRecoPart (fhicl::ParameterSet const &pset) | |
| Default constructor with fhicl parameters. More... | |
| virtual | ~MCRecoPart () |
| Default destructor. More... | |
| void | AddParticles (const std::vector< simb::MCParticle > &mcp_v, const std::vector< simb::Origin_t > &orig_v, const std::vector< sim::MCParticleLite > &mcmp_v={}) |
| unsigned int | AncestorTrackID (const unsigned int part_index) |
| unsigned int | MotherTrackID (const unsigned int part_index) const |
| unsigned int | TrackToParticleIndex (const unsigned int track_id) const |
| bool | InDetector (const double &x, const double &y, const double &z) const |
Public Attributes | |
| std::map< unsigned int, unsigned int > | _track_index |
| Track ID => Index Map. More... | |
| std::set< int > | _pdg_list |
| PDG code list for which particle's trajectory within the detector is saved. More... | |
Public Attributes inherited from std::vector< T > | |
| T | elements |
| STL member. More... | |
Protected Attributes | |
| double | _x_max |
| x-max of volume box used to determine whether to save track information More... | |
| double | _x_min |
| x-min of volume box used to determine whether to save track information More... | |
| double | _y_max |
| y-max of volume box used to determine whether to save track information More... | |
| double | _y_min |
| y-min of volume box used to determine whether to save track information More... | |
| double | _z_max |
| z-max of volume box used to determine whether to save track information More... | |
| double | _z_min |
| z-min of volume box used to determine whether to save track information More... | |
Definition at line 108 of file MCRecoPart.h.
| sim::MCRecoPart::MCRecoPart | ( | fhicl::ParameterSet const & | pset | ) |
Default constructor with fhicl parameters.
Definition at line 19 of file MCRecoPart.cxx.
|
inlinevirtual |
| void sim::MCRecoPart::AddParticles | ( | const std::vector< simb::MCParticle > & | mcp_v, |
| const std::vector< simb::Origin_t > & | orig_v, | ||
| const std::vector< sim::MCParticleLite > & | mcmp_v = {} |
||
| ) |
Definition at line 128 of file MCRecoPart.cxx.
| unsigned int sim::MCRecoPart::AncestorTrackID | ( | const unsigned int | part_index | ) |
Definition at line 68 of file MCRecoPart.cxx.
| bool sim::MCRecoPart::InDetector | ( | const double & | x, |
| const double & | y, | ||
| const double & | z | ||
| ) | const |
Definition at line 117 of file MCRecoPart.cxx.
| unsigned int sim::MCRecoPart::MotherTrackID | ( | const unsigned int | part_index | ) | const |
Definition at line 42 of file MCRecoPart.cxx.
|
inline |
Definition at line 130 of file MCRecoPart.h.
| std::set<int> sim::MCRecoPart::_pdg_list |
PDG code list for which particle's trajectory within the detector is saved.
Definition at line 148 of file MCRecoPart.h.
| std::map<unsigned int, unsigned int> sim::MCRecoPart::_track_index |
Track ID => Index Map.
Definition at line 144 of file MCRecoPart.h.
|
protected |
x-max of volume box used to determine whether to save track information
Definition at line 152 of file MCRecoPart.h.
|
protected |
x-min of volume box used to determine whether to save track information
Definition at line 153 of file MCRecoPart.h.
|
protected |
y-max of volume box used to determine whether to save track information
Definition at line 154 of file MCRecoPart.h.
|
protected |
y-min of volume box used to determine whether to save track information
Definition at line 155 of file MCRecoPart.h.
|
protected |
z-max of volume box used to determine whether to save track information
Definition at line 156 of file MCRecoPart.h.
|
protected |
z-min of volume box used to determine whether to save track information
Definition at line 157 of file MCRecoPart.h.
1.8.5