Main Page
Namespaces
Classes
Package Documentation
SimDataFormats
Vertex
interface
SimVertex.h
Go to the documentation of this file.
1
#ifndef SimVertex_H
2
#define SimVertex_H
3
4
#include "
SimDataFormats/Vertex/interface/CoreSimVertex.h
"
5
class
SimVertex
:
public
CoreSimVertex
6
{
7
8
public
:
9
10
typedef
CoreSimVertex
Core
;
12
SimVertex
();
13
15
SimVertex
(
const
CoreSimVertex
&
t
,
int
it);
16
17
SimVertex
(
const
math::XYZVectorD
&
v
,
float
tof ) ;
18
20
SimVertex
(
const
math::XYZVectorD
&
v
,
float
tof,
int
it ) ;
21
23
SimVertex
(
const
CoreSimVertex
&
t
,
int
it,
unsigned
int
vId );
24
25
SimVertex
(
const
math::XYZVectorD
&
v
,
float
tof,
unsigned
int
vId ) ;
26
28
SimVertex
(
const
math::XYZVectorD
&
v
,
float
tof,
int
it,
unsigned
int
vId ) ;
29
30
33
int
parentIndex
()
const
{
return
itrack
; }
34
bool
noParent
()
const
{
return
itrack
==-1; }
35
36
void
setVertexId
(
unsigned
int
n
) {
vtxId
=
n
;}
37
unsigned
int
vertexId
()
const
{
return
vtxId
; }
38
39
void
setProcessType
(
unsigned
int
ty) {
procType
= ty;}
40
unsigned
int
processType
()
const
{
return
procType
; }
41
42
private
:
43
int
itrack
;
44
unsigned
int
vtxId
;
45
unsigned
int
procType
;
46
};
47
48
#include <iosfwd>
49
std::ostream &
operator <<
(std::ostream &
o
,
const
SimVertex
&
v
);
50
51
52
#endif
SimVertex
Definition:
SimVertex.h:5
SimVertex::setVertexId
void setVertexId(unsigned int n)
Definition:
SimVertex.h:36
CoreSimVertex.h
CoreSimVertex
Definition:
CoreSimVertex.h:12
SimVertex::setProcessType
void setProcessType(unsigned int ty)
Definition:
SimVertex.h:39
findQualityFiles.v
v
Definition:
findQualityFiles.py:178
SimVertex::processType
unsigned int processType() const
Definition:
SimVertex.h:40
SimVertex::itrack
int itrack
Definition:
SimVertex.h:43
SimVertex::vtxId
unsigned int vtxId
Definition:
SimVertex.h:44
math::XYZVectorD
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > XYZVectorD
spatial vector with cartesian internal representation
Definition:
Vector3D.h:8
operator<<
std::ostream & operator<<(std::ostream &o, const SimVertex &v)
Definition:
SimVertex.cc:23
SimVertex::parentIndex
int parentIndex() const
Definition:
SimVertex.h:33
SimVertex::SimVertex
SimVertex()
constructor
Definition:
SimVertex.cc:3
SimVertex::vertexId
unsigned int vertexId() const
Definition:
SimVertex.h:37
SimVertex::Core
CoreSimVertex Core
Definition:
SimVertex.h:10
connectstrParser.o
o
Definition:
connectstrParser.py:71
gen::n
int n
Definition:
Cascade2Hadronizer.cc:79
SimVertex::procType
unsigned int procType
Definition:
SimVertex.h:45
lumiQTWidget.t
t
Definition:
lumiQTWidget.py:50
SimVertex::noParent
bool noParent() const
Definition:
SimVertex.h:34
Generated for CMSSW Reference Manual by
1.8.11