All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 26 of file TrackContainmentAlg.hh.

Constructor & Destructor Documentation

trk::TrackTree::TrackTree ( )
inline

Definition at line 28 of file TrackContainmentAlg.hh.

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

Definition at line 30 of file TrackContainmentAlg.hh.

30  :
31  start_x(t.Vertex().X()),start_y(t.Vertex().Y()),start_z(t.Vertex().Z()),
32  start_theta(t.VertexDirection().Theta()),start_phi(t.VertexDirection().Phi()),
33  end_x(t.End().X()),end_y(t.End().Y()),end_z(t.End().Z()),
34  end_theta(t.EndDirection().Theta()),end_phi(t.EndDirection().Phi()),
35  length(t.Length()),length_simple( (t.End()-t.Vertex()).R() ){}

Member Function Documentation

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

Definition at line 50 of file TrackContainmentAlg.hh.

51  { 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 46 of file TrackContainmentAlg.hh.

double trk::TrackTree::end_theta

Definition at line 45 of file TrackContainmentAlg.hh.

double trk::TrackTree::end_x

Definition at line 42 of file TrackContainmentAlg.hh.

double trk::TrackTree::end_y

Definition at line 43 of file TrackContainmentAlg.hh.

double trk::TrackTree::end_z

Definition at line 44 of file TrackContainmentAlg.hh.

double trk::TrackTree::length

Definition at line 47 of file TrackContainmentAlg.hh.

double trk::TrackTree::length_simple

Definition at line 48 of file TrackContainmentAlg.hh.

double trk::TrackTree::start_phi

Definition at line 41 of file TrackContainmentAlg.hh.

double trk::TrackTree::start_theta

Definition at line 40 of file TrackContainmentAlg.hh.

double trk::TrackTree::start_x

Definition at line 37 of file TrackContainmentAlg.hh.

double trk::TrackTree::start_y

Definition at line 38 of file TrackContainmentAlg.hh.

double trk::TrackTree::start_z

Definition at line 39 of file TrackContainmentAlg.hh.


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