#include "myHit.hh" #include "G4UnitsTable.hh" #include "G4VisManager.hh" //#include G4ThreadLocal G4Allocator* myHitAllocator = nullptr; G4bool myHit::operator==(const myHit& right) const { return ( this == &right ) ? true : false; } myHit::myHit() {} myHit::~myHit() {} void myHit::Draw(){} void myHit::Print() { G4cout << "Edep: " << std::setw(7) << G4BestUnit(edep,"Energy") << " Position: " << std::setw(7) << G4BestUnit( pos,"Length") << G4endl; }