ATLAS Offline Software
Public Member Functions | Protected Attributes | List of all members
displayTracks Class Referenceabstract

#include <display_track.h>

Inheritance diagram for displayTracks:
Collaboration diagram for displayTracks:

Public Member Functions

 displayTracks ()
 base class: displayTracks More...
 
virtual ~displayTracks ()
 
 displayTracks (const displayTracks &)=delete
 
displayTracksoperator= (const displayTracks &)=delete
 
virtual void displayTrackState (GlobalPosition &trkPosition, GlobalDirection &trkDirection)=0
 create the graphic objects for a single track state More...
 
virtual void displayTRT_MeasurementOnTrack (GlobalPosition &strawPosition, double driftRadius, GlobalDirection &trkDirection, bool isOutlier, double trackRadius=0.)=0
 create the graphic objects for a single TRT measurement on track More...
 
virtual void displayTRT_Measurement (GlobalPosition &strawPosition, double driftRadius, bool onTrack, bool outlierOnTrack, double trackRadius=0.)=0
 create the graphic objects for a single TRT measurement More...
 
virtual void displayTRT_Tubes ()=0
 
virtual void displaySiliconMeasurement (GlobalPosition &measurementPosition, bool onTrack)=0
 create the graphic objects for a single Silicon measurement More...
 
virtual void displayCompetingTRT_ROT (std::vector< GlobalPosition > &strawPositions, std::vector< double > driftRadii, std::vector< double > assgnProbs, GlobalDirection &trkDirection)=0
 create the graphic objects for a single CompetingTRT_DriftCirclesOnTrack More...
 
virtual void clear ()
 clear all graphics vectors More...
 
virtual void clearTrackGraphics ()
 
virtual void clearRIOGraphics ()
 
virtual void clearGeometryGraphics ()
 
virtual void clearCompetingROTsGraphics ()
 
virtual std::vector< TObject * > * getTrackGraphics ()
 
virtual std::vector< TObject * > * getRIOGraphics ()
 
virtual std::vector< TObject * > * getGeometryGraphics ()
 
virtual std::vector< TObject * > * getCompetingROTsGraphics ()
 

Protected Attributes

std::vector< TObject * > * m_trackGraphics
 
std::vector< TObject * > * m_rioGraphics
 
std::vector< TObject * > * m_geometryGraphics
 
std::vector< TObject * > * m_competingRotGraphics
 
ShapeCreator m_shapeCreator
 

Detailed Description

Definition at line 28 of file display_track.h.

Constructor & Destructor Documentation

◆ displayTracks() [1/2]

displayTracks::displayTracks ( )

base class: displayTracks

Definition at line 24 of file display_track.cxx.

24  {
25 
26  m_trackGraphics = new std::vector<TObject*>();
27  m_rioGraphics = new std::vector<TObject*>();
28  m_geometryGraphics = new std::vector<TObject*>();
29  m_competingRotGraphics = new std::vector<TObject*>();
30 
31 };

◆ ~displayTracks()

displayTracks::~displayTracks ( )
virtual

Definition at line 33 of file display_track.cxx.

33  {
35  delete m_trackGraphics;
36  m_trackGraphics = 0;
37  delete m_rioGraphics;
38  m_rioGraphics = 0;
39  delete m_geometryGraphics;
43 }

◆ displayTracks() [2/2]

displayTracks::displayTracks ( const displayTracks )
delete

Member Function Documentation

◆ clear()

void displayTracks::clear ( )
virtual

clear all graphics vectors

Definition at line 84 of file display_track.cxx.

◆ clearCompetingROTsGraphics()

void displayTracks::clearCompetingROTsGraphics ( )
virtual

Definition at line 77 of file display_track.cxx.

77  {
78  while(m_competingRotGraphics->size()!=0) {
79  delete m_competingRotGraphics->back();
80  m_competingRotGraphics->pop_back();
81  }
82 }

◆ clearGeometryGraphics()

void displayTracks::clearGeometryGraphics ( )
virtual

Definition at line 71 of file display_track.cxx.

71  {
72  while(m_geometryGraphics->size()!=0) {
73  delete m_geometryGraphics->back();
74  m_geometryGraphics->pop_back();
75  }
76 }

◆ clearRIOGraphics()

void displayTracks::clearRIOGraphics ( )
virtual

Definition at line 64 of file display_track.cxx.

64  {
65  while(m_rioGraphics->size()!=0) {
66  delete m_rioGraphics->back();
67  m_rioGraphics->pop_back();
68  }
69 }

◆ clearTrackGraphics()

void displayTracks::clearTrackGraphics ( )
virtual

Definition at line 58 of file display_track.cxx.

58  {
59  while(m_trackGraphics->size()!=0) {
60  delete m_trackGraphics->back();
61  m_trackGraphics->pop_back();
62  }
63 }

◆ displayCompetingTRT_ROT()

virtual void displayTracks::displayCompetingTRT_ROT ( std::vector< GlobalPosition > &  strawPositions,
std::vector< double >  driftRadii,
std::vector< double >  assgnProbs,
GlobalDirection trkDirection 
)
pure virtual

create the graphic objects for a single CompetingTRT_DriftCirclesOnTrack

Implemented in displayEndcapPhiZ, and displayBarrelXY.

◆ displaySiliconMeasurement()

virtual void displayTracks::displaySiliconMeasurement ( GlobalPosition measurementPosition,
bool  onTrack 
)
pure virtual

create the graphic objects for a single Silicon measurement

Implemented in displayEndcapPhiZ, and displayBarrelXY.

◆ displayTrackState()

virtual void displayTracks::displayTrackState ( GlobalPosition trkPosition,
GlobalDirection trkDirection 
)
pure virtual

create the graphic objects for a single track state

Implemented in displayEndcapPhiZ, and displayBarrelXY.

◆ displayTRT_Measurement()

virtual void displayTracks::displayTRT_Measurement ( GlobalPosition strawPosition,
double  driftRadius,
bool  onTrack,
bool  outlierOnTrack,
double  trackRadius = 0. 
)
pure virtual

create the graphic objects for a single TRT measurement

Implemented in displayBarrelXY, and displayEndcapPhiZ.

◆ displayTRT_MeasurementOnTrack()

virtual void displayTracks::displayTRT_MeasurementOnTrack ( GlobalPosition strawPosition,
double  driftRadius,
GlobalDirection trkDirection,
bool  isOutlier,
double  trackRadius = 0. 
)
pure virtual

create the graphic objects for a single TRT measurement on track

Implemented in displayBarrelXY, and displayEndcapPhiZ.

◆ displayTRT_Tubes()

virtual void displayTracks::displayTRT_Tubes ( )
pure virtual

Implemented in displayEndcapPhiZ, and displayBarrelXY.

◆ getCompetingROTsGraphics()

std::vector< TObject * > * displayTracks::getCompetingROTsGraphics ( )
virtual

Definition at line 54 of file display_track.cxx.

54  {
56 }

◆ getGeometryGraphics()

std::vector< TObject * > * displayTracks::getGeometryGraphics ( )
virtual

Definition at line 51 of file display_track.cxx.

51  {
52  return m_geometryGraphics;
53 }

◆ getRIOGraphics()

std::vector< TObject * > * displayTracks::getRIOGraphics ( )
virtual

Definition at line 48 of file display_track.cxx.

48  {
49  return m_rioGraphics;
50 }

◆ getTrackGraphics()

std::vector< TObject * > * displayTracks::getTrackGraphics ( )
virtual

Definition at line 45 of file display_track.cxx.

45  {
46  return m_trackGraphics;
47 }

◆ operator=()

displayTracks& displayTracks::operator= ( const displayTracks )
delete

Member Data Documentation

◆ m_competingRotGraphics

std::vector<TObject*>* displayTracks::m_competingRotGraphics
protected

Definition at line 77 of file display_track.h.

◆ m_geometryGraphics

std::vector<TObject*>* displayTracks::m_geometryGraphics
protected

Definition at line 76 of file display_track.h.

◆ m_rioGraphics

std::vector<TObject*>* displayTracks::m_rioGraphics
protected

Definition at line 75 of file display_track.h.

◆ m_shapeCreator

ShapeCreator displayTracks::m_shapeCreator
protected

Definition at line 79 of file display_track.h.

◆ m_trackGraphics

std::vector<TObject*>* displayTracks::m_trackGraphics
protected

Definition at line 74 of file display_track.h.


The documentation for this class was generated from the following files:
displayTracks::clearTrackGraphics
virtual void clearTrackGraphics()
Definition: display_track.cxx:58
displayTracks::clear
virtual void clear()
clear all graphics vectors
Definition: display_track.cxx:84
displayTracks::m_geometryGraphics
std::vector< TObject * > * m_geometryGraphics
Definition: display_track.h:76
displayTracks::m_trackGraphics
std::vector< TObject * > * m_trackGraphics
Definition: display_track.h:74
displayTracks::clearGeometryGraphics
virtual void clearGeometryGraphics()
Definition: display_track.cxx:71
displayTracks::m_competingRotGraphics
std::vector< TObject * > * m_competingRotGraphics
Definition: display_track.h:77
displayTracks::clearRIOGraphics
virtual void clearRIOGraphics()
Definition: display_track.cxx:64
displayTracks::clearCompetingROTsGraphics
virtual void clearCompetingROTsGraphics()
Definition: display_track.cxx:77
displayTracks::m_rioGraphics
std::vector< TObject * > * m_rioGraphics
Definition: display_track.h:75