ATLAS Offline Software
Loading...
Searching...
No Matches
TrackTrigObject.h File Reference
#include "TObject.h"
#include <vector>
#include <ostream>
#include <string>
#include <ios>
Include dependency graph for TrackTrigObject.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TrackTrigObject

Namespaces

namespace  TIDA
 Test for xAOD.

Functions

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

Detailed Description

Author
mark sutton
Date
Mon 5 Nov 2012 00:07:15 GMT

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

Definition in file TrackTrigObject.h.

Function Documentation

◆ operator<<()

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

Definition at line 74 of file TrackTrigObject.h.

74 {
75 s << "Object ["
76 << "\ttype=" << t.type()
77 << ":\teta=" << t.eta()
78 << "\tphi=" << t.phi()
79 << "\tpt=" << t.pt()*0.001 << " GeV"
80 << " ] \t(";
81
82 std::string n = "";
83 if ( t.children().size()>3 ) n = "\n\t";
84 for ( size_t i=0 ; i<t.children().size() ; i++ ) s << n << " 0x" << std::hex << t.children()[i] << std::dec;
85 s << " )" ;
86
87 return s;
88}