CMS 3D CMS Logo

Classes | Functions
TotemRPG4Hit.h File Reference
#include "G4VHit.hh"
#include "G4ThreeVector.hh"
#include "DataFormats/Math/interface/Point3D.h"
#include <iostream>

Go to the source code of this file.

Classes

class  TotemRPG4Hit
 

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 145 of file TotemRPG4Hit.cc.

145  {
146  os << " Data of this TotemRPG4Hit are:" << std::endl
147  << " Time slice ID: " << hit.timeSliceID() << std::endl
148  << " EnergyDeposit = " << hit.energyLoss() << std::endl
149  << " Energy of primary particle (ID = " << hit.trackID() << ") = " << hit.incidentEnergy() << " (MeV)" << std::endl
150  << " Entry point in Totem unit number " << hit.unitID() << " is: " << hit.entry() << " (mm)" << std::endl;
151  os << "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~" << std::endl;
152  return os;
153 }
hit
Definition: SiStripHitEffFromCalibTree.cc:88