Public Member Functions | Public Attributes | List of all members
trk::TrackTree Struct Reference

#include <TrackContainmentAlg.hh>

Public Member Functions

 TrackTree ()
 
 TrackTree (recob::Track const &t)
 
std::string Leaflist ()
 

Public Attributes

double start_x
 
double start_y
 
double start_z
 
double start_theta
 
double start_phi
 
double end_x
 
double end_y
 
double end_z
 
double end_theta
 
double end_phi
 
double length
 
double length_simple
 

Detailed Description

Definition at line 25 of file TrackContainmentAlg.hh.

Constructor & Destructor Documentation

trk::TrackTree::TrackTree ( )
inline

Definition at line 27 of file TrackContainmentAlg.hh.

27 {}
trk::TrackTree::TrackTree ( recob::Track const &  t)
inline

Definition at line 29 of file TrackContainmentAlg.hh.

29  :
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() ){}

Member Function Documentation

std::string trk::TrackTree::Leaflist ( )
inline

Definition at line 49 of file TrackContainmentAlg.hh.

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"; }

Member Data Documentation

double trk::TrackTree::end_phi

Definition at line 45 of file TrackContainmentAlg.hh.

double trk::TrackTree::end_theta

Definition at line 44 of file TrackContainmentAlg.hh.

double trk::TrackTree::end_x

Definition at line 41 of file TrackContainmentAlg.hh.

double trk::TrackTree::end_y

Definition at line 42 of file TrackContainmentAlg.hh.

double trk::TrackTree::end_z

Definition at line 43 of file TrackContainmentAlg.hh.

double trk::TrackTree::length

Definition at line 46 of file TrackContainmentAlg.hh.

double trk::TrackTree::length_simple

Definition at line 47 of file TrackContainmentAlg.hh.

double trk::TrackTree::start_phi

Definition at line 40 of file TrackContainmentAlg.hh.

double trk::TrackTree::start_theta

Definition at line 39 of file TrackContainmentAlg.hh.

double trk::TrackTree::start_x

Definition at line 36 of file TrackContainmentAlg.hh.

double trk::TrackTree::start_y

Definition at line 37 of file TrackContainmentAlg.hh.

double trk::TrackTree::start_z

Definition at line 38 of file TrackContainmentAlg.hh.


The documentation for this struct was generated from the following file: