Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
SimG4Core
Application
interface
G4SimVertex.h
Go to the documentation of this file.
1
#ifndef SimG4Core_G4SimVertex_H
2
#define SimG4Core_G4SimVertex_H
3
4
#include "
DataFormats/Math/interface/Vector3D.h
"
5
#include "
DataFormats/Math/interface/LorentzVector.h
"
6
#include <vector>
7
#include <cmath>
8
9
class
G4SimVertex
10
{
11
public
:
12
G4SimVertex
() {}
13
G4SimVertex
(
const
math::XYZVectorD
& ip,
double
it,
int
iv) :
14
ilv_
(ip),
itime_
(it),
itrack_
(iv) {}
16
const
math::XYZVectorD
&
vertexPosition
()
const
{
return
ilv_
; }
17
const
double
vertexGlobalTime
()
const
{
return
itime_
; }
18
const
int
parentIndex
()
const
{
return
itrack_
; }
19
private
:
20
math::XYZVectorD
ilv_
;
21
double
itime_
;
22
int
itrack_
;
23
};
24
25
#endif
G4SimVertex::itime_
double itime_
Definition:
G4SimVertex.h:21
math::XYZVectorD
ROOT::Math::DisplacementVector3D< ROOT::Math::Cartesian3D< double > > XYZVectorD
spatial vector with cartesian internal representation
Definition:
Vector3D.h:9
G4SimVertex::vertexPosition
const math::XYZVectorD & vertexPosition() const
index of the parent (-1 if no parent)
Definition:
G4SimVertex.h:16
LorentzVector.h
G4SimVertex::ilv_
math::XYZVectorD ilv_
Definition:
G4SimVertex.h:20
G4SimVertex::parentIndex
const int parentIndex() const
Definition:
G4SimVertex.h:18
G4SimVertex
Definition:
G4SimVertex.h:9
G4SimVertex::G4SimVertex
G4SimVertex(const math::XYZVectorD &ip, double it, int iv)
Definition:
G4SimVertex.h:13
Vector3D.h
G4SimVertex::vertexGlobalTime
const double vertexGlobalTime() const
Definition:
G4SimVertex.h:17
G4SimVertex::G4SimVertex
G4SimVertex()
Definition:
G4SimVertex.h:12
G4SimVertex::itrack_
int itrack_
Definition:
G4SimVertex.h:22
Generated for CMSSW Reference Manual by
1.8.5