52 std::vector<std::pair<TLorentzVector,TLorentzVector> >
_det_path;
86 void AddParticles(
const std::vector<simb::MCParticle>& mcp_v,
87 const std::vector<simb::Origin_t>& orig_v);
89 unsigned int AncestorTrackID(
const unsigned int part_index);
91 unsigned int MotherTrackID(
const unsigned int part_index)
const;
99 auto const iter (_track_index.find(track_id));
101 return (*iter).second;
104 bool InDetector(
const double&
x,
106 const double&
z)
const;
const double kINVALID_DOUBLE
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
std::vector< std::pair< TLorentzVector, TLorentzVector > > _det_path
TLorentzVector _start_mom
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
double _z_min
z-min of volume box used to determine whether to save track information
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
unsigned int TrackToParticleIndex(const unsigned int track_id) const
std::set< unsigned int > _daughters
art framework interface to geometry description