ATLAS Offline Software
Loading...
Searching...
No Matches
Trk::VKThetaConstraint Class Reference

#include <Derivt.h>

Inheritance diagram for Trk::VKThetaConstraint:
Collaboration diagram for Trk::VKThetaConstraint:

Public Member Functions

 VKThetaConstraint (int, VKVertex *)
 ~VKThetaConstraint ()
virtual VKConstraintBaseclone () const override
virtual void applyConstraint () override
const VKVertexgetOriginVertex () const
VKConstraintType getType () const

Public Attributes

int NCDim
int NTrk
std::vector< double > aa
std::vector< std::vector< Vect3DF > > f0t
std::vector< Vect3DFh0t

Protected Attributes

VKVertexm_originVertex
const VKConstraintType m_type

Friends

std::ostream & operator<< (std::ostream &out, const VKThetaConstraint &cnst)

Detailed Description

Definition at line 77 of file Derivt.h.

Constructor & Destructor Documentation

◆ VKThetaConstraint()

Trk::VKThetaConstraint::VKThetaConstraint ( int NTRK,
VKVertex * vk )
inline

Definition at line 182 of file Derivt.h.

184 m_originVertex = vk;
185}
VKConstraintBase(const int, int, VKConstraintType, VKVertex *)
Definition Derivt.h:146
VKVertex * m_originVertex
Definition Derivt.h:42

◆ ~VKThetaConstraint()

Trk::VKThetaConstraint::~VKThetaConstraint ( )
inlinedefault

Member Function Documentation

◆ applyConstraint()

void Trk::VKThetaConstraint::applyConstraint ( )
inlineoverridevirtual

Implements Trk::VKConstraintBase.

Definition at line 244 of file Derivt.h.

244 {
246}
void calcThetaConstraint(VKThetaConstraint *cnst)
Definition DerclcAng.cxx:61

◆ clone()

VKConstraintBase * Trk::VKThetaConstraint::clone ( ) const
inlineoverridevirtual

Implements Trk::VKConstraintBase.

Definition at line 224 of file Derivt.h.

224 {
225 return new VKThetaConstraint(*this);
226}
VKThetaConstraint(int, VKVertex *)
Definition Derivt.h:182

◆ getOriginVertex()

const VKVertex * Trk::VKConstraintBase::getOriginVertex ( ) const
inlineinherited

Definition at line 32 of file Derivt.h.

32{ return m_originVertex; }

◆ getType()

VKConstraintType Trk::VKConstraintBase::getType ( ) const
inlineinherited

Definition at line 33 of file Derivt.h.

33{ return m_type; }
const VKConstraintType m_type
Definition Derivt.h:43

◆ operator<<

std::ostream & operator<< ( std::ostream & out,
const VKThetaConstraint & cnst )
friend

Definition at line 65 of file Derivt.cxx.

65 {
66 const VKVertex* vk = cnst.getOriginVertex();
67 out.precision(7);
68 out << std::defaultfloat;
69 out << " Theta constraint (total NTRK=" << vk->TrackList.size() << ")"
70 << "\n";
71 out << dynamic_cast<const VKConstraintBase&>(cnst) << "\n";
72 out.precision(6); // restore default
73 return out;
74}

Member Data Documentation

◆ aa

std::vector<double> Trk::VKConstraintBase::aa
inherited

Definition at line 38 of file Derivt.h.

◆ f0t

std::vector<std::vector<Vect3DF> > Trk::VKConstraintBase::f0t
inherited

Definition at line 39 of file Derivt.h.

◆ h0t

std::vector<Vect3DF> Trk::VKConstraintBase::h0t
inherited

Definition at line 40 of file Derivt.h.

◆ m_originVertex

VKVertex* Trk::VKConstraintBase::m_originVertex
protectedinherited

Definition at line 42 of file Derivt.h.

◆ m_type

const VKConstraintType Trk::VKConstraintBase::m_type
protectedinherited

Definition at line 43 of file Derivt.h.

◆ NCDim

int Trk::VKConstraintBase::NCDim
inherited

Definition at line 36 of file Derivt.h.

◆ NTrk

int Trk::VKConstraintBase::NTrk
inherited

Definition at line 37 of file Derivt.h.


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