CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TotemTestHistoClass.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: Forward
4 // Class : TotemTestHistoClass
5 //
6 // Implementation:
7 // <Notes on implementation>
8 //
9 // Original Author:
10 // Created: Tue May 16 10:14:34 CEST 2006
11 //
12 
13 // system include files
14 #include <iostream>
15 #include <cmath>
16 
17 // user include files
20 
21 //
22 // constructors and destructor
23 //
24 
26 
28 
29 void TotemTestHistoClass::fillHit(int uID, int pType, int tID, int pID,
30  float eLoss, float pAbs, float vX, float vY,
31  float vZ, float x, float y, float z) {
32 
34  h.UID = uID;
35  h.Ptype = pType;
36  h.TID = tID;
37  h.PID = pID;
38  h.ELoss = eLoss;
39  h.PABS = pAbs;
40  h.x = x;
41  h.y = y;
42  h.z = z;
43  h.vx = vX;
44  h.vy = vY;
45  h.vz = vZ;
46  hit.push_back(h);
47  hits++;
48  LogDebug("ForwardSim") << "TotemTestHistoClass : Hit " << hits << " " << uID
49  << ", " << pType << ", " << tID << ", " << pID << ", "
50  << eLoss << ", " << pAbs << ", " << vX << ", " << vY
51  << ", " << vZ << ", " << x << ", " << y << ", " << z;
52 }
#define LogDebug(id)
float float float z
static const int tID
Definition: TopGenEvent.h:13
T x() const
Cartesian x coordinate.
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
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)