CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions | Variables
CaloG4Hit.h File Reference
#include "SimG4CMS/Calo/interface/CaloHitID.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "DataFormats/Math/interface/Point3D.h"
#include <iostream>
#include "G4Allocator.hh"
#include "G4VHit.hh"

Go to the source code of this file.

Classes

class  CaloG4Hit
 
class  CaloG4HitEqual
 
class  CaloG4HitLess
 

Functions

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

Variables

G4Allocator< CaloG4HitCaloG4HitAllocator
 

Function Documentation

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

Definition at line 61 of file CaloG4Hit.cc.

References CaloG4Hit::getEM(), CaloG4Hit::getEntry(), CaloG4Hit::getEntryLocal(), CaloG4Hit::getHadr(), CaloG4Hit::getID(), CaloG4Hit::getIncidentEnergy(), and CaloG4Hit::getPosition().

61  {
62  os << " Data of this CaloG4Hit are:" << "\n"
63  << " HitID: " << hit.getID() << "\n"
64  << " EnergyDeposit of EM particles = " << hit.getEM() << "\n"
65  << " EnergyDeposit of HD particles = " << hit.getHadr() << "\n"
66  << " Energy of primary particle = " << hit.getIncidentEnergy()/MeV
67  << " (MeV)"<< "\n"
68  << " Entry point in Calorimeter (global) : " << hit.getEntry()
69  << " (local) " << hit.getEntryLocal() << "\n"
70  << " Position of Hit (global) : " << hit.getPosition() << "\n"
71  << "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n";
72  return os;
73 }

Variable Documentation

G4Allocator<CaloG4Hit> CaloG4HitAllocator

Definition at line 8 of file CaloG4Hit.cc.

Referenced by CaloG4Hit::operator delete(), and CaloG4Hit::operator new().