#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::atomic< std::ofstream * > | theFile |
class to print sim hits for validation and debugging
Modification:
Definition at line 23 of file SimHitPrinter.h.
SimHitPrinter::SimHitPrinter | ( | std::string | filename | ) |
Definition at line 14 of file SimHitPrinter.cc.
References f, MillePedeFileConverter_cfg::out, and theFile.
SimHitPrinter::~SimHitPrinter | ( | ) |
Definition at line 26 of file SimHitPrinter.cc.
void SimHitPrinter::printEloss | ( | float | eloss | ) | const |
void SimHitPrinter::printGlobal | ( | GlobalPoint | global | ) | const |
Definition at line 94 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 50 of file SimHitPrinter.cc.
References gather_cfg::cout, and hcalTTPDigis_cfi::id.
Referenced by MuonSensitiveDetector::saveHit().
void SimHitPrinter::printLocal | ( | LocalPoint | localen, |
LocalPoint | localex | ||
) | const |
Definition at line 80 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 |
Definition at line 59 of file SimHitPrinter.cc.
References gather_cfg::cout, and hcalTTPDigis_cfi::id.
Referenced by ntuplePrintersDiff.TrackPrinter::diff(), and ntuplePrintersDiff.TrackPrinter::printTrackAndMatchedTrackingParticles().
void SimHitPrinter::startNewEvent | ( | int | num | ) |
Definition at line 45 of file SimHitPrinter.cc.
void SimHitPrinter::startNewSimHit | ( | std::string | s | ) |
Definition at line 30 of file SimHitPrinter.cc.
References gather_cfg::cout, and alignCSCRings::s.
Referenced by MuonSensitiveDetector::saveHit().
|
staticprivate |
Definition at line 38 of file SimHitPrinter.h.
Referenced by SimHitPrinter().