8 #ifndef TRK_TRACKCONTAINMENTALG_H 9 #define TRK_TRACKCONTAINMENTALG_H 30 start_x(t.Vertex().
X()),start_y(t.Vertex().
Y()),start_z(t.Vertex().
Z()),
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()),
34 length(t.Length()),length_simple( (t.
End()-t.Vertex()).
R() ){}
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"; }
67 void SetupOutputTree(TTree*);
71 void SetRunEvent(
unsigned int const&,
unsigned int const&);
72 void ProcessTracks(
std::vector< std::vector<recob::Track> >
const&,
76 {
return fTrackContainmentLevel; }
78 {
return fMinDistances; }
79 std::vector< std::vector<anab::CosmicTag> >
const& GetTrackCosmicTags();
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()
typename BeginEndPackage< L >::End End
std::vector< std::vector< std::pair< int, int > > > fTrackContainmentIndices
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
virtual ~TrackContainmentAlg()
Default destructor.
Provides recob::Track data product.
struct trk::TrackTree TrackTree_t
TrackTree(recob::Track const &t)
Description of geometry of one entire detector.
std::vector< std::vector< anab::CosmicTag > > fCosmicTags
std::vector< std::vector< double > > const & GetTrackMinDistanceValues()
TrackTree_t fTrackTreeObj
Namespace collecting geometry-related classes utilities.
Track from a non-cascading particle.A recob::Track consists of a recob::TrackTrajectory, plus additional members relevant for a "fitted" track: