#include <TkSimHitPrinter.h>
Public Member Functions | |
int | getPropagationSign (Local3DPoint, Local3DPoint) |
void | printGlobal (Local3DPoint, Local3DPoint) const |
void | printGlobalMomentum (float, float, float) const |
void | printHitData (float, float) const |
void | printLocal (Local3DPoint, Local3DPoint) const |
void | printMomentumOfTrack (float, std::string, int sign) const |
void | startNewSimHit (std::string, std::string, int, int, int) |
TkSimHitPrinter (std::string) | |
~TkSimHitPrinter () | |
Private Attributes | |
int | eventno |
Static Private Attributes | |
static std::ofstream * | theFile |
Definition at line 12 of file TkSimHitPrinter.h.
TkSimHitPrinter::TkSimHitPrinter | ( | std::string | filename | ) |
TkSimHitPrinter::~TkSimHitPrinter | ( | ) |
Definition at line 16 of file TkSimHitPrinter.cc.
int TkSimHitPrinter::getPropagationSign | ( | Local3DPoint | p, |
Local3DPoint | e | ||
) |
Definition at line 43 of file TkSimHitPrinter.cc.
References runTauDisplay::dr, AlCaHLTBitMon_ParallelJobs::p, x, PV3DBase< T, PVType, FrameType >::x(), y, PV3DBase< T, PVType, FrameType >::y(), z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by TkAccumulatingSensitiveDetector::sendHit().
void TkSimHitPrinter::printGlobal | ( | Local3DPoint | p, |
Local3DPoint | e | ||
) | const |
Definition at line 29 of file TkSimHitPrinter.cc.
References PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by TkAccumulatingSensitiveDetector::sendHit().
void TkSimHitPrinter::printGlobalMomentum | ( | float | px, |
float | py, | ||
float | pz | ||
) | const |
Definition at line 40 of file TkSimHitPrinter.cc.
Referenced by TkAccumulatingSensitiveDetector::sendHit().
void TkSimHitPrinter::printHitData | ( | float | energy, |
float | tof | ||
) | const |
Definition at line 34 of file TkSimHitPrinter.cc.
Referenced by TkAccumulatingSensitiveDetector::sendHit().
void TkSimHitPrinter::printLocal | ( | Local3DPoint | p, |
Local3DPoint | e | ||
) | const |
Definition at line 24 of file TkSimHitPrinter.cc.
References PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by TkAccumulatingSensitiveDetector::sendHit().
void TkSimHitPrinter::printMomentumOfTrack | ( | float | m, |
std::string | s, | ||
int | sign | ||
) | const |
Definition at line 37 of file TkSimHitPrinter.cc.
References alignCSCRings::s.
Referenced by TkAccumulatingSensitiveDetector::sendHit().
void TkSimHitPrinter::startNewSimHit | ( | std::string | s, |
std::string | d, | ||
int | i, | ||
int | j, | ||
int | eve | ||
) |
Definition at line 20 of file TkSimHitPrinter.cc.
References j.
Referenced by TkAccumulatingSensitiveDetector::sendHit().
|
private |
Definition at line 25 of file TkSimHitPrinter.h.
|
staticprivate |
Definition at line 26 of file TkSimHitPrinter.h.
Referenced by TkSimHitPrinter().