src
SimG4Core
Notification
interface
TmpSimVertex.h
Go to the documentation of this file.
1
#ifndef SimG4Core_TmpSimVertex_H
2
#define SimG4Core_TmpSimVertex_H
3
4
#include "
DataFormats/Math/interface/Vector3D.h
"
5
#include "
DataFormats/Math/interface/LorentzVector.h
"
6
#include <cmath>
7
8
class
TmpSimVertex
{
9
public
:
10
TmpSimVertex
(
const
math::XYZVectorD
& ip,
double
it
,
int
iv
,
int
typ
= 0)
11
:
ilv_
(ip),
itime_
(
it
),
itrack_
(
iv
),
ptype_
(
typ
) {}
12
~TmpSimVertex
() =
default
;
14
const
math::XYZVectorD
&
vertexPosition
()
const
{
return
ilv_
; }
15
double
vertexGlobalTime
()
const
{
return
itime_
; }
16
int
parentIndex
()
const
{
return
itrack_
; }
17
int
processType
()
const
{
return
ptype_
; }
18
19
private
:
20
math::XYZVectorD
ilv_
;
21
double
itime_
;
22
int
itrack_
;
23
int
ptype_
;
24
};
25
26
#endif
TmpSimVertex::ptype_
int ptype_
Definition:
TmpSimVertex.h:23
TmpSimVertex::TmpSimVertex
TmpSimVertex(const math::XYZVectorD &ip, double it, int iv, int typ=0)
Definition:
TmpSimVertex.h:10
TmpSimVertex::~TmpSimVertex
~TmpSimVertex()=default
TmpSimVertex::vertexPosition
const math::XYZVectorD & vertexPosition() const
index of the parent (-1 if no parent)
Definition:
TmpSimVertex.h:14
ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::iv
int32_t *__restrict__ iv
Definition:
fitVertices.h:39
TmpSimVertex::itrack_
int itrack_
Definition:
TmpSimVertex.h:22
TmpSimVertex
Definition:
TmpSimVertex.h:8
math::XYZVectorD
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > XYZVectorD
spatial vector with cartesian internal representation
Definition:
Vector3D.h:8
TmpSimVertex::itime_
double itime_
Definition:
TmpSimVertex.h:21
LorentzVector.h
make_classfiles.typ
typ
Definition:
make_classfiles.py:154
TmpSimVertex::parentIndex
int parentIndex() const
Definition:
TmpSimVertex.h:16
TmpSimVertex::vertexGlobalTime
double vertexGlobalTime() const
Definition:
TmpSimVertex.h:15
TmpSimVertex::processType
int processType() const
Definition:
TmpSimVertex.h:17
ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it
auto & it
Definition:
splitVertices.h:27
Vector3D.h
TmpSimVertex::ilv_
math::XYZVectorD ilv_
Definition:
TmpSimVertex.h:20
Generated for CMSSW Reference Manual by
1.8.14