CMS 3D CMS Logo

Classes | Functions
PPSPixelG4Hit.h File Reference
#include "G4VHit.hh"
#include "G4ThreeVector.hh"
#include <iostream>

Go to the source code of this file.

Classes

class  PPSPixelG4Hit
 

Functions

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

Function Documentation

◆ operator<<()

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

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 }