MsgStreamDefs.h File Reference

#include "HepMC/GenParticle.h"

Include dependency graph for MsgStreamDefs.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

MsgStream & operator<< (MsgStream &, const Hep3Vector &)
MsgStream & operator<< (MsgStream &, const HepLorentzVector &)
MsgStream & operator<< (MsgStream &, const HepMC::GenParticle &p)
MsgStream & operator<< (MsgStream &, const HepMC::GenParticle *p)


Function Documentation

MsgStream& operator<< ( MsgStream &  ,
const Hep3Vector &   
)

Definition at line 15 of file MsgStreamDefs.cxx.

00016 {
00017   s << " /pT = " << v.perp() 
00018     << " /eta= " << v.pseudoRapidity() 
00019     << " /phi= " << v.phi() ;
00020   return s ;
00021 }

MsgStream& operator<< ( MsgStream &  ,
const HepLorentzVector &   
)

Definition at line 23 of file MsgStreamDefs.cxx.

00024 {
00025   s << " /pT = " << v.perp() 
00026     << " /eta= " << v.pseudoRapidity() 
00027     << " /phi= " << v.phi() ;
00028   return s ;
00029 }

MsgStream& operator<< ( MsgStream &  ,
const HepMC::GenParticle &  p 
)

Definition at line 37 of file MsgStreamDefs.cxx.

00038 {
00039   s << "truth particle: "
00040     << " /id " << p.pdg_id()
00041     << " /pT " << p.momentum().perp() 
00042     << " /eta " << p.momentum().pseudoRapidity() 
00043     << " /phi " << p.momentum().phi() ;
00044   
00045   return s ;
00046 }

MsgStream& operator<< ( MsgStream &  ,
const HepMC::GenParticle *  p 
)

Definition at line 48 of file MsgStreamDefs.cxx.

00049 {
00050   return s << *p ;
00051 }


Generated on Fri Sep 21 13:00:12 2007 for AtlfastEvent by  doxygen 1.5.1