#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 15 of file SimHitPrinter.cc.
References f, corrVsCorr::filename, MillePedeFileConverter_cfg::out, callgraph::previous, and theFile.
SimHitPrinter::~SimHitPrinter | ( | ) |
Definition at line 28 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 ecalTB2006H4_GenSimDigiReco_cfg::G4cout, 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 52 of file SimHitPrinter.cc.
References ecalTB2006H4_GenSimDigiReco_cfg::G4cout, and EcalPhiSymFlatTableProducers_cfi::id.
Referenced by MuonSensitiveDetector::saveHit().
void SimHitPrinter::printLocal | ( | LocalPoint | localen, |
LocalPoint | localex | ||
) | const |
Definition at line 82 of file SimHitPrinter.cc.
References ecalTB2006H4_GenSimDigiReco_cfg::G4cout, 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 61 of file SimHitPrinter.cc.
References ecalTB2006H4_GenSimDigiReco_cfg::G4cout, and EcalPhiSymFlatTableProducers_cfi::id.
Referenced by ntuplePrintersDiff.TrackPrinter::diff(), and ntuplePrintersDiff.TrackPrinter::printTrackAndMatchedTrackingParticles().
void SimHitPrinter::startNewEvent | ( | int | num | ) |
void SimHitPrinter::startNewSimHit | ( | std::string | s | ) |
Definition at line 32 of file SimHitPrinter.cc.
References ecalTB2006H4_GenSimDigiReco_cfg::G4cout, and alignCSCRings::s.
Referenced by MuonSensitiveDetector::saveHit().
|
staticprivate |
Definition at line 39 of file SimHitPrinter.h.
Referenced by SimHitPrinter().