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

◆ operator<<()

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

Definition at line 38 of file FiberG4Hit.cc.

References l1tGTMenu_BTagSeeds_cff::os.

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 }

Variable Documentation

◆ fFiberG4HitAllocator

G4ThreadLocal G4Allocator<FiberG4Hit>* fFiberG4HitAllocator = nullptr

Definition at line 4 of file FiberG4Hit.cc.

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