Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4DNABoundingBox.cc File Reference
#include "G4DNABoundingBox.hh"
#include <array>
#include "G4UnitsTable.hh"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &stream, const G4DNABoundingBox &rhs)
 

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream &  stream,
const G4DNABoundingBox rhs 
)

Definition at line 281 of file G4DNABoundingBox.cc.

282{
283 stream << "{" << G4BestUnit(rhs.fxhi, "Length") << ", "
284 << G4BestUnit(rhs.fxlo, "Length") << ", "
285 << G4BestUnit(rhs.fyhi, "Length") << ", "
286 << G4BestUnit(rhs.fylo, "Length") << ", "
287 << G4BestUnit(rhs.fzhi, "Length") << ", "
288 << G4BestUnit(rhs.fzlo, "Length") << ", "
289 << "}";
290 return stream;
291}
#define G4BestUnit(a, b)