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

#include <Derivt.h>

Inheritance diagram for Trk::VKPlaneConstraint:
Collaboration diagram for Trk::VKPlaneConstraint:

Public Member Functions

 VKPlaneConstraint (int, double, double, double, double, VKVertex *)
 
 ~VKPlaneConstraint ()
 
double getA () const
 
double getB () const
 
double getC () const
 
double getD () const
 
virtual void applyConstraint () override
 
virtual VKConstraintBaseclone () const 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
 

Private Attributes

double m_A
 
double m_B
 
double m_C
 
double m_D
 

Friends

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

Detailed Description

Definition at line 109 of file Derivt.h.

Constructor & Destructor Documentation

◆ VKPlaneConstraint()

Trk::VKPlaneConstraint::VKPlaneConstraint ( int  NTRK,
double  a,
double  b,
double  c,
double  d,
VKVertex vk 
)
inline

Definition at line 180 of file Derivt.h.

183  m_A(a),
184  m_B(b),
185  m_C(c),
186  m_D(d) {}

◆ ~VKPlaneConstraint()

Trk::VKPlaneConstraint::~VKPlaneConstraint ( )
inlinedefault

Member Function Documentation

◆ applyConstraint()

void Trk::VKPlaneConstraint::applyConstraint ( )
inlineoverridevirtual

Implements Trk::VKConstraintBase.

Definition at line 218 of file Derivt.h.

218  {
219  calcPlaneConstraint(this);
220 }

◆ clone()

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

Implements Trk::VKConstraintBase.

Definition at line 202 of file Derivt.h.

202  {
203  return new VKPlaneConstraint(*this);
204 }

◆ getA()

double Trk::VKPlaneConstraint::getA ( ) const
inline

Definition at line 114 of file Derivt.h.

114 { return m_A; }

◆ getB()

double Trk::VKPlaneConstraint::getB ( ) const
inline

Definition at line 115 of file Derivt.h.

115 { return m_B; }

◆ getC()

double Trk::VKPlaneConstraint::getC ( ) const
inline

Definition at line 116 of file Derivt.h.

116 { return m_C; }

◆ getD()

double Trk::VKPlaneConstraint::getD ( ) const
inline

Definition at line 117 of file Derivt.h.

117 { return m_D; }

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

Definition at line 100 of file Derivt.cxx.

100  {
101  const VKVertex* vk = cnst.getOriginVertex();
102  // out.setf( std::ios::scientific); out.precision(7); out << std::endl;
103  out.precision(7);
104  out << std::defaultfloat;
105  out << " Vertex in plane constraint (total NTRK=" << vk->TrackList.size()
106  << ")" << std::endl;
107  out << " Plane(A,B,C,D):" << cnst.getA() << ", " << cnst.getB() << ", "
108  << cnst.getC() << ", " << cnst.getD() << std::endl;
109  out << (VKConstraintBase&)cnst << '\n';
110  out.precision(6); // restore default
111  return out;
112 }

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_A

double Trk::VKPlaneConstraint::m_A
private

Definition at line 122 of file Derivt.h.

◆ m_B

double Trk::VKPlaneConstraint::m_B
private

Definition at line 122 of file Derivt.h.

◆ m_C

double Trk::VKPlaneConstraint::m_C
private

Definition at line 122 of file Derivt.h.

◆ m_D

double Trk::VKPlaneConstraint::m_D
private

Definition at line 122 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::VKPlaneConstraint::m_A
double m_A
Definition: Derivt.h:122
hist_file_dump.d
d
Definition: hist_file_dump.py:137
Trk::VKConstraintBase::VKConstraintBase
VKConstraintBase(const int, int, VKContraintType, VKVertex *)
Definition: Derivt.h:125
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
Trk::calcPlaneConstraint
void calcPlaneConstraint(VKPlaneConstraint *cnst)
Definition: DerclcAng.cxx:99
Trk::VKContraintType::Plane
@ Plane
Trk::VKConstraintBase::m_originVertex
VKVertex * m_originVertex
Definition: Derivt.h:40
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
Trk::VKPlaneConstraint::m_B
double m_B
Definition: Derivt.h:122
a
TList * a
Definition: liststreamerinfos.cxx:10
Trk::VKPlaneConstraint::m_C
double m_C
Definition: Derivt.h:122
Trk::VKConstraintBase::m_type
const VKContraintType m_type
Definition: Derivt.h:41
Trk::VKPlaneConstraint::VKPlaneConstraint
VKPlaneConstraint(int, double, double, double, double, VKVertex *)
Definition: Derivt.h:180
Trk::VKPlaneConstraint::m_D
double m_D
Definition: Derivt.h:122
python.compressB64.c
def c
Definition: compressB64.py:93