ATLAS Offline Software
Classes | Functions
TrackTrigObject.h File Reference
#include <iostream>
#include "TrigInDetAnalysis/Track.h"
#include "TObject.h"
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
 

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-2022 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 70 of file TrackTrigObject.h.

70  {
71  s << "Object ["
72  << "\ttype=" << t.type()
73  << ":\teta=" << t.eta()
74  << "\tphi=" << t.phi()
75  << "\tpt=" << t.pt()*0.001 << " GeV"
76  << " ] \t(";
77 
78  std::string n = "";
79  if ( t.children().size()>3 ) n = "\n\t";
80  for ( size_t i=0 ; i<t.children().size() ; i++ ) s << n << " 0x" << std::hex << t.children()[i] << std::dec;
81  s << " )" ;
82 
83  return s;
84 }
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
lumiFormat.i
int i
Definition: lumiFormat.py:85
beamspotman.n
n
Definition: beamspotman.py:731