#include <SimHitPrinter.h>
Public Member Functions | |
void | printEloss (float) const |
void | printGlobal (GlobalPoint) const |
void | printId (int) const |
void | printLocal (LocalPoint, LocalPoint) const |
void | printPabs (float) const |
void | printTrack (int) const |
SimHitPrinter (std::string) | |
void | startNewEvent (int) |
void | startNewSimHit (std::string) |
~SimHitPrinter () | |
Static Private Attributes | |
static std::ofstream * | theFile |
class to print sim hits for validation and debugging
Modification:
Definition at line 22 of file SimHitPrinter.h.
SimHitPrinter::SimHitPrinter | ( | std::string | filename | ) |
SimHitPrinter::~SimHitPrinter | ( | ) |
Definition at line 14 of file SimHitPrinter.cc.
void SimHitPrinter::printEloss | ( | float | eloss | ) | const |
void SimHitPrinter::printGlobal | ( | GlobalPoint | global | ) | const |
Definition at line 74 of file SimHitPrinter.cc.
References gather_cfg::cout, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by MuonSensitiveDetector::saveHit().
void SimHitPrinter::printId | ( | int | id | ) | const |
Definition at line 35 of file SimHitPrinter.cc.
References gather_cfg::cout.
Referenced by MuonSensitiveDetector::saveHit().
void SimHitPrinter::printLocal | ( | LocalPoint | localen, |
LocalPoint | localex | ||
) | const |
Definition at line 61 of file SimHitPrinter.cc.
References gather_cfg::cout, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by MuonSensitiveDetector::saveHit().
void SimHitPrinter::printPabs | ( | float | pabs | ) | const |
void SimHitPrinter::printTrack | ( | int | id | ) | const |
void SimHitPrinter::startNewEvent | ( | int | num | ) |
Definition at line 31 of file SimHitPrinter.cc.
void SimHitPrinter::startNewSimHit | ( | std::string | s | ) |
Definition at line 18 of file SimHitPrinter.cc.
References gather_cfg::cout, and alignCSCRings::s.
Referenced by MuonSensitiveDetector::saveHit().
|
staticprivate |
Definition at line 37 of file SimHitPrinter.h.
Referenced by SimHitPrinter().