#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 | ) |
Definition at line 10 of file TkSimHitPrinter.cc.
References GenerateHcalLaserBadRunList::out, and theFile.
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 AlCaHLTBitMon_ParallelJobs::p, x, PV3DBase< T, PVType, FrameType >::x(), y, PV3DBase< T, PVType, FrameType >::y(), z, and PV3DBase< T, PVType, FrameType >::z().
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().
void TkSimHitPrinter::printGlobalMomentum | ( | float | px, |
float | py, | ||
float | pz | ||
) | const |
Definition at line 40 of file TkSimHitPrinter.cc.
void TkSimHitPrinter::printHitData | ( | float | energy, |
float | tof | ||
) | const |
Definition at line 34 of file TkSimHitPrinter.cc.
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().
void TkSimHitPrinter::printMomentumOfTrack | ( | float | m, |
std::string | s, | ||
int | sign | ||
) | const |
Definition at line 37 of file TkSimHitPrinter.cc.
References alignCSCRings::s.
void TkSimHitPrinter::startNewSimHit | ( | std::string | s, |
std::string | d, | ||
int | i, | ||
int | j, | ||
int | eve | ||
) |
|
private |
Definition at line 25 of file TkSimHitPrinter.h.
|
staticprivate |
Definition at line 26 of file TkSimHitPrinter.h.
Referenced by TkSimHitPrinter().