src
SimDataFormats
Forward
src
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
18
#include "
SimDataFormats/Forward/interface/TotemTestHistoClass.h
"
19
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
20
21
//
22
// constructors and destructor
23
//
24
25
TotemTestHistoClass::TotemTestHistoClass
() : evt(0),
hits
(0) {}
26
27
TotemTestHistoClass::~TotemTestHistoClass
() {}
28
29
void
TotemTestHistoClass::fillHit
(
int
uID,
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
) {
41
TotemTestHistoClass::Hit
h
;
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
}
MessageLogger.h
hfClusterShapes_cfi.hits
hits
Definition:
hfClusterShapes_cfi.py:5
simKBmtfDigis_cfi.eLoss
eLoss
Definition:
simKBmtfDigis_cfi.py:10
detailsBasic3DVector::z
float float float z
Definition:
extBasic3DVector.h:15
TopDecayID::tID
static const int tID
Definition:
TopGenEvent.h:12
TotemTestHistoClass::~TotemTestHistoClass
virtual ~TotemTestHistoClass()
Definition:
TotemTestHistoClass.cc:27
TotemTestHistoClass::TotemTestHistoClass
TotemTestHistoClass()
Definition:
TotemTestHistoClass.cc:25
TotemTestHistoClass::hits
int hits
Definition:
TotemTestHistoClass.h:69
detailsBasic3DVector::y
float float y
Definition:
extBasic3DVector.h:15
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
hit
Definition:
SiStripHitEffFromCalibTree.cc:87
DDAxes::y
x
float x
Definition:
beamSpotDipStandalone.cc:55
DDAxes::z
TotemTestHistoClass::Hit
Definition:
TotemTestHistoClass.h:32
h
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition:
Activities.doc:4
TotemTestHistoClass.h
DDAxes::x
LogDebug
#define LogDebug(id)
Definition:
MessageLogger.h:241
Generated for CMSSW Reference Manual by
1.8.14