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
28
public
:
29
30
// ---------- Constructor and destructor -----------------
31
explicit
TotemTestHistoClass
();
32
virtual
~TotemTestHistoClass
();
33
34
struct
Hit
{
35
Hit
() {}
36
int
UID
;
37
int
Ptype
;
38
int
TID
;
39
int
PID
;
40
float
ELoss
;
41
float
PABS
;
42
float
x
;
43
float
y
;
44
float
z
;
45
float
vx
;
46
float
vy
;
47
float
vz
;
48
};
49
50
// ---------- Member functions ---------------------------
51
int
getEVT
()
const
{
return
evt
;}
52
int
getNHit
()
const
{
return
hits
;}
53
std::vector<Hit>
getHits
()
const
{
return
hit
;}
54
55
void
setEVT
(
int
v
) {
evt
=
v
;}
56
void
fillHit
(
int
uID,
int
pType,
int
tID
,
int
pID,
float
eLoss,
float
pAbs,
57
float
vX,
float
vY,
float
vZ,
float
x
,
float
y
,
float
z
);
58
59
private
:
60
61
// ---------- Private Data members -----------------------
62
int
evt
,
hits
;
63
std::vector<Hit>
hit
;
64
65
};
66
67
#endif
TotemTestHistoClass::Hit::ELoss
float ELoss
Definition:
TotemTestHistoClass.h:40
TotemTestHistoClass::setEVT
void setEVT(int v)
Definition:
TotemTestHistoClass.h:55
TotemTestHistoClass
Definition:
TotemTestHistoClass.h:26
TotemTestHistoClass::getEVT
int getEVT() const
Definition:
TotemTestHistoClass.h:51
findQualityFiles.v
v
Definition:
findQualityFiles.py:178
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
std::vector< Hit > hit
Definition:
TotemTestHistoClass.h:63
TotemTestHistoClass::Hit::PABS
float PABS
Definition:
TotemTestHistoClass.h:41
TotemTestHistoClass::~TotemTestHistoClass
virtual ~TotemTestHistoClass()
Definition:
TotemTestHistoClass.cc:27
TotemTestHistoClass::getNHit
int getNHit() const
Definition:
TotemTestHistoClass.h:52
TotemTestHistoClass::Hit::Hit
Hit()
Definition:
TotemTestHistoClass.h:35
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::Hit::vz
float vz
Definition:
TotemTestHistoClass.h:47
TotemTestHistoClass::evt
int evt
Definition:
TotemTestHistoClass.h:62
TotemTestHistoClass::Hit
Definition:
TotemTestHistoClass.h:34
TotemTestHistoClass::Hit::vy
float vy
Definition:
TotemTestHistoClass.h:46
TotemTestHistoClass::Hit::UID
int UID
Definition:
TotemTestHistoClass.h:36
TotemTestHistoClass::getHits
std::vector< Hit > getHits() const
Definition:
TotemTestHistoClass.h:53
Generated for CMSSW Reference Manual by
1.8.11