QwAnalysis
QwTrack.cc File Reference
#include "QwTrack.h"
+ Include dependency graph for QwTrack.cc:

Go to the source code of this file.

Functions

 ClassImp (QwTrack)
 
std::ostream & operator<< (std::ostream &stream, const QwTrack &t)
 

Function Documentation

ClassImp ( QwTrack  )
std::ostream& operator<< ( std::ostream &  stream,
const QwTrack t 
)

Output stream operator overloading

Definition at line 215 of file QwTrack.cc.

References QwTrack::fEndDirectionActual, QwTrack::fEndDirectionGoal, QwTrack::fEndPositionActual, QwTrack::fEndPositionGoal, QwTrack::fStartDirection, QwTrack::fStartPosition, VQwTrackingElement::GetPackage(), and VQwTrackingElement::GetRegion().

216 {
217  stream << "track: ";
218  stream << "(" << t.GetRegion() << "/" << "?UD"[t.GetPackage()] << ") ";
219  stream << "Start: " << t.fStartPosition << "/" << t.fStartDirection << std::endl;
220  stream << "End (goal): " << t.fEndPositionGoal << "/" << t.fEndDirectionGoal << std::endl;
221  stream << "End (actual): " << t.fEndPositionActual << "/" << t.fEndDirectionActual << std::endl;
222  return stream;
223 }
TVector3 fStartPosition
Position and direction before and after swimming.
Definition: QwTrack.h:123
EQwRegionID GetRegion() const
Get the region.
TVector3 fEndDirectionActual
Actual direction of track at back plane.
Definition: QwTrack.h:130
TVector3 fStartDirection
Start direction of front track.
Definition: QwTrack.h:124
TVector3 fEndPositionActual
Actual position of track at back plane.
Definition: QwTrack.h:129
TVector3 fEndDirectionGoal
Goal direction of back track.
Definition: QwTrack.h:127
TVector3 fEndPositionGoal
Goal position of back track.
Definition: QwTrack.h:126
EQwDetectorPackage GetPackage() const
Get the package.

+ Here is the call graph for this function: