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 22 of file HFShowerPhoton.cc.

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

22  {
23  os << "X " << std::setw(6) << it.x() << " Y " << std::setw(6) << it.y() << " Z " << std::setw(6) << it.z() << " t "
24  << std::setw(6) << it.t() << " lambda " << it.lambda();
25  return os;
26 }
float t() const
float x() const
float lambda() const
float y() const
float z() const