CMS 3D CMS Logo

Functions
PPSPixelG4Hit.cc File Reference
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "SimG4CMS/PPS/interface/PPSPixelG4Hit.h"
#include <iostream>

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 212 of file PPSPixelG4Hit.cc.

References l1tGTMenu_BTagSeeds_cff::os.

212  {
213  os << " Data of this PPSPixelG4Hit are:\n"
214  << " Time slice ID: " << hit.timeSliceID() << "\n"
215  << " EnergyDeposit = " << hit.energyLoss() << "\n"
216  << " Energy of primary particle (ID = " << hit.trackID() << ") = " << hit.incidentEnergy() << " (MeV)"
217  << "\n"
218  << " Local entry and exit points in PPS unit number " << hit.unitID() << " are: " << hit.entryPoint() << " (mm)"
219  << hit.exitPoint() << " (mm)"
220  << "\n"
221  << " Global posizion in PPS unit number " << hit.unitID() << " are: " << hit.meanPosition() << " (mm)"
222  << "\n"
223  << "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n";
224  return os;
225 }