ATLAS Offline Software
Loading...
Searching...
No Matches
TrackView.h File Reference
#include "TrackTraits.h"
#include <vector>
#include <cstdint>
#include <iostream>
#include <typeinfo>
Include dependency graph for TrackView.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TrackView
 forward declaration required for function prototype More...
struct  TrackView::VTable

Functions

std::ostream & operator<< (std::ostream &s, const TrackView &t)

Detailed Description

Author
sutt
Date
Fri 13 Mar 2026 23:01:14 GMT
Id
TrackView.h, v0.0 Sat 14 Mar 2026 23:01:14 GMT sutt

Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration

Definition in file TrackView.h.

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & s,
const TrackView & t )
inline

Definition at line 340 of file TrackView.h.

340 {
341 s << " [ "
342 << "eta=" << t.eta()
343 << "\tphi=" << t.phi()
344 << "\tpt=" << t.pt()
345 << "\tz0=" << t.z0()
346 << "\td0=" << t.d0();
347 s << "\t : ptr=" << t.ptr() << " (" << &t << ")" << " ]";
348
349 if ( t.hasParent() ) s << "\t( parent: " << t.parent()->ptr() << " )";
350
351 if ( t.hasChildren() ) {
352 for ( size_t i=0 ; i<t.childCount() ; i++ ) s << "\n\t\t[" << *t.child(i) << "]";
353 }
354 return s;
355}