QwAnalysis
QwTracking.C File Reference
#include "QwEvent.h"
+ Include dependency graph for QwTracking.C:

Go to the source code of this file.

Functions

void LoadEntry (int entry)
 
void DrawTreeLineVDC (int entry)
 

Variables

QwEventev
 

Function Documentation

void DrawTreeLineVDC ( int  entry)

Definition at line 10 of file QwTracking.C.

References Qw::c, QwTrack::fBack, QwEvent::GetTrack(), and QwPartialTrack::GetTreeLine().

10  {
11  QwTrack* tr = ev->GetTrack(0);
12  QwPartialTrack* pt = tr->fBack;
13  QwTreeLine* tl0 = pt->GetTreeLine(0);
14  QwTreeLine* tl1 = pt->GetTreeLine(1);
15 
16 
17 
18  TCanvas* c = new TCanvas();
19  c->Divide(2,2);
20  c->cd(1);
21 
22 }
QwEvent * ev
Definition: QwTracking.C:3
const QwTreeLine * GetTreeLine(const int tl) const
Get the specified tree line.
Contains the complete track as a concatenation of partial tracks.
Definition: QwTrack.h:30
One-dimensional (u, v, or x) track stubs and associated hits.
Definition: QwTreeLine.h:51
QwPartialTrack * fBack
Back partial track.
Definition: QwTrack.h:148
const QwTrack * GetTrack(const int t) const
Get the specified track.
Definition: QwEvent.cc:545
Contains the straight part of a track in one region only.
static const double c
Physical constants.
Definition: QwUnits.h:118

+ Here is the call graph for this function:

void LoadEntry ( int  entry)

Definition at line 5 of file QwTracking.C.

5  {
6  event_tree->SetBranchAddress("events",&ev);
7  event_tree->GetEntry(entry);
8 }
QwEvent * ev
Definition: QwTracking.C:3

Variable Documentation

QwEvent* ev

Definition at line 3 of file QwTracking.C.