tests/src/DisplayTrack.cpp File Reference

#include "TH3F.h"
#include "MapsTrackManager.hh"
#include "MapsTrack.hh"
#include "MapsSensor.hh"
#include "MapsException.hh"
#include <cmath>
#include <vector>
#include "TRandom2.h"
#include "TFile.h"
#include "TH1F.h"
#include "TH2F.h"
#include "TApplication.h"
#include "TCanvas.h"
#include "TROOT.h"
#include "TSystem.h"
#include "TThread.h"
#include "TStyle.h"
#include "TPaveText.h"
#include "TText.h"
#include "ToString.h"
#include "TVirtualViewer3D.h"
#include "TGeoBBox.h"
#include "Rtypes.h"
#include "TVirtualGeoPainter.h"
#include "TGLViewer.h"
#include <signal.h>

Go to the source code of this file.

Functions

void signalHandler (int signal)
void startSender (void *inA)
int main (int argc, const char **argv)

Variables

TApplication * theApp
TCanvas * c
TVirtualViewer3D * v
TGLViewer * viewer
bool continueJob = true


Function Documentation

int main ( int  argc,
const char **  argv 
)

Definition at line 106 of file DisplayTrack.cpp.

References c, continueJob, signalHandler(), startSender(), and theApp.

void signalHandler ( int  signal  ) 

Definition at line 46 of file DisplayTrack.cpp.

References continueJob.

Referenced by main().

void startSender ( void *  inA  ) 

Definition at line 52 of file DisplayTrack.cpp.

References c, diagnose(), MapsTrackManager::getTracks(), MapsTrackManager::recreateFromRootFile(), and toString().

Referenced by main().


Variable Documentation

TCanvas* c

Definition at line 40 of file DisplayTrack.cpp.

Referenced by MapsTrack::chiSq(), MapsSensor::convertPhysicalToHit(), MapsSensor::decodeRegion(), MapsTrack::fitParameters(), main(), MapsTrack::meanX(), MapsTrack::meanY(), MapsTrack::sigmaX(), MapsTrack::sigmaY(), and startSender().

bool continueJob = true

Definition at line 44 of file DisplayTrack.cpp.

Referenced by main(), and signalHandler().

TApplication* theApp

DisplayTrack.cpp

Use this to interactively display tracks on screen. Use of ROOT's OpenGL viewer is recommended.

Jamie Ballin, Imperial College London February 2008

j.ballin06@imperial.ac.uk

Definition at line 39 of file DisplayTrack.cpp.

Referenced by main().

TVirtualViewer3D* v

Definition at line 41 of file DisplayTrack.cpp.

TGLViewer* viewer

Definition at line 42 of file DisplayTrack.cpp.


Generated on Wed Mar 19 17:47:58 2008 for MapsTracks by  doxygen 1.5.2