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.

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 }

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

HFShowerPhoton::y
float y() const
Definition: HFShowerPhoton.h:25
HFShowerPhoton::t
float t() const
Definition: HFShowerPhoton.h:28
HFShowerPhoton::x
float x() const
Definition: HFShowerPhoton.h:24
HFShowerPhoton::lambda
float lambda() const
Definition: HFShowerPhoton.h:27
HFShowerPhoton::z
float z() const
Definition: HFShowerPhoton.h:26