#include "BrDetectorTrack.h"

ClassImp(BrDetectorTrack)

/////////////////////////////////////////////////////////////
//
// TBrDetectorTrack is a BRAHMS data class for storing information for 
// a track 
//
//////////////////////////////////////////////////////////////

 BrDetectorTrack::BrDetectorTrack() 
{
fLoctra = NULL;
fVtrack = NULL;
}

ostream& operator<< (ostream & os,BrDetectorTrack *track_p)
{
  //  os<<"Local track; Number of Hits ="<<loctra_p->GetNhit();
  //  os<<"Flag, Stat = "<<loctra_p->GetFlg()<<","<<loctra_p->GetStat()<<endl;
  os<<"Detector track"<<endl;
 os<<"Track origin x,y,z = ";
 os<<track_p->GetPos()[0]<<",";
 os<<track_p->GetPos()[1]<<",";
 os<<track_p->GetPos()[2]<<",";
os<<endl;
 os<<"Track vector x,y,z = ";
 os<<track_p->GetAlph()[0]<<",";
 os<<track_p->GetAlph()[1]<<",";
 os<<track_p->GetAlph()[2]<<",";
 os<<endl;
return os;
}


ROOT page - Class index - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.