Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
Trk::LineSaggingDescriptor Class Referencefinal

#include <LineSaggingDescriptor.h>

Collaboration diagram for Trk::LineSaggingDescriptor:

Public Member Functions

 LineSaggingDescriptor ()
 Default Constructor. More...
 
 LineSaggingDescriptor (double wireLength, double wireTension, double linearDensity)
 Constructor with arguments. More...
 
MsgStream & dump (MsgStream &sl) const
 Output Method for MsgStream, to be overloaded by child classes. More...
 
std::ostream & dump (std::ostream &sl) const
 Output Method for std::ostream, to be overloaded by child classes. More...
 

Protected Attributes

double m_wireLength
 < the wire end positions More...
 
double m_wireTension
 
double m_linearDensity
 

Static Protected Attributes

static const double s_elecStatFactor
 direction of gravity More...
 
static const Amg::Vector3D s_gravityDirection = -1 * Amg::Vector3D::UnitY()
 
static const Amg::Vector3D s_referenceDirection
 

Detailed Description

Fill in documentation

Author
Andre.nosp@m.as.S.nosp@m.alzbu.nosp@m.rger.nosp@m.@cern.nosp@m..ch

Definition at line 31 of file LineSaggingDescriptor.h.

Constructor & Destructor Documentation

◆ LineSaggingDescriptor() [1/2]

Trk::LineSaggingDescriptor::LineSaggingDescriptor ( )
inline

Default Constructor.

Definition at line 35 of file LineSaggingDescriptor.h.

37  // nop
38  }

◆ LineSaggingDescriptor() [2/2]

Trk::LineSaggingDescriptor::LineSaggingDescriptor ( double  wireLength,
double  wireTension,
double  linearDensity 
)

Constructor with arguments.

Definition at line 26 of file LineSaggingDescriptor.cxx.

28  :
29  m_wireLength(wireLength),
30  m_wireTension(wireTension),
31  m_linearDensity(linearDensity)
32 {
33 
34 }

Member Function Documentation

◆ dump() [1/2]

MsgStream & Trk::LineSaggingDescriptor::dump ( MsgStream &  sl) const

Output Method for MsgStream, to be overloaded by child classes.

Definition at line 36 of file LineSaggingDescriptor.cxx.

37 {
38  sl << std::setiosflags(std::ios::fixed);
39  sl << std::setprecision(7);
40  sl << "Trk::LineSaggingDescriptor";
41  sl << '\t' << "- wire length :" << m_wireLength << std::endl;
42  sl << '\t' << "- wire tension :" << m_wireTension << std::endl;
43  sl << '\t' << "- linear density :" << m_linearDensity << std::endl;
44  sl << std::setprecision(-1);
45  return sl;
46 }

◆ dump() [2/2]

std::ostream & Trk::LineSaggingDescriptor::dump ( std::ostream &  sl) const

Output Method for std::ostream, to be overloaded by child classes.

Definition at line 48 of file LineSaggingDescriptor.cxx.

49 {
50  sl << std::setiosflags(std::ios::fixed);
51  sl << std::setprecision(7);
52  sl << "Trk::LineSaggingDescriptor:";
53  sl << '\t' << "- wire length :" << m_wireLength << std::endl;
54  sl << '\t' << "- wire tension :" << m_wireTension << std::endl;
55  sl << '\t' << "- linear density :" << m_linearDensity << std::endl;
56  sl << std::setprecision(-1);
57  return sl;
58 }

Member Data Documentation

◆ m_linearDensity

double Trk::LineSaggingDescriptor::m_linearDensity
protected

Definition at line 55 of file LineSaggingDescriptor.h.

◆ m_wireLength

double Trk::LineSaggingDescriptor::m_wireLength
protected

< the wire end positions

Definition at line 53 of file LineSaggingDescriptor.h.

◆ m_wireTension

double Trk::LineSaggingDescriptor::m_wireTension
protected

Definition at line 54 of file LineSaggingDescriptor.h.

◆ s_elecStatFactor

const double Trk::LineSaggingDescriptor::s_elecStatFactor
staticprotected

direction of gravity

Definition at line 58 of file LineSaggingDescriptor.h.

◆ s_gravityDirection

const Amg::Vector3D Trk::LineSaggingDescriptor::s_gravityDirection = -1 * Amg::Vector3D::UnitY()
staticprotected

Definition at line 59 of file LineSaggingDescriptor.h.

◆ s_referenceDirection

const Amg::Vector3D Trk::LineSaggingDescriptor::s_referenceDirection
staticprotected

Definition at line 60 of file LineSaggingDescriptor.h.


The documentation for this class was generated from the following files:
Trk::LineSaggingDescriptor::m_wireLength
double m_wireLength
< the wire end positions
Definition: LineSaggingDescriptor.h:53
Trk::LineSaggingDescriptor::m_wireTension
double m_wireTension
Definition: LineSaggingDescriptor.h:54
Trk::LineSaggingDescriptor::m_linearDensity
double m_linearDensity
Definition: LineSaggingDescriptor.h:55