Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #include <iostream>
00016 #include <cmath>
00017
00018
00019 #include "SimDataFormats/Forward/interface/TotemTestHistoClass.h"
00020 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00021
00022
00023
00024
00025
00026 TotemTestHistoClass::TotemTestHistoClass() : evt(0), hits(0) {}
00027
00028 TotemTestHistoClass::~TotemTestHistoClass() {}
00029
00030 void TotemTestHistoClass::fillHit(int uID, int pType, int tID, int pID,
00031 float eLoss, float pAbs, float vX, float vY,
00032 float vZ, float x, float y, float z) {
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 }