Main Page
Namespaces
Classes
Package Documentation
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
}
LogDebug
#define LogDebug(id)
Definition:
MessageLogger.h:670
TotemTestHistoClass::Hit::ELoss
float ELoss
Definition:
TotemTestHistoClass.h:38
MessageLogger.h
h
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
Definition:
L1TUtmAlgorithmRcd.h:4
hfClusterShapes_cfi.hits
hits
Definition:
hfClusterShapes_cfi.py:5
TotemTestHistoClass::Hit::Ptype
int Ptype
Definition:
TotemTestHistoClass.h:35
TotemTestHistoClass::Hit::z
float z
Definition:
TotemTestHistoClass.h:42
TotemTestHistoClass::Hit::y
float y
Definition:
TotemTestHistoClass.h:41
TopDecayID::tID
static const int tID
Definition:
TopGenEvent.h:13
TotemTestHistoClass::Hit::PID
int PID
Definition:
TotemTestHistoClass.h:37
TotemTestHistoClass::Hit::PABS
float PABS
Definition:
TotemTestHistoClass.h:39
TotemTestHistoClass::~TotemTestHistoClass
virtual ~TotemTestHistoClass()
Definition:
TotemTestHistoClass.cc:27
TotemTestHistoClass::Hit::TID
int TID
Definition:
TotemTestHistoClass.h:36
TotemTestHistoClass::Hit::x
float x
Definition:
TotemTestHistoClass.h:40
TotemTestHistoClass::TotemTestHistoClass
TotemTestHistoClass()
Definition:
TotemTestHistoClass.cc:25
TotemTestHistoClass::hits
int hits
Definition:
TotemTestHistoClass.h:69
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
TotemTestHistoClass::Hit::vx
float vx
Definition:
TotemTestHistoClass.h:43
hit
Definition:
SiStripHitEffFromCalibTree.cc:87
TotemTestHistoClass::Hit::vz
float vz
Definition:
TotemTestHistoClass.h:45
DDAxes::y
DDAxes::z
TotemTestHistoClass::Hit
Definition:
TotemTestHistoClass.h:32
TotemTestHistoClass.h
DDAxes::x
TotemTestHistoClass::Hit::vy
float vy
Definition:
TotemTestHistoClass.h:44
TotemTestHistoClass::Hit::UID
int UID
Definition:
TotemTestHistoClass.h:34
Generated for CMSSW Reference Manual by
1.8.11