#include <SimG4CMS/Forward/interface/TotemTestHistoClass.h>
Classes | |
struct | Hit |
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 |
Description: Content of the Root file for Totem Tests
Usage: Used in testing Totem simulation
Definition at line 27 of file TotemTestHistoClass.h.
TotemTestHistoClass::TotemTestHistoClass | ( | ) | [explicit] |
Definition at line 26 of file TotemTestHistoClass.cc.
TotemTestHistoClass::~TotemTestHistoClass | ( | ) | [virtual] |
Definition at line 28 of file TotemTestHistoClass.cc.
{}
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, hits, LogDebug, TotemTestHistoClass::Hit::PABS, TotemTestHistoClass::Hit::PID, TotemTestHistoClass::Hit::Ptype, TopDecayID::tID, TotemTestHistoClass::Hit::TID, TotemTestHistoClass::Hit::UID, TotemTestHistoClass::Hit::vx, TotemTestHistoClass::Hit::vy, TotemTestHistoClass::Hit::vz, TotemTestHistoClass::Hit::x, x, detailsBasic3DVector::y, TotemTestHistoClass::Hit::y, z, and TotemTestHistoClass::Hit::z.
Referenced by TotemTestGem::fillEvent().
{ TotemTestHistoClass::Hit h; h.UID = uID; h.Ptype = pType; h.TID = tID; h.PID = pID; h.ELoss = eLoss; h.PABS = pAbs; h.x = x; h.y = y; h.z = z; h.vx = vX; h.vy = vY; h.vz = vZ; hit.push_back(h); hits++; LogDebug("ForwardSim") << "TotemTestHistoClass : Hit " << hits << " " << uID << ", " << pType << ", " << tID << ", " << pID << ", " << eLoss << ", " << pAbs << ", " << vX << ", " << vY << ", " << vZ << ", " << x << ", " << y << ", " << z; }
int TotemTestHistoClass::getEVT | ( | ) | const [inline] |
std::vector<Hit> TotemTestHistoClass::getHits | ( | ) | const [inline] |
int TotemTestHistoClass::getNHit | ( | ) | const [inline] |
void TotemTestHistoClass::setEVT | ( | int | v | ) | [inline] |
Definition at line 56 of file TotemTestHistoClass.h.
Referenced by TotemTestGem::fillEvent().
int TotemTestHistoClass::evt [private] |
Definition at line 63 of file TotemTestHistoClass.h.
std::vector<Hit> TotemTestHistoClass::hit [private] |
Definition at line 64 of file TotemTestHistoClass.h.
Referenced by getHits().
int TotemTestHistoClass::hits [private] |
Definition at line 63 of file TotemTestHistoClass.h.