ATLAS Offline Software
Loading...
Searching...
No Matches
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
 MappedVertex ()
 invalid constructor

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 {}
const Layer * layer
const TrackingVolume * trackingVolume
const Surface * surface
Amg::Vector3D localPosition

◆ 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),
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: