CMS 3D CMS Logo

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

G4ThreadLocal G4Allocator< FiberG4Hit > * fFiberG4HitAllocator = nullptr
 

Function Documentation

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

Definition at line 43 of file FiberG4Hit.cc.

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

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

Variable Documentation

G4ThreadLocal G4Allocator<FiberG4Hit>* fFiberG4HitAllocator = nullptr

Definition at line 4 of file FiberG4Hit.cc.

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