CMS 3D CMS Logo

Functions
CaloGVHit.cc File Reference
#include "SimG4CMS/Calo/interface/CaloGVHit.h"
#include <iostream>
#include "G4SystemOfUnits.hh"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const CaloGVHit &hit)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const CaloGVHit hit 
)

Definition at line 36 of file CaloGVHit.cc.

36  {
37  os << " Data of this CaloGVHit are:"
38  << " EventID: " << hit.getEventID() << " HitID: " << hit.getID() << " EnergyDeposit (EM): " << hit.getEM()
39  << " (Had): " << hit.getHadr() << "\n";
40  return os;
41 }