src
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
public
:
7
typedef
CoreSimVertex
Core
;
9
SimVertex
();
10
12
SimVertex
(
const
CoreSimVertex
&
t
,
int
it);
13
14
SimVertex
(
const
math::XYZVectorD
&
v
,
float
tof);
15
17
SimVertex
(
const
math::XYZVectorD
&
v
,
float
tof,
int
it);
18
20
SimVertex
(
const
CoreSimVertex
&
t
,
int
it,
unsigned
int
vId);
21
22
SimVertex
(
const
math::XYZVectorD
&
v
,
float
tof,
unsigned
int
vId);
23
25
SimVertex
(
const
math::XYZVectorD
&
v
,
float
tof,
int
it,
unsigned
int
vId);
26
29
int
parentIndex
()
const
{
return
itrack
; }
30
bool
noParent
()
const
{
return
itrack
== -1; }
31
32
void
setVertexId
(
unsigned
int
n
) {
vtxId
=
n
; }
33
unsigned
int
vertexId
()
const
{
return
vtxId
; }
34
35
void
setProcessType
(
unsigned
int
ty) {
procType
= ty; }
36
unsigned
int
processType
()
const
{
return
procType
; }
37
38
private
:
39
int
itrack
;
40
unsigned
int
vtxId
;
41
unsigned
int
procType
;
42
};
43
44
#include <iosfwd>
45
std::ostream&
operator<<
(std::ostream&
o
,
const
SimVertex
&
v
);
46
47
#endif
SimVertex
Definition:
SimVertex.h:5
SimVertex::setVertexId
void setVertexId(unsigned int n)
Definition:
SimVertex.h:32
CoreSimVertex.h
submitPVValidationJobs.t
string t
Definition:
submitPVValidationJobs.py:650
CoreSimVertex
Definition:
CoreSimVertex.h:12
SimVertex::setProcessType
void setProcessType(unsigned int ty)
Definition:
SimVertex.h:35
findQualityFiles.v
v
Definition:
findQualityFiles.py:179
SimVertex::itrack
int itrack
Definition:
SimVertex.h:39
SimVertex::vtxId
unsigned int vtxId
Definition:
SimVertex.h:40
dqmiodumpmetadata.n
n
Definition:
dqmiodumpmetadata.py:28
math::XYZVectorD
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > XYZVectorD
spatial vector with cartesian internal representation
Definition:
Vector3D.h:8
EcalTangentSkim_cfg.o
o
Definition:
EcalTangentSkim_cfg.py:42
SimVertex::vertexId
unsigned int vertexId() const
Definition:
SimVertex.h:33
operator<<
std::ostream & operator<<(std::ostream &o, const SimVertex &v)
Definition:
SimVertex.cc:19
SimVertex::SimVertex
SimVertex()
constructor
Definition:
SimVertex.cc:3
SimVertex::Core
CoreSimVertex Core
Definition:
SimVertex.h:7
SimVertex::procType
unsigned int procType
Definition:
SimVertex.h:41
SimVertex::noParent
bool noParent() const
Definition:
SimVertex.h:30
SimVertex::parentIndex
int parentIndex() const
Definition:
SimVertex.h:29
SimVertex::processType
unsigned int processType() const
Definition:
SimVertex.h:36
Generated for CMSSW Reference Manual by
1.8.14