CMS 3D CMS Logo

Functions | Variables

/data/refman/pasoursint/CMSSW_4_1_8_patch13/src/SimG4CMS/ShowerLibraryProducer/src/FiberG4Hit.cc File Reference

#include "SimG4CMS/ShowerLibraryProducer/interface/FiberG4Hit.h"
#include <iostream>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const FiberG4Hit &hit)

Variables

G4Allocator< FiberG4HitFiberG4HitAllocator

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const FiberG4Hit hit 
)

Definition at line 44 of file FiberG4Hit.cc.

References FiberG4Hit::depth(), FiberG4Hit::hitPos(), FiberG4Hit::npe(), FiberG4Hit::time(), FiberG4Hit::towerId(), and FiberG4Hit::trackId().

                                                              {
  os << " Data of this FiberG4Hit are:\n"
     << " TowerId ID: " << hit.towerId() << "\n"
     << " Depth     : " << hit.depth() << "\n"
     << " Track ID  : " << hit.trackId() << "\n"
     << " Nb. of Cerenkov Photons : " << hit.npe() << "\n"
     << " Time   :" << hit.time() << " at " << hit.hitPos() << "\n"
     << "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n";
  return os;
}

Variable Documentation

Definition at line 5 of file FiberG4Hit.cc.

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