Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
// $Id: TotemTestHistoClass.h,v 1.1 2006/11/16 16:40:31 sunanda Exp $
20
//
21
22
// system include files
23
#include <vector>
24
25
// user include files
26
27
class
TotemTestHistoClass
{
28
29
public
:
30
31
// ---------- Constructor and destructor -----------------
32
explicit
TotemTestHistoClass
();
33
virtual
~TotemTestHistoClass
();
34
35
struct
Hit
{
36
Hit
() {}
37
int
UID
;
38
int
Ptype
;
39
int
TID
;
40
int
PID
;
41
float
ELoss
;
42
float
PABS
;
43
float
x
;
44
float
y
;
45
float
z
;
46
float
vx
;
47
float
vy
;
48
float
vz
;
49
};
50
51
// ---------- Member functions ---------------------------
52
int
getEVT
()
const
{
return
evt
;}
53
int
getNHit
()
const
{
return
hits
;}
54
std::vector<Hit>
getHits
()
const
{
return
hit
;}
55
56
void
setEVT
(
int
v
) {
evt
=
v
;}
57
void
fillHit
(
int
uID,
int
pType,
int
tID
,
int
pID,
float
eLoss,
float
pAbs,
58
float
vX,
float
vY,
float
vZ,
float
x
,
float
y
,
float
z
);
59
60
private
:
61
62
// ---------- Private Data members -----------------------
63
int
evt
,
hits
;
64
std::vector<Hit>
hit
;
65
66
};
67
68
#endif
TotemTestHistoClass::Hit::ELoss
float ELoss
Definition:
TotemTestHistoClass.h:41
TotemTestHistoClass::setEVT
void setEVT(int v)
Definition:
TotemTestHistoClass.h:56
TotemTestHistoClass
Definition:
TotemTestHistoClass.h:27
TotemTestHistoClass::getEVT
int getEVT() const
Definition:
TotemTestHistoClass.h:52
detailsBasic3DVector::z
double double double z
Definition:
newBasic3DVector.h:17
TotemTestHistoClass::Hit::Ptype
int Ptype
Definition:
TotemTestHistoClass.h:38
TotemTestHistoClass::Hit::z
float z
Definition:
TotemTestHistoClass.h:45
TotemTestHistoClass::Hit::y
float y
Definition:
TotemTestHistoClass.h:44
TopDecayID::tID
static const int tID
Definition:
TopGenEvent.h:13
TotemTestHistoClass::Hit::PID
int PID
Definition:
TotemTestHistoClass.h:40
TotemTestHistoClass::hit
std::vector< Hit > hit
Definition:
TotemTestHistoClass.h:64
TotemTestHistoClass::Hit::PABS
float PABS
Definition:
TotemTestHistoClass.h:42
TotemTestHistoClass::~TotemTestHistoClass
virtual ~TotemTestHistoClass()
Definition:
TotemTestHistoClass.cc:28
TotemTestHistoClass::getNHit
int getNHit() const
Definition:
TotemTestHistoClass.h:53
TotemTestHistoClass::Hit::Hit
Hit()
Definition:
TotemTestHistoClass.h:36
TotemTestHistoClass::Hit::TID
int TID
Definition:
TotemTestHistoClass.h:39
TotemTestHistoClass::Hit::x
float x
Definition:
TotemTestHistoClass.h:43
TotemTestHistoClass::TotemTestHistoClass
TotemTestHistoClass()
Definition:
TotemTestHistoClass.cc:26
TotemTestHistoClass::hits
int hits
Definition:
TotemTestHistoClass.h:63
detailsBasic3DVector::y
float float y
Definition:
newBasic3DVector.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:30
TotemTestHistoClass::Hit::vx
float vx
Definition:
TotemTestHistoClass.h:46
TotemTestHistoClass::Hit::vz
float vz
Definition:
TotemTestHistoClass.h:48
TotemTestHistoClass::evt
int evt
Definition:
TotemTestHistoClass.h:63
TotemTestHistoClass::Hit
Definition:
TotemTestHistoClass.h:35
vdt::x
x
Definition:
VDTMath.h:216
v
mathSSE::Vec4< T > v
Definition:
newBasic3DVector.h:354
TotemTestHistoClass::Hit::vy
float vy
Definition:
TotemTestHistoClass.h:47
TotemTestHistoClass::Hit::UID
int UID
Definition:
TotemTestHistoClass.h:37
TotemTestHistoClass::getHits
std::vector< Hit > getHits() const
Definition:
TotemTestHistoClass.h:54
Generated for CMSSW Reference Manual by
1.8.5