FEDRA emulsion software from the OPERA Collaboration
VERTEX::Relation Class Reference

#include <VtRelation.hh>

Collaboration diagram for VERTEX::Relation:

Public Member Functions

— Constructors —
 Relation (Track &ttrack, Vertex &vvertex)
 
 ~Relation ()
 

— Expert functions —

Tracktrack
 
Vertexvertex
 
Kalmankalman
 
MassC_v massc
 
void print (std::ostream &os) const
 
TrackgetTrack ()
 
VertexgetVertex ()
 
KalmangetKalman ()
 

Detailed Description

Class for Track-Vertex-Kalman object relations. @memo for internal use only

Constructor & Destructor Documentation

◆ Relation()

VERTEX::Relation::Relation ( Track ttrack,
Vertex vvertex 
)
34  :
35  track(ttrack),
36  vertex(vvertex),
37  kalman(*(new Kalman(this))) {}
Vertex & vertex
Definition: VtRelation.hh:73
Track & track
Definition: VtRelation.hh:72
Kalman & kalman
Definition: VtRelation.hh:74

◆ ~Relation()

VERTEX::Relation::~Relation ( )
39 { delete &kalman; }

Member Function Documentation

◆ getKalman()

Kalman& VERTEX::Relation::getKalman ( )
inline
68 { return kalman; }

◆ getTrack()

Track& VERTEX::Relation::getTrack ( )
inline
64 { return track; }

◆ getVertex()

Vertex& VERTEX::Relation::getVertex ( )
inline
66 { return vertex; }

◆ print()

void VERTEX::Relation::print ( std::ostream &  os) const
44  {
45  os << "[tr: " << &track
46  << " vtx: " << &vertex
47  << " kal: " << &kalman
48  << "]";
49  }
Definition: bitview.h:14

Member Data Documentation

◆ kalman

Kalman& VERTEX::Relation::kalman

◆ massc

MassC_v VERTEX::Relation::massc

◆ track

Track& VERTEX::Relation::track

◆ vertex

Vertex& VERTEX::Relation::vertex

The documentation for this class was generated from the following files: