#include "SimG4CMS/Calo/interface/CaloHitID.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "G4VHit.hh"
#include "DataFormats/Math/interface/Point3D.h"
#include <iostream>
Go to the source code of this file.
Classes | |
class | CaloG4Hit |
class | CaloG4HitEqual |
class | CaloG4HitLess |
Defines | |
#define | SimG4CMS_CaloG4Hit_h 1 |
Functions | |
std::ostream & | operator<< (std::ostream &, const CaloG4Hit &) |
#define SimG4CMS_CaloG4Hit_h 1 |
Definition at line 2 of file CaloG4Hit.h.
std::ostream& operator<< | ( | std::ostream & | , | |
const CaloG4Hit & | ||||
) |
Definition at line 59 of file CaloG4Hit.cc.
References CaloG4Hit::getEM(), CaloG4Hit::getEntry(), CaloG4Hit::getEntryLocal(), CaloG4Hit::getHadr(), CaloG4Hit::getID(), CaloG4Hit::getIncidentEnergy(), and CaloG4Hit::getPosition().
00059 { 00060 os << " Data of this CaloG4Hit are:" << "\n" 00061 << " HitID: " << hit.getID() << "\n" 00062 << " EnergyDeposit of EM particles = " << hit.getEM() << "\n" 00063 << " EnergyDeposit of HD particles = " << hit.getHadr() << "\n" 00064 << " Energy of primary particle = " << hit.getIncidentEnergy()/MeV 00065 << " (MeV)"<< "\n" 00066 << " Entry point in Calorimeter (global) : " << hit.getEntry() 00067 << " (local) " << hit.getEntryLocal() << "\n" 00068 << " Position of Hit (global) : " << hit.getPosition() << "\n" 00069 << "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n"; 00070 return os; 00071 }