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 // $Id: TotemTestHistoClass.cc,v 1.1 2006/05/17 16:18:58 sunanda Exp $
12 //
13 
14 // system include files
15 #include <iostream>
16 #include <cmath>
17 
18 // user include files
21 
22 //
23 // constructors and destructor
24 //
25 
27 
29 
30 void TotemTestHistoClass::fillHit(int uID, int pType, int tID, int pID,
31  float eLoss, float pAbs, float vX, float vY,
32  float vZ, float x, float y, float z) {
33 
35  h.UID = uID;
36  h.Ptype = pType;
37  h.TID = tID;
38  h.PID = pID;
39  h.ELoss = eLoss;
40  h.PABS = pAbs;
41  h.x = x;
42  h.y = y;
43  h.z = z;
44  h.vx = vX;
45  h.vy = vY;
46  h.vz = vZ;
47  hit.push_back(h);
48  hits++;
49  LogDebug("ForwardSim") << "TotemTestHistoClass : Hit " << hits << " " << uID
50  << ", " << pType << ", " << tID << ", " << pID << ", "
51  << eLoss << ", " << pAbs << ", " << vX << ", " << vY
52  << ", " << vZ << ", " << x << ", " << y << ", " << z;
53 }
#define LogDebug(id)
static const int tID
Definition: TopGenEvent.h:13
Definition: DDAxes.h:10
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)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4