#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, corrVsCorr::filename, MillePedeFileConverter_cfg::out, callgraph::previous, and theFile.
SimHitPrinter::~SimHitPrinter | ( | ) |
Definition at line 27 of file SimHitPrinter.cc.
void SimHitPrinter::printEloss | ( | float | eloss | ) | const |
void SimHitPrinter::printGlobal | ( | GlobalPoint | global | ) | const |
Definition at line 93 of file SimHitPrinter.cc.
References gather_cfg::cout, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
void SimHitPrinter::printId | ( | int | id | ) | const |
Definition at line 51 of file SimHitPrinter.cc.
References gather_cfg::cout, and l1ctLayer2EG_cff::id.
Referenced by MuonSensitiveDetector::saveHit().
void SimHitPrinter::printLocal | ( | LocalPoint | localen, |
LocalPoint | localex | ||
) | const |
Definition at line 81 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 60 of file SimHitPrinter.cc.
References gather_cfg::cout, and l1ctLayer2EG_cff::id.
Referenced by ntuplePrintersDiff.TrackPrinter::diff(), and ntuplePrintersDiff.TrackPrinter::printTrackAndMatchedTrackingParticles().
void SimHitPrinter::startNewEvent | ( | int | num | ) |
void SimHitPrinter::startNewSimHit | ( | std::string | s | ) |
Definition at line 31 of file SimHitPrinter.cc.
References gather_cfg::cout, and alignCSCRings::s.
Referenced by MuonSensitiveDetector::saveHit().
|
staticprivate |
Definition at line 39 of file SimHitPrinter.h.
Referenced by SimHitPrinter().