CMS 3D CMS Logo

Namespaces | Functions
PFRecHit.cc File Reference
#include "DataFormats/ParticleFlowReco/interface/PFRecHit.h"
#include <limits>

Go to the source code of this file.

Namespaces

 reco
 fixed size matrix
 

Functions

std::ostream & operator<< (std::ostream &out, const reco::PFRecHit &hit)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  out,
const reco::PFRecHit hit 
)

Definition at line 72 of file PFRecHit.cc.

72  {
73  if (!out)
74  return out;
75 
76  out << "hit id:" << hit.detId() << " l:" << hit.layer() << " E:" << hit.energy() << " t:" << hit.time();
77  if (hit.hasCaloCell()) {
78  auto const& pos = hit.positionREP();
79  out << " rep:" << pos.rho() << "," << pos.eta() << "," << pos.phi() << "|";
80  }
81  return out;
82 }

References MillePedeFileConverter_cfg::out.

pos
Definition: PixelAliasList.h:18
MillePedeFileConverter_cfg.out
out
Definition: MillePedeFileConverter_cfg.py:31
hit
Definition: SiStripHitEffFromCalibTree.cc:88