#include <display_track.h>
|
| displayBarrelXY () |
|
virtual void | displayTrackState (GlobalPosition &trkPosition, GlobalDirection &trkDirection) |
| create the graphic objects for a single track state More...
|
|
virtual void | displayTRT_MeasurementOnTrack (GlobalPosition &strawPosition, double driftRadius, GlobalDirection &trkDirection, bool isOutlier, double=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=0.) |
| create the graphic objects for a single TRT measurement More...
|
|
virtual void | displayTRT_Tubes () |
|
virtual void | displaySiliconMeasurement (GlobalPosition &measurementPosition, bool onTrack) |
| 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) |
| 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 () |
|
Definition at line 84 of file display_track.h.
◆ displayBarrelXY()
displayBarrelXY::displayBarrelXY |
( |
| ) |
|
◆ clear()
void displayTracks::clear |
( |
| ) |
|
|
virtualinherited |
◆ clearCompetingROTsGraphics()
void displayTracks::clearCompetingROTsGraphics |
( |
| ) |
|
|
virtualinherited |
◆ clearGeometryGraphics()
void displayTracks::clearGeometryGraphics |
( |
| ) |
|
|
virtualinherited |
◆ clearRIOGraphics()
void displayTracks::clearRIOGraphics |
( |
| ) |
|
|
virtualinherited |
◆ clearTrackGraphics()
void displayTracks::clearTrackGraphics |
( |
| ) |
|
|
virtualinherited |
◆ displayCompetingTRT_ROT()
void displayBarrelXY::displayCompetingTRT_ROT |
( |
std::vector< GlobalPosition > & |
strawPositions, |
|
|
std::vector< double > |
driftRadii, |
|
|
std::vector< double > |
assgnProbs, |
|
|
GlobalDirection & |
trkDirection |
|
) |
| |
|
virtual |
create the graphic objects for a single CompetingTRT_DriftCirclesOnTrack
Implements displayTracks.
Definition at line 250 of file display_track.cxx.
253 dir_o *= (trkDirection.z()<0 ? -1 : 1);
254 char assgnProbText[50];
257 sprintf(assgnProbText,
"%e", assgnProbs[0]);
261 text->SetTextAlign((dir_o.x()*driftRadii[0])>0 ? 12 : 32);
262 TObject* textObj =
text;
266 for (
unsigned int i = 1;
i < strawPositions.size();
i++) {
274 sprintf(assgnProbText,
"%e", assgnProbs[
i]);
278 text->SetTextAlign((dir_o.x()*driftRadii[
i])>0 ? 12 : 32);
279 TObject* textObj =
text;
282 if (strawPositions[
i] != strawPositions[
i-1]) {
285 connection->SetLineColor(16);
286 TObject* connectionObj = connection;
◆ displaySiliconMeasurement()
void displayBarrelXY::displaySiliconMeasurement |
( |
GlobalPosition & |
measurementPosition, |
|
|
bool |
onTrack |
|
) |
| |
|
virtual |
create the graphic objects for a single Silicon measurement
Implements displayTracks.
Definition at line 225 of file display_track.cxx.
241 hit->SetLineColor(
color );
242 hit->SetFillColor(
color );
245 TObject* hitObj = hit;
◆ displayTrackState()
create the graphic objects for a single track state
displayBarrelXY
Implements displayTracks.
Definition at line 104 of file display_track.cxx.
108 double tp_len = 2*10.;
113 trackpp->SetLineColor(
color );
115 TObject* trackppObj = trackpp;
122 trackp->SetLineWidth( 2 );
123 trackp->SetLineColor(
color );
126 TObject* trackpObj = trackp;
131 trackp_o->SetLineColor(
color );
134 TObject* trackp_oObj = trackp_o;
◆ displayTRT_Measurement()
void displayBarrelXY::displayTRT_Measurement |
( |
GlobalPosition & |
strawPosition, |
|
|
double |
driftRadius, |
|
|
bool |
onTrack, |
|
|
bool |
outlierOnTrack, |
|
|
double |
= 0. |
|
) |
| |
|
virtual |
create the graphic objects for a single TRT measurement
Implements displayTracks.
Definition at line 159 of file display_track.cxx.
162 double tube_radius = 2.;
165 bool backside = strawPosition.z() < 0.;
168 if (onTrack && !outlierOnTrack ) {
169 color_hit = backside ? 303 : 4;
171 }
else if (onTrack && outlierOnTrack) {
172 color_hit = backside ? 302 : 3;
175 color_hit = backside ? 306 : 6;
180 tube->SetLineColor( color_tube );
181 if (!onTrack && backside)
tube->SetFillColor( 310 );
184 TObject* tubeObj =
tube;
188 double x_flag = backside ? -1.6 : 1.6;
189 GlobalPosition gp_flag(strawPosition.x()+1.6,strawPosition.y()+x_flag,strawPosition.z());
191 tubeFlag->SetLineColor( color_hit );
192 tubeFlag->SetFillColor( color_hit );
193 TObject* flagObj = tubeFlag;
199 hit->SetLineColor( color_hit );
200 hit->SetLineWidth( 2 );
203 TObject* hitObj = hit;
207 hit->SetLineColor( color_hit );
208 hit->SetFillColor( color_hit );
209 hit->SetLineWidth( 2 );
210 TObject* hitObj = hit;
216 tube_c->SetLineColor( 1 );
217 tube_c->SetFillColor( 1 );
220 TObject* tube_cObj = tube_c;
◆ displayTRT_MeasurementOnTrack()
void displayBarrelXY::displayTRT_MeasurementOnTrack |
( |
GlobalPosition & |
strawPosition, |
|
|
double |
driftRadius, |
|
|
GlobalDirection & |
trkDirection, |
|
|
bool |
isOutlier, |
|
|
double |
= 0. |
|
) |
| |
|
virtual |
create the graphic objects for a single TRT measurement on track
Implements displayTracks.
Definition at line 139 of file display_track.cxx.
144 dir_o *= (trkDirection.z()<0 ? -1 : 1);
150 marker->SetLineColor( 311 );
151 marker->SetLineWidth( 2 );
154 TObject* markerObj =
marker;
◆ displayTRT_Tubes()
void displayBarrelXY::displayTRT_Tubes |
( |
| ) |
|
|
virtual |
◆ getCompetingROTsGraphics()
std::vector< TObject * > * displayTracks::getCompetingROTsGraphics |
( |
| ) |
|
|
virtualinherited |
◆ getGeometryGraphics()
std::vector< TObject * > * displayTracks::getGeometryGraphics |
( |
| ) |
|
|
virtualinherited |
◆ getRIOGraphics()
std::vector< TObject * > * displayTracks::getRIOGraphics |
( |
| ) |
|
|
virtualinherited |
◆ getTrackGraphics()
std::vector< TObject * > * displayTracks::getTrackGraphics |
( |
| ) |
|
|
virtualinherited |
◆ m_competingRotGraphics
std::vector<TObject*>* displayTracks::m_competingRotGraphics |
|
protectedinherited |
◆ m_geometryGraphics
std::vector<TObject*>* displayTracks::m_geometryGraphics |
|
protectedinherited |
◆ m_rioGraphics
std::vector<TObject*>* displayTracks::m_rioGraphics |
|
protectedinherited |
◆ m_shapeCreator
◆ m_trackGraphics
std::vector<TObject*>* displayTracks::m_trackGraphics |
|
protectedinherited |
The documentation for this class was generated from the following files:
virtual void displayTRT_Measurement(GlobalPosition &strawPosition, double driftRadius, bool onTrack, bool outlierOnTrack, double=0.)
create the graphic objects for a single TRT measurement