OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Member Functions | Private Attributes | Friends | List of all members
Twiss::Row Class Reference

Structure for a row of the Twiss table. More...

#include <Twiss.h>

Inheritance diagram for Twiss::Row:
Inheritance graph
[legend]
Collaboration diagram for Twiss::Row:
Collaboration graph
[legend]

Public Member Functions

 Row (ElementBase *, int)
 
 Row (const FlaggedElmPtr &)
 
 ~Row ()
 
const FVector< double, 6 > & getCO () const
 Closed orbit. More...
 
const FMatrix< double, 6, 6 > & getMatrix () const
 Transfer matrix. More...
 
double getS () const
 Arc length. More...
 
double getMUi (int i) const
 Phase for mode i. More...
 
- Public Member Functions inherited from FlaggedElmPtr
 FlaggedElmPtr (const ElmPtr &, bool reflected=false, bool selected=false)
 Constructor. More...
 
 FlaggedElmPtr (const FlaggedElmPtr &)
 Copy constructor. More...
 
 FlaggedElmPtr ()
 
virtual ~FlaggedElmPtr ()
 
virtual void accept (BeamlineVisitor &) const
 Apply visitor. More...
 
int getCounter () const
 Get clone counter. More...
 
bool getReflectionFlag () const
 Get reflection flag. More...
 
bool getSelectionFlag () const
 Get selection flag. More...
 
void setCounter (int) const
 Set clone counter. More...
 
void setReflectionFlag (bool flag) const
 Set reflection flag. More...
 
void setSelectionFlag (bool flag) const
 Get selection flag. More...
 
- Public Member Functions inherited from ElmPtr
 ElmPtr ()
 
 ElmPtr (const ElmPtr &)
 
 ElmPtr (ElementBase *)
 
virtual ~ElmPtr ()
 
ElementBasegetElement () const
 Get the element pointer. More...
 
void setElement (ElementBase *)
 Set the element pointer. More...
 

Private Attributes

FVector< double, 6 > orbit
 The closed orbit after the element. More...
 
FMatrix< double, 6, 6 > matrix
 The transfer matrix up to and including the element. More...
 
double arc
 The accumulated arc length. More...
 
double mu [3]
 Phases for the three modes. More...
 

Friends

class Insertion
 
class Period
 
class Twiss
 

Additional Inherited Members

- Protected Attributes inherited from FlaggedElmPtr
int itsCounter
 Clone counter. More...
 
bool isReflected
 The reflection flag. More...
 
bool isSelected
 The selection flag. More...
 
- Protected Attributes inherited from ElmPtr
Pointer< ElementBaseitsElement
 

Detailed Description

Structure for a row of the Twiss table.

Definition at line 49 of file Twiss.h.

Constructor & Destructor Documentation

Twiss::Row::Row ( ElementBase elem,
int  occur 
)

Definition at line 369 of file Twiss.cpp.

References FlaggedElmPtr::setCounter().

Here is the call graph for this function:

Twiss::Row::Row ( const FlaggedElmPtr rhs)
explicit

Definition at line 375 of file Twiss.cpp.

Twiss::Row::~Row ( void  )

Definition at line 380 of file Twiss.cpp.

Member Function Documentation

const FVector< double, 6 > & Twiss::Row::getCO ( ) const

Closed orbit.

Definition at line 384 of file Twiss.cpp.

References Twiss::orbit.

Referenced by Twiss::getCO().

const FMatrix< double, 6, 6 > & Twiss::Row::getMatrix ( ) const

Transfer matrix.

Definition at line 389 of file Twiss.cpp.

double Twiss::Row::getMUi ( int  i) const

Phase for mode i.

Definition at line 399 of file Twiss.cpp.

Referenced by Twiss::getMUi().

double Twiss::Row::getS ( ) const

Arc length.

Definition at line 394 of file Twiss.cpp.

Referenced by Twiss::getS().

Friends And Related Function Documentation

friend class Insertion
friend

Definition at line 51 of file Twiss.h.

friend class Period
friend

Definition at line 52 of file Twiss.h.

friend class Twiss
friend

Definition at line 53 of file Twiss.h.

Member Data Documentation

double Twiss::Row::arc
private

The accumulated arc length.

Definition at line 82 of file Twiss.h.

FMatrix<double, 6, 6> Twiss::Row::matrix
private

The transfer matrix up to and including the element.

Definition at line 79 of file Twiss.h.

Referenced by Twiss::getALFi(), Twiss::getALFik(), Twiss::getBETi(), Twiss::getBETik(), Twiss::getCurlyA(), Twiss::getDisp(), Twiss::getEigen(), Twiss::getGAMik(), Twiss::getMatrix(), and Twiss::getSigma().

double Twiss::Row::mu[3]
private

Phases for the three modes.

Definition at line 85 of file Twiss.h.

FVector<double, 6> Twiss::Row::orbit
private

The closed orbit after the element.

Definition at line 76 of file Twiss.h.

Referenced by Twiss::getOrbit().


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