CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
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().

44  {
45  os << " Data of this FiberG4Hit are:\n"
46  << " TowerId ID: " << hit.towerId() << "\n"
47  << " Depth : " << hit.depth() << "\n"
48  << " Track ID : " << hit.trackId() << "\n"
49  << " Nb. of Cerenkov Photons : " << hit.npe() << "\n"
50  << " Time :" << hit.time() << " at " << hit.hitPos() << "\n"
51  << "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n";
52  return os;
53 }
G4int depth() const
Definition: FiberG4Hit.h:50
G4int towerId() const
Definition: FiberG4Hit.h:49
G4double time() const
Definition: FiberG4Hit.h:54
math::XYZPoint hitPos() const
Definition: FiberG4Hit.h:53
G4int npe() const
Definition: FiberG4Hit.h:52
G4int trackId() const
Definition: FiberG4Hit.h:51

Variable Documentation

G4Allocator<FiberG4Hit> FiberG4HitAllocator

Definition at line 5 of file FiberG4Hit.cc.

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