Main Page
Namespaces
Classes
Package Documentation
SimDataFormats
Forward
interface
TotemTestHistoClass.h
Go to the documentation of this file.
1
#ifndef SimDataFormats_Forward_TotemTestHistoClass_h
2
#define SimDataFormats_Forward_TotemTestHistoClass_h 1
3
// -*- C++ -*-
4
//
5
// Package: Forward
6
// Class : TotemTestHistoClass
7
//
16
//
17
// Original Author:
18
// Created: Tue May 16 10:14:34 CEST 2006
19
//
20
21
// system include files
22
#include <vector>
23
24
// user include files
25
26
class
TotemTestHistoClass
{
27
public
:
28
// ---------- Constructor and destructor -----------------
29
explicit
TotemTestHistoClass
();
30
virtual
~TotemTestHistoClass
();
31
32
struct
Hit
{
33
Hit
() {}
34
int
UID
;
35
int
Ptype
;
36
int
TID
;
37
int
PID
;
38
float
ELoss
;
39
float
PABS
;
40
float
x
;
41
float
y
;
42
float
z
;
43
float
vx
;
44
float
vy
;
45
float
vz
;
46
};
47
48
// ---------- Member functions ---------------------------
49
int
getEVT
()
const
{
return
evt
; }
50
int
getNHit
()
const
{
return
hits
; }
51
std::vector<Hit>
getHits
()
const
{
return
hit
; }
52
53
void
setEVT
(
int
v
) {
evt
=
v
; }
54
void
fillHit
(
int
uID,
55
int
pType,
56
int
tID
,
57
int
pID,
58
float
eLoss,
59
float
pAbs,
60
float
vX,
61
float
vY,
62
float
vZ,
63
float
x
,
64
float
y
,
65
float
z
);
66
67
private
:
68
// ---------- Private Data members -----------------------
69
int
evt
,
hits
;
70
std::vector<Hit>
hit
;
71
};
72
73
#endif
TotemTestHistoClass::Hit::ELoss
float ELoss
Definition:
TotemTestHistoClass.h:38
TotemTestHistoClass::setEVT
void setEVT(int v)
Definition:
TotemTestHistoClass.h:53
TotemTestHistoClass
Definition:
TotemTestHistoClass.h:26
TotemTestHistoClass::getEVT
int getEVT() const
Definition:
TotemTestHistoClass.h:49
findQualityFiles.v
v
Definition:
findQualityFiles.py:179
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
std::vector< Hit > hit
Definition:
TotemTestHistoClass.h:70
TotemTestHistoClass::Hit::PABS
float PABS
Definition:
TotemTestHistoClass.h:39
TotemTestHistoClass::~TotemTestHistoClass
virtual ~TotemTestHistoClass()
Definition:
TotemTestHistoClass.cc:27
TotemTestHistoClass::getNHit
int getNHit() const
Definition:
TotemTestHistoClass.h:50
TotemTestHistoClass::Hit::Hit
Hit()
Definition:
TotemTestHistoClass.h:33
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
TotemTestHistoClass::Hit::vz
float vz
Definition:
TotemTestHistoClass.h:45
TotemTestHistoClass::evt
int evt
Definition:
TotemTestHistoClass.h:69
TotemTestHistoClass::Hit
Definition:
TotemTestHistoClass.h:32
TotemTestHistoClass::Hit::vy
float vy
Definition:
TotemTestHistoClass.h:44
TotemTestHistoClass::Hit::UID
int UID
Definition:
TotemTestHistoClass.h:34
TotemTestHistoClass::getHits
std::vector< Hit > getHits() const
Definition:
TotemTestHistoClass.h:51
Generated for CMSSW Reference Manual by
1.8.11