CMS 3D CMS Logo

Functions
HFShowerPhoton.cc File Reference
#include "SimDataFormats/CaloHit/interface/HFShowerPhoton.h"
#include <iomanip>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const HFShowerPhoton &it)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const HFShowerPhoton it 
)

Definition at line 14 of file HFShowerPhoton.cc.

References HFShowerPhoton::lambda(), HFShowerPhoton::t(), HFShowerPhoton::x(), HFShowerPhoton::y(), and HFShowerPhoton::z().

14  {
15  os << "X " << std::setw(6) << it.x() << " Y " << std::setw(6) << it.y() << " Z " << std::setw(6) << it.z() << " t "
16  << std::setw(6) << it.t() << " lambda " << it.lambda();
17  return os;
18 }
float t() const
float x() const
float lambda() const
float y() const
float z() const