ATLAS Offline Software
Public Member Functions | Public Attributes | Protected Attributes | Friends | List of all members
Trk::VKPhiConstraint Class Referencefinal

#include <Derivt.h>

Inheritance diagram for Trk::VKPhiConstraint:
Collaboration diagram for Trk::VKPhiConstraint:

Public Member Functions

 VKPhiConstraint (int, VKVertex *)
 
 ~VKPhiConstraint ()
 
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 VKPhiConstraint &)
 

Detailed Description

Definition at line 67 of file Derivt.h.

Constructor & Destructor Documentation

◆ VKPhiConstraint()

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

Definition at line 155 of file Derivt.h.

156  : VKConstraintBase(1, NTRK, VKContraintType::Phi, vk) {
157  m_originVertex = vk;
158 }

◆ ~VKPhiConstraint()

Trk::VKPhiConstraint::~VKPhiConstraint ( )
inlinedefault

Member Function Documentation

◆ applyConstraint()

void Trk::VKPhiConstraint::applyConstraint ( )
inlineoverridevirtual

Implements Trk::VKConstraintBase.

Definition at line 209 of file Derivt.h.

209  {
210  calcPhiConstraint(this);
211 }

◆ clone()

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

Implements Trk::VKConstraintBase.

Definition at line 193 of file Derivt.h.

193  {
194  return new VKPhiConstraint(*this);
195 }

◆ 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 VKPhiConstraint cnst 
)
friend

Definition at line 56 of file Derivt.cxx.

56  {
57  const VKVertex* vk = cnst.getOriginVertex();
58  // out.setf( std::ios::scientific); out.precision(7); out << std::endl;
59  out.precision(7);
60  out << std::defaultfloat;
61  out << " Phi constraint (total NTRK=" << vk->TrackList.size() << ")"
62  << std::endl;
63  out << (VKConstraintBase&)cnst << '\n';
64  out.precision(6); // restore default
65  return out;
66 }

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::Phi
@ Phi
Trk::VKConstraintBase::VKConstraintBase
VKConstraintBase(const int, int, VKContraintType, VKVertex *)
Definition: Derivt.h:125
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
Trk::VKPhiConstraint::VKPhiConstraint
VKPhiConstraint(int, VKVertex *)
Definition: Derivt.h:155
Trk::VKConstraintBase::m_originVertex
VKVertex * m_originVertex
Definition: Derivt.h:40
Trk::calcPhiConstraint
void calcPhiConstraint(VKPhiConstraint *cnst)
Definition: DerclcAng.cxx:22
Trk::VKConstraintBase::m_type
const VKContraintType m_type
Definition: Derivt.h:41