CMS 3D CMS Logo

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 
30  int pType,
31  int tID,
32  int pID,
33  float eLoss,
34  float pAbs,
35  float vX,
36  float vY,
37  float vZ,
38  float x,
39  float y,
40  float z) {
42  h.UID = uID;
43  h.Ptype = pType;
44  h.TID = tID;
45  h.PID = pID;
46  h.ELoss = eLoss;
47  h.PABS = pAbs;
48  h.x = x;
49  h.y = y;
50  h.z = z;
51  h.vx = vX;
52  h.vy = vY;
53  h.vz = vZ;
54  hit.push_back(h);
55  hits++;
56  LogDebug("ForwardSim") << "TotemTestHistoClass : Hit " << hits << " " << uID << ", " << pType << ", " << tID << ", "
57  << pID << ", " << eLoss << ", " << pAbs << ", " << vX << ", " << vY << ", " << vZ << ", " << x
58  << ", " << y << ", " << z;
59 }
float float float z
static const int tID
Definition: TopGenEvent.h:12
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)
float x
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
#define LogDebug(id)