CMS 3D CMS Logo

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

G4ThreadLocal G4Allocator
< FiberG4Hit > * 
fFiberG4HitAllocator = nullptr
 

Function Documentation

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

Definition at line 38 of file FiberG4Hit.cc.

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

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

Variable Documentation

G4ThreadLocal G4Allocator<FiberG4Hit>* fFiberG4HitAllocator = nullptr

Definition at line 4 of file FiberG4Hit.cc.

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