CMS 3D CMS Logo

Functions | Variables
HFShowerG4Hit.cc File Reference
#include "SimG4CMS/ShowerLibraryProducer/interface/HFShowerG4Hit.h"
#include <iostream>

Go to the source code of this file.

Functions

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

Variables

G4ThreadLocal G4Allocator< HFShowerG4Hit > * fHFShowerG4HitAllocator = nullptr
 

Function Documentation

◆ operator<<()

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

Definition at line 37 of file HFShowerG4Hit.cc.

References l1tGTMenu_BTagSeeds_cff::os.

37  {
38  os << " Data of this HFShowerG4Hit: ID " << hit.hitId() << " Track ID " << hit.trackId() << " Edep " << hit.edep()
39  << " Time " << hit.time() << " Position (Local) " << hit.localPosition() << ", "
40  << " (Global) " << hit.globalPosition() << " Momentum " << hit.primaryMomDir() << "\n";
41  return os;
42 }

Variable Documentation

◆ fHFShowerG4HitAllocator

G4ThreadLocal G4Allocator<HFShowerG4Hit>* fHFShowerG4HitAllocator = nullptr

Definition at line 5 of file HFShowerG4Hit.cc.

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