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 }
DDAxes::y
MessageLogger.h
hfClusterShapes_cfi.hits
hits
Definition: hfClusterShapes_cfi.py:5
detailsBasic3DVector::z
float float float z
Definition: extBasic3DVector.h:14
h
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
Definition: L1TUtmAlgorithmRcd.h:4
DDAxes::x
TotemTestHistoClass::fillHit
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)
Definition: TotemTestHistoClass.cc:29
simKBmtfDigis_cfi.eLoss
eLoss
Definition: simKBmtfDigis_cfi.py:25
TotemTestHistoClass::TotemTestHistoClass
TotemTestHistoClass()
Definition: TotemTestHistoClass.cc:25
vertices_cff.x
x
Definition: vertices_cff.py:29
TopDecayID::tID
static const int tID
Definition: TopGenEvent.h:12
DDAxes::z
h
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:670
TotemTestHistoClass::hits
int hits
Definition: TotemTestHistoClass.h:69
TotemTestHistoClass::Hit
Definition: TotemTestHistoClass.h:32
detailsBasic3DVector::y
float float y
Definition: extBasic3DVector.h:14
TotemTestHistoClass.h
TotemTestHistoClass::~TotemTestHistoClass
virtual ~TotemTestHistoClass()
Definition: TotemTestHistoClass.cc:27
hit
Definition: SiStripHitEffFromCalibTree.cc:88