CMS 3D CMS Logo

TotemG4Hit.h File Reference

#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 Documentation

#define Forward_TotemG4Hit_h   1

Definition at line 2 of file TotemG4Hit.h.


Function Documentation

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 }


Generated on Tue Jun 9 17:55:46 2009 for CMSSW by  doxygen 1.5.4