ATLAS Offline Software
Public Member Functions | Public Attributes | Protected Attributes | Friends | List of all members
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
 
VKContraintType 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 VKContraintType m_type
 

Friends

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

Detailed Description

Definition at line 75 of file Derivt.h.

Constructor & Destructor Documentation

◆ VKThetaConstraint()

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

Definition at line 161 of file Derivt.h.

162  : VKConstraintBase(1, NTRK, VKContraintType::Theta, vk) {
163  m_originVertex = vk;
164 }

◆ ~VKThetaConstraint()

Trk::VKThetaConstraint::~VKThetaConstraint ( )
inlinedefault

Member Function Documentation

◆ applyConstraint()

void Trk::VKThetaConstraint::applyConstraint ( )
inlineoverridevirtual

Implements Trk::VKConstraintBase.

Definition at line 212 of file Derivt.h.

212  {
213  calcThetaConstraint(this);
214 }

◆ clone()

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

Implements Trk::VKConstraintBase.

Definition at line 196 of file Derivt.h.

196  {
197  return new VKThetaConstraint(*this);
198 }

◆ getOriginVertex()

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

Definition at line 30 of file Derivt.h.

30 { return m_originVertex; }

◆ getType()

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

Definition at line 31 of file Derivt.h.

31 { return m_type; }

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 68 of file Derivt.cxx.

68  {
69  const VKVertex* vk = cnst.getOriginVertex();
70  // out.setf( std::ios::scientific); out.precision(7); out << std::endl;
71  out.precision(7);
72  out << std::defaultfloat;
73  out << " Theta constraint (total NTRK=" << vk->TrackList.size() << ")"
74  << std::endl;
75  out << (VKConstraintBase&)cnst << '\n';
76  out.precision(6); // restore default
77  return out;
78 }

Member Data Documentation

◆ aa

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

Definition at line 36 of file Derivt.h.

◆ f0t

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

Definition at line 37 of file Derivt.h.

◆ h0t

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

Definition at line 38 of file Derivt.h.

◆ m_originVertex

VKVertex* Trk::VKConstraintBase::m_originVertex
protectedinherited

Definition at line 40 of file Derivt.h.

◆ m_type

const VKContraintType Trk::VKConstraintBase::m_type
protectedinherited

Definition at line 41 of file Derivt.h.

◆ NCDim

int Trk::VKConstraintBase::NCDim
inherited

Definition at line 34 of file Derivt.h.

◆ NTrk

int Trk::VKConstraintBase::NTrk
inherited

Definition at line 35 of file Derivt.h.


The documentation for this class was generated from the following file:
Trk::VKContraintType::Theta
@ Theta
Trk::VKConstraintBase::VKConstraintBase
VKConstraintBase(const int, int, VKContraintType, VKVertex *)
Definition: Derivt.h:125
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
Trk::VKThetaConstraint::VKThetaConstraint
VKThetaConstraint(int, VKVertex *)
Definition: Derivt.h:161
Trk::VKConstraintBase::m_originVertex
VKVertex * m_originVertex
Definition: Derivt.h:40
Trk::VKConstraintBase::m_type
const VKContraintType m_type
Definition: Derivt.h:41
Trk::calcThetaConstraint
void calcThetaConstraint(VKThetaConstraint *cnst)
Definition: DerclcAng.cxx:61