#include "G4VHit.hh"
#include "DataFormats/Math/interface/Point3D.h"
#include <boost/cstdint.hpp>
#include <iostream>
Go to the source code of this file.
Classes | |
class | TotemG4Hit |
Description: Transient Hit class for Totem taken from those for Calorimeters. More... | |
Defines | |
#define | Forward_TotemG4Hit_h 1 |
Functions | |
std::ostream & | operator<< (std::ostream &, const TotemG4Hit &) |
#define Forward_TotemG4Hit_h 1 |
Definition at line 2 of file TotemG4Hit.h.
std::ostream& operator<< | ( | std::ostream & | , | |
const TotemG4Hit & | ||||
) |
Definition at line 186 of file TotemG4Hit.cc.
References TotemG4Hit::getEnergyLoss(), TotemG4Hit::getEntry(), TotemG4Hit::getIncidentEnergy(), TotemG4Hit::getTimeSliceID(), TotemG4Hit::getTrackID(), and TotemG4Hit::getUnitID().
00186 { 00187 os << " Data of this TotemG4Hit are:\n" 00188 << " Time slice ID: " << hit.getTimeSliceID() << "\n" 00189 << " EnergyDeposit = " << hit.getEnergyLoss() << "\n" 00190 << " Energy of primary particle (ID = " << hit.getTrackID() 00191 << ") = " << hit.getIncidentEnergy() << " (MeV)" << "\n" 00192 << " Entry point in Totem unit number " << hit.getUnitID() 00193 << " is: " << hit.getEntry() << " (mm)" << "\n" 00194 << "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"; 00195 return os; 00196 }