BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
Parser namespace for GMAD language. Combination of Geant4 and MAD. More...
Data Structures | |
class | Aperture |
Aperture class. More... | |
class | Array |
Representation of arrays used in tokens. More... | |
struct | Atom |
Atom class. More... | |
class | Beam |
Beam class. More... | |
class | BeamBase |
Options for a beam distribution. More... | |
class | BLMPlacement |
blm for parser. More... | |
class | CavityModel |
RF CavityModel class for parser. More... | |
class | Crystal |
Crystal class for parser. More... | |
struct | Element |
Element class. More... | |
class | FastList |
List with Efficient Lookup. More... | |
class | Field |
Field class for parser. More... | |
struct | Material |
Material class. More... | |
class | Modulator |
Modulator class for parser. More... | |
class | NewColour |
Colour definition for parser. More... | |
class | Options |
Options class. More... | |
class | OptionsBase |
Basic options class independent of Geant4. More... | |
struct | Parameters |
Parameters - Element class with booleans. More... | |
class | Parser |
Parser class. More... | |
class | PhysicsBiasing |
Physics biasing class for parser. More... | |
class | Placement |
Placement class for parser. More... | |
class | Published |
Class that provides introspection to its members. More... | |
class | Query |
Query structure class for parser. More... | |
class | Region |
Region class for parser. More... | |
class | SamplerPlacement |
Sampler placement class for parser. More... | |
class | Scorer |
Scorer class for parser. More... | |
class | ScorerMesh |
ScorerMesh class for parser. More... | |
class | SymbolMap |
Class that hold the symbol table. More... | |
class | Symtab |
Common header for the lexer and the parser to share Symbol table for numeric variables, strings, arrays and functions. More... | |
class | Tunnel |
Tunnel class for parser. More... | |
Enumerations | |
enum class | ElementType { _NONE = -1 , _MARKER = 1 , _DRIFT = 2 , _RF = 3 , _SBEND = 4 , _QUAD = 5 , _SEXTUPOLE = 6 , _OCTUPOLE = 7 , _DECAPOLE = 8 , _MULT = 9 , _SOLENOID = 10 , _LINE = 11 , _REV_LINE = -11 , _ECOL = 13 , _RCOL = 14 , _LASER = 15 , _MATERIAL = 16 , _RBEND = 17 , _ELEMENT = 20 , _SCREEN = 21 , _AWAKESCREEN = 22 , _AWAKESPECTROMETER = 23 , _SHIELD = 24 , _VKICKER = 31 , _HKICKER = 32 , _KICKER = 33 , _TKICKER = 34 , _TRANSFORM3D = 61 , _MUONSPOILER = 62 , _DEGRADER = 63 , _THINMULT = 64 , _GAP = 65 , _THINRMATRIX = 66 , _PARALLELTRANSPORTER = 67 , _RMATRIX = 68 , _CRYSTALCOL = 69 , _UNDULATOR = 70 , _JCOL = 71 , _WIRESCANNER = 72 , _USERCOMPONENT = 73 , _DUMP = 74 , _CT = 75 , _TARGET = 76 , _RFX = 77 , _RFY = 78 } |
types of elements More... | |
enum class | PhysicsBiasingType { ALL =1 , PRIMARY =2 , SECONDARY =3 } |
Functions | |
std::string | typestr (ElementType type) |
conversion from enum to string | |
std::ostream & | operator<< (std::ostream &out, ElementType type) |
output operator | |
std::vector< std::string > | include_filename_stack (max_include_depth) |
int | GmadParser_c (char *name) |
int | GetNElements () |
Length of list. | |
int | GetType (int) |
Type of element. | |
const char * | GetName (int) |
Name of element. | |
double | GetLength (int) |
Length of element. | |
double | GetAngle (int) |
Angle of element. | |
double * | GetKs (int) |
All magnetic ks. | |
double | GetAper1 (int) |
Aperture 1. | |
double | GetAper2 (int) |
Aperture 2. | |
double | GetAper3 (int) |
Aperture 3. | |
double | GetAper4 (int) |
Aperture 4. | |
const char * | GetApertureType (int) |
Aperture Type. | |
double | GetBeampipeThickness (int) |
Beam Pipe Thickness. | |
Variables | |
bool | willExit |
std::string | yyfilename |
const int | max_include_depth = 10 |
YY_BUFFER_STATE | include_stack [max_include_depth] |
int | include_linenum_stack [max_include_depth] |
int | include_stack_ptr = 0 |
int | line_num = 1 |
|
strong |
types of elements
Definition at line 28 of file elementtype.h.
|
strong |
Definition at line 33 of file physicsbiasing.h.
const char * GMAD::GetApertureType | ( | int | i | ) |
double GMAD::GetBeampipeThickness | ( | int | i | ) |
int GMAD::GmadParser_c | ( | char * | name | ) |
std::ostream & GMAD::operator<< | ( | std::ostream & | out, |
ElementType | type | ||
) |
output operator
Definition at line 24 of file elementtype.cc.
References typestr().
std::string GMAD::typestr | ( | ElementType | type | ) |
conversion from enum to string
Definition at line 29 of file elementtype.cc.
Referenced by operator<<(), and BDSComponentFactory::PrepareColour().