8 #ifndef TRK_TRACKCONTAINMENTALG_H 9 #define TRK_TRACKCONTAINMENTALG_H 20 namespace geo{
class GeometryCore; }
31 start_theta(t.VertexDirection().Theta()),start_phi(t.VertexDirection().Phi()),
32 end_x(t.
End().
X()),end_y(t.
End().
Y()),end_z(t.
End().
Z()),
33 end_theta(t.EndDirection().Theta()),end_phi(t.EndDirection().Phi()),
50 {
return "start_x/D:start_y/D:start_z/D:start_theta/D:start_phi/D:end_x/D:end_y/D:end_z/D:end_theta/D:end_phi/D:length/D:length_simple/D"; }
64 void SetupOutputTree(TTree*);
68 void SetRunEvent(
unsigned int const&,
unsigned int const&);
69 void ProcessTracks(
std::vector< std::vector<recob::Track> >
const&,
73 {
return fTrackContainmentLevel; }
75 {
return fMinDistances; }
76 std::vector< std::vector<anab::CosmicTag> >
const& GetTrackCosmicTags();
float Length(const PFPStruct &pfp)
std::vector< std::vector< int > > fTrackContainmentLevel
void setMakeCosmicTags(bool flag=true)
enum anab::cosmic_tag_id CosmicTagID_t
void setFillOutputTree(bool flag=true)
std::vector< std::vector< double > > fMinDistances
std::vector< std::vector< int > > const & GetTrackContainmentValues()
std::vector< std::vector< std::pair< int, int > > > fTrackContainmentIndices
struct trk::TrackTree TrackTree_t
TrackTree(recob::Track const &t)
Description of geometry of one entire detector.
std::vector< std::vector< anab::CosmicTag > > fCosmicTags
void Configure(string mesg)
std::vector< std::vector< double > > const & GetTrackMinDistanceValues()
Provides recob::Track data product.
TrackTree_t fTrackTreeObj
boost::graph_traits< ModuleGraph >::vertex_descriptor Vertex
LArSoft geometry interface.
Track from a non-cascading particle.A recob::Track consists of a recob::TrackTrajectory, plus additional members relevant for a "fitted" track: