#include <SimG4CMS/Forward/interface/TotemTestHistoClass.h>
Public Member Functions | |
void | fillHit (int uID, int pType, int tID, int pID, float eLoss, float pAbs, float vX, float vY, float vZ, float x, float y, float z) |
int | getEVT () const |
std::vector< Hit > | getHits () const |
int | getNHit () const |
void | setEVT (int v) |
TotemTestHistoClass () | |
virtual | ~TotemTestHistoClass () |
Private Attributes | |
int | evt |
std::vector< Hit > | hit |
int | hits |
Classes | |
struct | Hit |
Usage: Used in testing Totem simulation
Definition at line 27 of file TotemTestHistoClass.h.
TotemTestHistoClass::TotemTestHistoClass | ( | ) | [explicit] |
TotemTestHistoClass::~TotemTestHistoClass | ( | ) | [virtual] |
void TotemTestHistoClass::fillHit | ( | int | uID, | |
int | pType, | |||
int | tID, | |||
int | pID, | |||
float | eLoss, | |||
float | pAbs, | |||
float | vX, | |||
float | vY, | |||
float | vZ, | |||
float | x, | |||
float | y, | |||
float | z | |||
) |
Definition at line 30 of file TotemTestHistoClass.cc.
References TotemTestHistoClass::Hit::ELoss, h, hit, hits, LogDebug, TotemTestHistoClass::Hit::PABS, TotemTestHistoClass::Hit::PID, TotemTestHistoClass::Hit::Ptype, TotemTestHistoClass::Hit::TID, TotemTestHistoClass::Hit::UID, TotemTestHistoClass::Hit::vx, TotemTestHistoClass::Hit::vy, TotemTestHistoClass::Hit::vz, TotemTestHistoClass::Hit::x, TotemTestHistoClass::Hit::y, and TotemTestHistoClass::Hit::z.
Referenced by TotemTestGem::fillEvent().
00032 { 00033 00034 TotemTestHistoClass::Hit h; 00035 h.UID = uID; 00036 h.Ptype = pType; 00037 h.TID = tID; 00038 h.PID = pID; 00039 h.ELoss = eLoss; 00040 h.PABS = pAbs; 00041 h.x = x; 00042 h.y = y; 00043 h.z = z; 00044 h.vx = vX; 00045 h.vy = vY; 00046 h.vz = vZ; 00047 hit.push_back(h); 00048 hits++; 00049 LogDebug("ForwardSim") << "TotemTestHistoClass : Hit " << hits << " " << uID 00050 << ", " << pType << ", " << tID << ", " << pID << ", " 00051 << eLoss << ", " << pAbs << ", " << vX << ", " << vY 00052 << ", " << vZ << ", " << x << ", " << y << ", " << z; 00053 }
int TotemTestHistoClass::getEVT | ( | ) | const [inline] |
std::vector<Hit> TotemTestHistoClass::getHits | ( | ) | const [inline] |
int TotemTestHistoClass::getNHit | ( | ) | const [inline] |
Definition at line 56 of file TotemTestHistoClass.h.
References evt.
Referenced by TotemTestGem::fillEvent().
int TotemTestHistoClass::evt [private] |
std::vector<Hit> TotemTestHistoClass::hit [private] |
int TotemTestHistoClass::hits [private] |