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,
int
pType,
int
tID
,
int
pID,
30
float
eLoss,
float
pAbs,
float
vX,
float
vY,
31
float
vZ,
float
x
,
float
y
,
float
z
) {
32
33
TotemTestHistoClass::Hit
h
;
34
h.
UID
= uID;
35
h.
Ptype
= pType;
36
h.
TID
=
tID
;
37
h.
PID
= pID;
38
h.
ELoss
= eLoss;
39
h.
PABS
= pAbs;
40
h.
x
=
x
;
41
h.
y
=
y
;
42
h.
z
=
z
;
43
h.
vx
= vX;
44
h.
vy
= vY;
45
h.
vz
= vZ;
46
hit
.push_back(h);
47
hits
++;
48
LogDebug
(
"ForwardSim"
) <<
"TotemTestHistoClass : Hit "
<<
hits
<<
" "
<< uID
49
<<
", "
<< pType <<
", "
<< tID <<
", "
<< pID <<
", "
50
<< eLoss <<
", "
<< pAbs <<
", "
<< vX <<
", "
<< vY
51
<<
", "
<< vZ <<
", "
<< x <<
", "
<< y <<
", "
<<
z
;
52
}
LogDebug
#define LogDebug(id)
Definition:
MessageLogger.h:503
TotemTestHistoClass::Hit::ELoss
float ELoss
Definition:
TotemTestHistoClass.h:40
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:37
TotemTestHistoClass::Hit::z
float z
Definition:
TotemTestHistoClass.h:44
TotemTestHistoClass::Hit::y
float y
Definition:
TotemTestHistoClass.h:43
TopDecayID::tID
static const int tID
Definition:
TopGenEvent.h:13
TotemTestHistoClass::Hit::PID
int PID
Definition:
TotemTestHistoClass.h:39
TotemTestHistoClass::Hit::PABS
float PABS
Definition:
TotemTestHistoClass.h:41
TotemTestHistoClass::~TotemTestHistoClass
virtual ~TotemTestHistoClass()
Definition:
TotemTestHistoClass.cc:27
TotemTestHistoClass::Hit::TID
int TID
Definition:
TotemTestHistoClass.h:38
TotemTestHistoClass::Hit::x
float x
Definition:
TotemTestHistoClass.h:42
TotemTestHistoClass::TotemTestHistoClass
TotemTestHistoClass()
Definition:
TotemTestHistoClass.cc:25
TotemTestHistoClass::hits
int hits
Definition:
TotemTestHistoClass.h:62
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:45
TotemTestHistoClass.h
hit
Definition:
SiStripHitEffFromCalibTree.cc:85
TotemTestHistoClass::Hit::vz
float vz
Definition:
TotemTestHistoClass.h:47
DDAxes::y
DDAxes::z
TotemTestHistoClass::Hit
Definition:
TotemTestHistoClass.h:34
DDAxes::x
TotemTestHistoClass::Hit::vy
float vy
Definition:
TotemTestHistoClass.h:46
TotemTestHistoClass::Hit::UID
int UID
Definition:
TotemTestHistoClass.h:36
Generated for CMSSW Reference Manual by
1.8.11