ATLAS Offline Software
T2Track.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 //
6 // $Id: T2Track.cxx 702277 2015-10-22 10:33:51Z smh $
7 //
8 
9 #include "T2Track.h"
10 #include "TMath.h"
11 
12 
13 namespace PESA
14 {
15 
16  std::ostream& operator<<( std::ostream& os, const T2Track& track )
17  {
18  os
19  << "Track pT = " << track.Pt () << '\n'
20  << "Track eta = " << track.Eta () << '\n'
21  << "Track phi = " << track.Phi () << '\n'
22  << "Track z0 = " << track.Z0 () << " +- " << track.Z0err() << '\n'
23  << "Track d0 = " << track.D0 () << " +- " << track.D0err() << '\n'
24  << "Track fit ndf = " << track.NDF () << '\n'
25  << "Track chi2/ndf = " << track.Qual () << '\n'
26  << "Track chi2 prob = " << track.Chi2Prob() << '\n'
27  << "Track Si hits = " << track.SiHits () << '\n'
28  << "Track Pixel hits= " << track.PIXHits () << '\n'
29  << "Track SCT hits = " << track.SCTHits () << '\n'
30  << "Track TRT hits = " << track.TRTHits () << '\n'
31  ;
32  return os;
33  }
34 
35 }
PESA::operator<<
std::ostream & operator<<(std::ostream &os, const T2BeamSpot &beamSpot)
Definition: T2BeamSpot.cxx:15
PESA
Local tools.
Definition: T2BeamSpot.cxx:13
T2Track.h
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
PESA::T2Track
Definition: T2Track.h:44
xAOD::track
@ track
Definition: TrackingPrimitives.h:512