5 namespace fhicl {
class ParameterSet; }
11 namespace simb {
class MCParticle; }
37 std::vector<std::pair<TLorentzVector,TLorentzVector> >
_det_path;
71 void AddParticles(
const std::vector<simb::MCParticle>& mcp_v,
72 const std::vector<simb::Origin_t>& orig_v);
74 unsigned int AncestorTrackID(
const unsigned int part_index);
76 unsigned int MotherTrackID(
const unsigned int part_index)
const;
84 auto const iter (_track_index.find(track_id));
86 return (*iter).second;
89 bool InDetector(
const double&
x,
91 const double&
z)
const;
double _z_max
z-max of volume box used to determine whether to save track information
enum simb::_ev_origin Origin_t
event origin types
virtual ~MCRecoPart()
Default destructor.
double _y_max
y-max of volume box used to determine whether to save track information
double _y_min
y-min of volume box used to determine whether to save track information
std::map< unsigned int, unsigned int > _track_index
Track ID => Index Map.
TLorentzVector _start_vtx
art framework interface to geometry description
std::vector< std::pair< TLorentzVector, TLorentzVector > > _det_path
TLorentzVector _start_mom
double _z_min
z-min of volume box used to determine whether to save track information
Code to link reconstructed objects back to the MC truth information.
Base utilities and modules for event generation and detector simulation.
double _x_max
x-max of volume box used to determine whether to save track information
double _x_min
x-min of volume box used to determine whether to save track information
std::set< int > _pdg_list
PDG code list for which particle's trajectory within the detector is saved.
const unsigned int kINVALID_UINT
static const double kINVALID_DOUBLE
unsigned int TrackToParticleIndex(const unsigned int track_id) const
std::set< unsigned int > _daughters