ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
Trk::MappedVertex Struct Reference

#include <IVertexMapper.h>

Collaboration diagram for Trk::MappedVertex:

Public Member Functions

 MappedVertex (const Amg::Vector3D &lPosition, const Surface &mSurface, const Layer &mLayer, const TrackingVolume &mVolume)
 valid constructor More...
 
 MappedVertex ()
 invalid constructor More...
 

Public Attributes

Amg::Vector3D localPosition
 
const Surfacesurface
 
int identifierHash
 
const Layerlayer
 
int layerIndex
 
const TrackingVolumetrackingVolume
 
bool valid
 

Detailed Description

Definition at line 23 of file IVertexMapper.h.

Constructor & Destructor Documentation

◆ MappedVertex() [1/2]

Trk::MappedVertex::MappedVertex ( const Amg::Vector3D lPosition,
const Surface mSurface,
const Layer mLayer,
const TrackingVolume mVolume 
)
inline

valid constructor

Definition at line 37 of file IVertexMapper.h.

40  :
41  localPosition(lPosition),
42  surface(&mSurface),
43  identifierHash(mSurface.associatedDetectorElement() ? int(mSurface.associatedDetectorElement()->identifyHash()) : -1),
44  layer(&mLayer),
45  layerIndex(mLayer.layerIndex().value()),
46  trackingVolume(&mVolume),
47  valid(true)
48  {}

◆ MappedVertex() [2/2]

Trk::MappedVertex::MappedVertex ( )
inline

invalid constructor

Definition at line 51 of file IVertexMapper.h.

51  :
52  localPosition(0.,0.,0.),
53  surface(nullptr),
54  identifierHash(-1),
55  layer(nullptr),
56  layerIndex(-1),
57  trackingVolume(nullptr),
58  valid(false)
59  {}

Member Data Documentation

◆ identifierHash

int Trk::MappedVertex::identifierHash

Definition at line 27 of file IVertexMapper.h.

◆ layer

const Layer* Trk::MappedVertex::layer

Definition at line 29 of file IVertexMapper.h.

◆ layerIndex

int Trk::MappedVertex::layerIndex

Definition at line 30 of file IVertexMapper.h.

◆ localPosition

Amg::Vector3D Trk::MappedVertex::localPosition

Definition at line 25 of file IVertexMapper.h.

◆ surface

const Surface* Trk::MappedVertex::surface

Definition at line 26 of file IVertexMapper.h.

◆ trackingVolume

const TrackingVolume* Trk::MappedVertex::trackingVolume

Definition at line 32 of file IVertexMapper.h.

◆ valid

bool Trk::MappedVertex::valid

Definition at line 34 of file IVertexMapper.h.


The documentation for this struct was generated from the following file:
Trk::MappedVertex::identifierHash
int identifierHash
Definition: IVertexMapper.h:27
Trk::MappedVertex::layer
const Layer * layer
Definition: IVertexMapper.h:29
Trk::MappedVertex::trackingVolume
const TrackingVolume * trackingVolume
Definition: IVertexMapper.h:32
Trk::MappedVertex::layerIndex
int layerIndex
Definition: IVertexMapper.h:30
Trk::MappedVertex::surface
const Surface * surface
Definition: IVertexMapper.h:26
Trk::MappedVertex::valid
bool valid
Definition: IVertexMapper.h:34
Trk::MappedVertex::localPosition
Amg::Vector3D localPosition
Definition: IVertexMapper.h:25