EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MagElement Class Referenceabstract
+ Inheritance diagram for MagElement:
+ Collaboration diagram for MagElement:

Public Member Functions

 MagElement (std::string name)
 
 ~MagElement ()
 
virtual double GetField (void) const
 
virtual double GetGradient (void) const
 
virtual void Calculate (double Brho)=0
 
virtual void Print (void)
 
virtual void WriteOut (FILE *fout)
 

Public Attributes

std::string mName
 
double mApertureRadiusZin
 
double mApertureRadiusZout
 
double mOutsideDiameter
 
double mSstart
 
double mSend
 
double mTHETAstart
 
double mTHETAend
 
double mXstart
 
double mYstart
 
double mZstart
 
double mXend
 
double mYend
 
double mZend
 
double mLength
 
double mX
 
double mY
 
double mZ
 
double mTHETA
 

Detailed Description

Definition at line 45 of file extractor.cc.

View newest version in sPHENIX GitHub at line 45 of file extractor.cc

Constructor & Destructor Documentation

MagElement::MagElement ( std::string  name)
inline

Definition at line 47 of file extractor.cc.

View newest version in sPHENIX GitHub at line 47 of file extractor.cc

References bores, Bore::mApertureRadiusZin, Bore::mApertureRadiusZout, Bore::mOutsideDiameter, and name.

MagElement::~MagElement ( )
inline

Definition at line 61 of file extractor.cc.

View newest version in sPHENIX GitHub at line 61 of file extractor.cc

Member Function Documentation

virtual void MagElement::Calculate ( double  Brho)
pure virtual

Implemented in Quadrupole, and Dipole.

Referenced by main().

+ Here is the caller graph for this function:

virtual double MagElement::GetField ( void  ) const
inlinevirtual

Reimplemented in Dipole.

Definition at line 63 of file extractor.cc.

View newest version in sPHENIX GitHub at line 63 of file extractor.cc

virtual double MagElement::GetGradient ( void  ) const
inlinevirtual

Reimplemented in Quadrupole.

Definition at line 64 of file extractor.cc.

View newest version in sPHENIX GitHub at line 64 of file extractor.cc

virtual void MagElement::Print ( void  )
inlinevirtual

Reimplemented in Quadrupole, and Dipole.

Definition at line 69 of file extractor.cc.

View newest version in sPHENIX GitHub at line 69 of file extractor.cc

References printf().

Referenced by main(), Dipole::Print(), and Quadrupole::Print().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual void MagElement::WriteOut ( FILE *  fout)
inlinevirtual

Definition at line 71 of file extractor.cc.

View newest version in sPHENIX GitHub at line 71 of file extractor.cc

Member Data Documentation

double MagElement::mApertureRadiusZin

Definition at line 78 of file extractor.cc.

View newest version in sPHENIX GitHub at line 78 of file extractor.cc

double MagElement::mApertureRadiusZout

Definition at line 78 of file extractor.cc.

View newest version in sPHENIX GitHub at line 78 of file extractor.cc

double MagElement::mLength

Definition at line 86 of file extractor.cc.

View newest version in sPHENIX GitHub at line 86 of file extractor.cc

Referenced by main().

std::string MagElement::mName

Definition at line 74 of file extractor.cc.

View newest version in sPHENIX GitHub at line 74 of file extractor.cc

double MagElement::mOutsideDiameter

Definition at line 78 of file extractor.cc.

View newest version in sPHENIX GitHub at line 78 of file extractor.cc

double MagElement::mSend

Definition at line 81 of file extractor.cc.

View newest version in sPHENIX GitHub at line 81 of file extractor.cc

Referenced by main().

double MagElement::mSstart

Definition at line 81 of file extractor.cc.

View newest version in sPHENIX GitHub at line 81 of file extractor.cc

Referenced by main().

double MagElement::mTHETA

Definition at line 86 of file extractor.cc.

View newest version in sPHENIX GitHub at line 86 of file extractor.cc

Referenced by main().

double MagElement::mTHETAend

Definition at line 81 of file extractor.cc.

View newest version in sPHENIX GitHub at line 81 of file extractor.cc

Referenced by main().

double MagElement::mTHETAstart

Definition at line 81 of file extractor.cc.

View newest version in sPHENIX GitHub at line 81 of file extractor.cc

Referenced by main().

double MagElement::mX

Definition at line 86 of file extractor.cc.

View newest version in sPHENIX GitHub at line 86 of file extractor.cc

Referenced by main().

double MagElement::mXend

Definition at line 83 of file extractor.cc.

View newest version in sPHENIX GitHub at line 83 of file extractor.cc

Referenced by main().

double MagElement::mXstart

Definition at line 83 of file extractor.cc.

View newest version in sPHENIX GitHub at line 83 of file extractor.cc

Referenced by main().

double MagElement::mY

Definition at line 86 of file extractor.cc.

View newest version in sPHENIX GitHub at line 86 of file extractor.cc

Referenced by main().

double MagElement::mYend

Definition at line 83 of file extractor.cc.

View newest version in sPHENIX GitHub at line 83 of file extractor.cc

Referenced by main().

double MagElement::mYstart

Definition at line 83 of file extractor.cc.

View newest version in sPHENIX GitHub at line 83 of file extractor.cc

Referenced by main().

double MagElement::mZ

Definition at line 86 of file extractor.cc.

View newest version in sPHENIX GitHub at line 86 of file extractor.cc

Referenced by main().

double MagElement::mZend

Definition at line 83 of file extractor.cc.

View newest version in sPHENIX GitHub at line 83 of file extractor.cc

Referenced by main().

double MagElement::mZstart

Definition at line 83 of file extractor.cc.

View newest version in sPHENIX GitHub at line 83 of file extractor.cc

Referenced by main().


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