|
OPALX (Object Oriented Parallel Accelerator Library for Exascale) MINIorX
OPALX
|
#include <ProbeRep.h>


Public Member Functions | |
| ProbeRep (const std::string &name) | |
| Constructor with given name. More... | |
| ProbeRep () | |
| ProbeRep (const ProbeRep &) | |
| virtual | ~ProbeRep () |
| virtual ElementBase * | clone () const |
| Return clone. More... | |
| virtual Channel * | getChannel (const std::string &aKey, bool=false) |
| Construct a read/write channel. More... | |
| virtual NullField & | getField () |
| Get field. More... | |
| virtual const NullField & | getField () const |
| Get field. More... | |
| virtual StraightGeometry & | getGeometry () |
| Get geometry. More... | |
| virtual const StraightGeometry & | getGeometry () const |
| Get geometry. More... | |
| virtual void | setActive (bool=true) |
| Set active flag. More... | |
| virtual void | accept (BeamlineVisitor &) const override |
| Apply visitor to Probe. More... | |
| void | setStep (double step) |
| Set probe histogram bin width. More... | |
| virtual ElementType | getType () const override |
| Get element type std::string. More... | |
| void | setDimensions (double xstart, double xend, double ystart, double yend) |
| Set dimensions and consistency checks. More... | |
| bool | check (PartBunch_t *bunch, const int turnnumber, const double t, const double tstep) |
| Check if bunch particles are lost. More... | |
| int | checkPoint (const double &x, const double &y) const |
| Checks if coordinate is within element. More... | |
| void | save () |
| Save output. More... | |
| EVector | Efield (const Point3D &P) const |
| Return the field in a point. More... | |
| EVector | Efield (const Point3D &P, double t) const |
| Return the field in a point. More... | |
| BVector | Bfield (const Point3D &P) const |
| Return the field in a point. More... | |
| BVector | Bfield (const Point3D &P, double t) const |
| Return the field in a point. More... | |
| EBVectors | EBfield (const Point3D &P) const |
| Return the field in a point. More... | |
| EBVectors | EBfield (const Point3D &P, double t) const |
| Return the field in a point. More... | |
| virtual bool | getPotential (const Vector_t< double, 3 > &, const double &, Vector_t< double, 3 > &, double &) |
| Calculate the four-potential at some position relative to the component. More... | |
| virtual double | getDesignEnergy () const |
| virtual void | setDesignEnergy (const double &energy, bool changeable=true) |
| virtual void | goOnline (const double &kineticEnergy) |
| virtual bool | Online () |
| virtual const ElementBase & | getDesign () const |
| Return design element. More... | |
| virtual void | trackBunch (PartBunch_t *bunch, const PartData &, bool revBeam, bool revTrack) const |
| Track particle bunch. More... | |
| virtual void | trackMap (FVps< double, 6 > &map, const PartData &, bool revBeam, bool revTrack) const |
| Track a map. More... | |
| void | setExitFaceSlope (const double &) |
| virtual const std::string & | getName () const |
| Get element name. More... | |
| virtual void | setName (const std::string &name) |
| Set element name. More... | |
| std::string | getTypeString () const |
| virtual double | getArcLength () const |
| Get arc length. More... | |
| virtual double | getElementLength () const |
| Get design length. More... | |
| virtual void | setElementLength (double length) |
| Set design length. More... | |
| virtual void | getElementDimensions (double &begin, double &end) const |
| virtual double | getOrigin () const |
| Get origin position. More... | |
| virtual double | getEntrance () const |
| Get entrance position. More... | |
| virtual double | getExit () const |
| Get exit position. More... | |
| virtual Euclid3D | getTransform (double fromS, double toS) const |
| Get transform. More... | |
| virtual Euclid3D | getTransform (double s) const |
| Get transform. More... | |
| virtual Euclid3D | getTotalTransform () const |
| Get transform. More... | |
| virtual Euclid3D | getEntranceFrame () const |
| Get transform. More... | |
| virtual Euclid3D | getExitFrame () const |
| Get transform. More... | |
| virtual Euclid3D | getEntrancePatch () const |
| Get patch. More... | |
| virtual Euclid3D | getExitPatch () const |
| Get patch. More... | |
| virtual double | getAttribute (const std::string &aKey) const |
| Get attribute value. More... | |
| virtual bool | hasAttribute (const std::string &aKey) const |
| Test for existence of an attribute. More... | |
| virtual void | removeAttribute (const std::string &aKey) |
| Remove an existing attribute. More... | |
| virtual void | setAttribute (const std::string &aKey, double val) |
| Set value of an attribute. More... | |
| virtual const ConstChannel * | getConstChannel (const std::string &aKey) const |
| Construct a read-only channel. More... | |
| virtual ElementBase * | copyStructure () |
| Make a structural copy. More... | |
| bool | isSharable () const |
| Test if the element can be shared. More... | |
| virtual void | makeSharable () |
| Set sharable flag. More... | |
| bool | update (const AttributeSet &) |
| Update element. More... | |
| virtual void | setBoundaryGeometry (BoundaryGeometry *geo) |
| attach a boundary geometry field to the element More... | |
| virtual BoundaryGeometry * | getBoundaryGeometry () const |
| return the attached boundary geometrt object if there is any More... | |
| virtual bool | hasBoundaryGeometry () const |
| virtual void | setWake (WakeFunction *wf) |
| attach a wake field to the element More... | |
| virtual WakeFunction * | getWake () const |
| return the attached wake object if there is any More... | |
| virtual bool | hasWake () const |
| virtual void | setParticleMatterInteraction (ParticleMatterInteractionHandler *spys) |
| virtual ParticleMatterInteractionHandler * | getParticleMatterInteraction () const |
| virtual bool | hasParticleMatterInteraction () const |
| void | setCSTrafoGlobal2Local (const CoordinateSystemTrafo &ori) |
| CoordinateSystemTrafo | getCSTrafoGlobal2Local () const |
| void | releasePosition () |
| void | fixPosition () |
| bool | isPositioned () const |
| virtual CoordinateSystemTrafo | getEdgeToBegin () const |
| virtual CoordinateSystemTrafo | getEdgeToEnd () const |
| void | setAperture (const ApertureType &type, const std::vector< double > &args) |
| std::pair< ApertureType, std::vector< double > > | getAperture () const |
| virtual bool | isInside (const Vector_t< double, 3 > &r) const |
| void | setMisalignment (const CoordinateSystemTrafo &cst) |
| void | getMisalignment (double &x, double &y, double &s) const |
| CoordinateSystemTrafo | getMisalignment () const |
| void | setActionRange (const std::queue< std::pair< double, double > > &range) |
| void | setCurrentSCoordinate (double s) |
| void | setRotationAboutZ (double rotation) |
| Set rotation about z axis in bend frame. More... | |
| double | getRotationAboutZ () const |
| virtual BoundingBox | getBoundingBoxInLabCoords () const |
| virtual int | getRequiredNumberOfTimeSteps () const |
| void | setOutputFN (std::string fn) |
| Set output filename. More... | |
| std::string | getOutputFN () const |
| Get output filename. More... | |
| void | setFlagDeleteOnTransverseExit (bool=true) |
| bool | getFlagDeleteOnTransverseExit () const |
| int | addReference () const |
| Increment reference count. More... | |
| int | removeReference () const |
| Decrement the reference count. More... | |
| bool | isShared () const |
| Test for sharing. More... | |
| virtual double | getStep () const |
| Member variable access. More... | |
| virtual void | initialise (PartBunch_t *bunch, double &startField, double &endField) override |
| Pure virtual implementation of Component. More... | |
| void | initialise (PartBunch_t *bunch) |
| virtual void | finalise () final |
| virtual void | goOffline () final |
| virtual bool | bends () const override |
| virtual void | getDimensions (double &zBegin, double &zEnd) const override |
| virtual bool | apply (const size_t &i, const double &t, Vector_t< double, 3 > &E, Vector_t< double, 3 > &B) override |
| Virtual implementation of Component. More... | |
| virtual bool | apply (const Vector_t< double, 3 > &R, const Vector_t< double, 3 > &P, const double &t, Vector_t< double, 3 > &E, Vector_t< double, 3 > &B) |
| virtual bool | applyToReferenceParticle (const Vector_t< double, 3 > &R, const Vector_t< double, 3 > &P, const double &t, Vector_t< double, 3 > &E, Vector_t< double, 3 > &B) override |
| double | getXStart () const |
| Member variable access. More... | |
| double | getXEnd () const |
| double | getYStart () const |
| double | getYEnd () const |
| void | setElementPosition (double elemedge) |
| Access to ELEMEDGE attribute. More... | |
| double | getElementPosition () const |
| bool | isElementPositionSet () const |
Static Public Member Functions | |
| static std::string | getTypeString (ElementType type) |
Protected Member Functions | |
| void | setGeom (const double dist) |
| Sets geometry geom_m with element width dist. More... | |
| void | changeWidth (PartBunch_t *bunch, int i, const double tstep, const double tangle) |
| Change probe width depending on step size and angle of particle. More... | |
| double | calculateIncidentAngle (double xp, double yp) const |
| Calculate angle of particle/bunch wrt to element. More... | |
| bool | isInsideTransverse (const Vector_t< double, 3 > &r) const |
Protected Attributes | |
| NullField | field |
| The zero magnetic field. More... | |
| StraightGeometry | geometry |
| The probe's geometry. More... | |
| bool | active |
| The active/inactive flag. More... | |
| double | rmin_m |
| radius closest to the origin More... | |
| Point | geom_m [5] |
| actual geometry positions with adaptive width such that each particle hits element once per turn More... | |
| double | A_m |
| double | B_m |
| double | R_m |
| double | C_m |
| Geometric lengths used in calculations. More... | |
| std::unique_ptr< LossDataSink > | lossDs_m |
| Pointer to Loss instance. More... | |
| int | numPassages_m = 0 |
| Number of turns (number of times save() method is called) More... | |
| double | exit_face_slope_m |
| PartBunch_t * | RefPartBunch_m |
| bool | online_m |
| bool | shareFlag |
| CoordinateSystemTrafo | csTrafoGlobal2Local_m |
| CoordinateSystemTrafo | misalignment_m |
| std::pair< ApertureType, std::vector< double > > | aperture_m |
| double | elementEdge_m |
| double | rotationZAxis_m |
| double | xstart_m |
| input geometry positions More... | |
| double | xend_m |
| double | ystart_m |
| double | yend_m |
| double | rstart_m |
| double | rend_m |
Static Protected Attributes | |
| static const std::vector< double > | defaultAperture_m = std::vector<double>({1e6, 1e6, 1.0}) |
Private Member Functions | |
| void | operator= (const ProbeRep &) |
| virtual void | doInitialise (PartBunch_t *bunch) override |
| Initialise peakfinder file. More... | |
| virtual bool | doCheck (PartBunch_t *bunch, const int turnnumber, const double t, const double tstep) override |
| Record probe hits when bunch particles pass. More... | |
| virtual void | doGoOffline () override |
| Hook for goOffline. More... | |
| virtual bool | doPreCheck (PartBunch_t *) override |
| Virtual hook for preCheck. More... | |
| bool | preCheck (PartBunch_t *bunch) |
| Check if bunch is close to element. More... | |
| bool | finaliseCheck (PartBunch_t *bunch, bool flagNeedUpdate) |
| Finalise call after check. More... | |
| virtual void | doSetGeom () |
| Virtual hook for setGeom. More... | |
| virtual bool | doFinaliseCheck (PartBunch_t *, bool flagNeedUpdate) |
| Virtual hook for finaliseCheck. More... | |
| virtual void | doFinalise () |
| Virtual hook for finalise. More... | |
Private Attributes | |
| double | step_m |
| Step size of the probe (bin width in histogram file) More... | |
| std::unique_ptr< PeakFinder > | peakfinder_m |
| Pointer to Peakfinder instance. More... | |
| std::string | elementID |
| AttributeSet | userAttribs |
| WakeFunction * | wake_m |
| BoundaryGeometry * | bgeometry_m |
| ParticleMatterInteractionHandler * | parmatint_m |
| bool | positionIsFixed |
| std::queue< std::pair< double, double > > | actionRange_m |
| std::string | outputfn_m |
| The name of the outputfile. More... | |
| bool | deleteOnTransverseExit_m = true |
| int | refCount |
| double | elementPosition_m |
| ELEMEDGE attribute. More... | |
| bool | elemedgeSet_m |
Static Private Attributes | |
| static const std::map< ElementType, std::string > | elementTypeToString_s |
Definition at line 25 of file ProbeRep.h.
|
explicit |
Constructor with given name.
Definition at line 50 of file ProbeRep.cpp.
| ProbeRep::ProbeRep | ( | ) |
Definition at line 40 of file ProbeRep.cpp.
Referenced by clone().
| ProbeRep::ProbeRep | ( | const ProbeRep & | right | ) |
Definition at line 45 of file ProbeRep.cpp.
|
virtual |
Definition at line 55 of file ProbeRep.cpp.
|
overridevirtualinherited |
Apply visitor to Probe.
Implements ElementBase.
Definition at line 40 of file Probe.cpp.
References BeamlineVisitor::visitProbe().

|
inlineinherited |
Increment reference count.
Definition at line 83 of file RCObject.h.
References RCObject::refCount.
Referenced by Pointer< Object >::operator=(), and Pointer< Object >::unique().
|
overridevirtualinherited |
Virtual implementation of Component.
Reimplemented from Component.
Definition at line 75 of file PluginElement.cpp.
|
virtualinherited |
Reimplemented from Component.
Definition at line 80 of file PluginElement.cpp.
|
overridevirtualinherited |
Reimplemented from Component.
Definition at line 88 of file PluginElement.cpp.
|
overridevirtualinherited |
Implements Component.
Definition at line 71 of file PluginElement.cpp.
Return the field in a point.
Definition at line 196 of file Component.h.
References EMField::Bfield(), and Component::getField().

Return the field in a point.
Definition at line 204 of file Component.h.
References EMField::Bfield(), and Component::getField().

|
protectedinherited |
Calculate angle of particle/bunch wrt to element.
Definition at line 162 of file PluginElement.cpp.
References PluginElement::A_m, and PluginElement::B_m.
Referenced by Probe::doCheck().
|
protectedinherited |
Change probe width depending on step size and angle of particle.
Definition at line 152 of file PluginElement.cpp.
References Physics::c, dot(), Util::getGamma(), PartBunch< PLayout, T, Dim >::P, Units::s2ns, and PluginElement::setGeom().
Referenced by Probe::doCheck().

|
inherited |
Check if bunch particles are lost.
Definition at line 203 of file PluginElement.cpp.
References PluginElement::doCheck(), PluginElement::finaliseCheck(), and PluginElement::preCheck().

|
inherited |
Checks if coordinate is within element.
Definition at line 223 of file PluginElement.cpp.
References PluginElement::geom_m, and Point::y.
Referenced by Probe::doCheck().
|
virtual |
Return clone.
Implements ElementBase.
Definition at line 59 of file ProbeRep.cpp.
References ProbeRep().

|
virtualinherited |
Make a structural copy.
Reimplemented in TBeamline< T >.
Definition at line 204 of file ElementBase.cpp.
References ElementBase::clone(), and ElementBase::isSharable().
Referenced by Sequence::copy(), Line::parse(), SequenceParser::parseMember(), and Replacer::visitFlaggedElmPtr().

|
overrideprivatevirtualinherited |
Record probe hits when bunch particles pass.
Implements PluginElement.
Definition at line 82 of file Probe.cpp.
References PluginElement::A_m, PluginElement::B_m, PluginElement::C_m, PluginElement::calculateIncidentAngle(), PluginElement::changeWidth(), PluginElement::checkPoint(), dot(), PartBunch< PLayout, T, Dim >::getLocalNum(), Units::m2mm, PartBunch< PLayout, T, Dim >::P, Probe::peakfinder_m, PartBunch< PLayout, T, Dim >::R(), and PluginElement::R_m.

|
inlineprivatevirtualinherited |
Virtual hook for finalise.
Definition at line 110 of file PluginElement.h.
Referenced by PluginElement::finalise().
|
inlineprivatevirtualinherited |
Virtual hook for finaliseCheck.
Definition at line 106 of file PluginElement.h.
Referenced by PluginElement::finaliseCheck().
|
overrideprivatevirtualinherited |
Hook for goOffline.
Reimplemented from PluginElement.
Definition at line 50 of file Probe.cpp.
References endl(), ElementBase::getName(), gmsg, Component::online_m, and Probe::peakfinder_m.

|
overrideprivatevirtualinherited |
Initialise peakfinder file.
Reimplemented from PluginElement.
Definition at line 44 of file Probe.cpp.
References ElementBase::getOutputFN(), PartBunch< PLayout, T, Dim >::getTotalNum(), Probe::peakfinder_m, PluginElement::rend_m, PluginElement::rmin_m, and Probe::step_m.

|
overrideprivatevirtualinherited |
Virtual hook for preCheck.
Reimplemented from PluginElement.
Definition at line 65 of file Probe.cpp.
References PartBunch< PLayout, T, Dim >::get_bounds(), ippl::max(), ippl::min(), PluginElement::rend_m, and PluginElement::rmin_m.

|
inlineprivatevirtualinherited |
Virtual hook for setGeom.
Definition at line 100 of file PluginElement.h.
Referenced by PluginElement::setGeom().
Return the field in a point.
Definition at line 208 of file Component.h.
References EMField::EBfield(), and Component::getField().

Return the field in a point.
Definition at line 212 of file Component.h.
References EMField::EBfield(), and Component::getField().

Return the field in a point.
Definition at line 192 of file Component.h.
References EMField::Efield(), and Component::getField().

Return the field in a point.
Definition at line 200 of file Component.h.
References EMField::Efield(), and Component::getField().

|
finalvirtualinherited |
Implements Component.
Definition at line 57 of file PluginElement.cpp.
References PluginElement::doFinalise(), PluginElement::goOffline(), and Component::online_m.

|
inlineprivateinherited |
Finalise call after check.
Definition at line 90 of file PluginElement.h.
References PluginElement::doFinaliseCheck().
Referenced by PluginElement::check().

|
inlineinherited |
Definition at line 521 of file ElementBase.h.
References ElementBase::positionIsFixed.
Referenced by OpalElement::update().
|
inlineinherited |
Definition at line 500 of file ElementBase.h.
References ElementBase::aperture_m.
Referenced by MeshGenerator::add(), and Offset::operator=().
|
inlinevirtualinherited |
Get arc length.
Reimplemented in MarkerRep, and TBeamline< T >.
Definition at line 392 of file ElementBase.h.
References BGeometryBase::getArcLength(), and ElementBase::getGeometry().
Referenced by BeamlineGeometry::getArcLength(), and TBeamline< T >::getTransform().

|
virtualinherited |
Get attribute value.
Definition at line 153 of file ElementBase.cpp.
References ElementBase::getConstChannel().

|
inlinevirtualinherited |
return the attached boundary geometrt object if there is any
Definition at line 456 of file ElementBase.h.
References ElementBase::bgeometry_m.
|
virtualinherited |
Definition at line 272 of file ElementBase.cpp.
References ElementBase::aperture_m, ElementBase::csTrafoGlobal2Local_m, BoundingBox::getBoundingBox(), ElementBase::getEdgeToBegin(), ElementBase::getEdgeToEnd(), and CoordinateSystemTrafo::transformFrom().

|
virtual |
Construct a read/write channel.
Reimplemented from ElementBase.
Definition at line 64 of file ProbeRep.cpp.
References ElementBase::getChannel().

|
virtualinherited |
Construct a read-only channel.
Definition at line 194 of file ElementBase.cpp.
References ElementBase::getChannel().
Referenced by ElementBase::getAttribute(), and ElementBase::hasAttribute().

|
inlineinherited |
Definition at line 479 of file ElementBase.h.
References ElementBase::csTrafoGlobal2Local_m.
Referenced by MeshGenerator::add().
|
virtualinherited |
Return design element.
Definition at line 52 of file Component.cpp.
|
inlinevirtualinherited |
Reimplemented in RFCavity.
Definition at line 231 of file Component.h.
|
overridevirtualinherited |
Implements Component.
Definition at line 218 of file PluginElement.cpp.
|
inlinevirtualinherited |
Reimplemented in RFCavity, Solenoid, and TravelingWave.
Definition at line 483 of file ElementBase.h.
Referenced by ElementBase::getBoundingBoxInLabCoords(), and ElementBase::isInsideTransverse().
|
inlinevirtualinherited |
Reimplemented in RFCavity, Solenoid, and TravelingWave.
Definition at line 488 of file ElementBase.h.
References ElementBase::getElementLength().
Referenced by ElementBase::getBoundingBoxInLabCoords().

|
inlinevirtualinherited |
Reimplemented in RFCavity, TravelingWave, and Solenoid.
Definition at line 159 of file ElementBase.h.
References begin(), end(), and ElementBase::getElementLength().
Referenced by MeshGenerator::add().

|
inlinevirtualinherited |
Get design length.
Reimplemented in MarkerRep, TBeamline< T >, and RFCavity.
Definition at line 396 of file ElementBase.h.
References BGeometryBase::getElementLength(), and ElementBase::getGeometry().
Referenced by Multipole::apply(), Component::apply(), Corrector::apply(), Solenoid::apply(), Component::applyToReferenceParticle(), Multipole::applyToReferenceParticle(), Solenoid::applyToReferenceParticle(), Corrector::getDimensions(), Drift::getDimensions(), Multipole::getDimensions(), Solenoid::getDimensions(), ElementBase::getEdgeToEnd(), Solenoid::getEdgeToEnd(), ElementBase::getElementDimensions(), Solenoid::getElementDimensions(), BeamlineGeometry::getElementLength(), RFCavity::getElementLength(), Corrector::initialise(), Drift::initialise(), Multipole::initialise(), Solenoid::initialise(), ElementBase::isInside(), Monitor::isInside(), Multipole::isInside(), and ElementBase::isInsideTransverse().

|
inlineinherited |
Definition at line 553 of file ElementBase.h.
References ElementBase::elemedgeSet_m, ElementBase::elementPosition_m, and ElementBase::getName().

|
inlinevirtualinherited |
Get entrance position.
Reimplemented in TBeamline< T >.
Definition at line 408 of file ElementBase.h.
References BGeometryBase::getEntrance(), and ElementBase::getGeometry().
Referenced by BeamlineGeometry::getEntrance().

|
inlinevirtualinherited |
Get transform.
Reimplemented in TBeamline< T >.
Definition at line 428 of file ElementBase.h.
References BGeometryBase::getEntranceFrame(), and ElementBase::getGeometry().
Referenced by BeamlineGeometry::getEntranceFrame().

|
inlinevirtualinherited |
Get patch.
Definition at line 436 of file ElementBase.h.
References BGeometryBase::getEntrancePatch(), and ElementBase::getGeometry().

|
inlinevirtualinherited |
Get exit position.
Reimplemented in TBeamline< T >.
Definition at line 412 of file ElementBase.h.
References BGeometryBase::getExit(), and ElementBase::getGeometry().
Referenced by BeamlineGeometry::getExit().

|
inlinevirtualinherited |
Get transform.
Reimplemented in TBeamline< T >.
Definition at line 432 of file ElementBase.h.
References BGeometryBase::getExitFrame(), and ElementBase::getGeometry().
Referenced by BeamlineGeometry::getExitFrame().

|
inlinevirtualinherited |
Get patch.
Definition at line 440 of file ElementBase.h.
References BGeometryBase::getExitPatch(), and ElementBase::getGeometry().

|
virtual |
|
virtual |
|
inlineinherited |
Definition at line 574 of file ElementBase.h.
References ElementBase::deleteOnTransverseExit_m.
Referenced by Multipole::apply(), Corrector::apply(), MultipoleTBase::apply(), MultipoleT::apply(), RFCavity::apply(), Solenoid::apply(), and TravelingWave::apply().
|
virtual |
Get geometry.
Get geometry.
Implements ElementBase.
Definition at line 82 of file ProbeRep.cpp.
References geometry.
|
virtual |
Get geometry.
Implements ElementBase.
Definition at line 86 of file ProbeRep.cpp.
References geometry.
|
inlineinherited |
Definition at line 513 of file ElementBase.h.
References ElementBase::misalignment_m.
|
inherited |
|
virtualinherited |
Get element name.
Definition at line 132 of file ElementBase.cpp.
References ElementBase::elementID.
Referenced by Ring::appendElement(), Ring::apply(), Probe::doGoOffline(), PlaceRep::enter(), ElementBase::getElementPosition(), RFCavity::getMomentaKick(), ElementBase::getOutputFN(), CavityAutophaser::getPhaseAtMaxEnergy(), Selector::handleElement(), Ring::initialise(), RFCavity::initialise(), Solenoid::initialise(), PlaceRep::leave(), operator<<(), Offset::operator=(), operator==(), Sequence::print(), Component::trackBunch(), Component::trackMap(), Sequence::updateList(), ParallelTracker::updateRFElement(), and Replacer::visitFlaggedElmPtr().
|
inlinevirtualinherited |
Get origin position.
Reimplemented in TBeamline< T >.
Definition at line 404 of file ElementBase.h.
References ElementBase::getGeometry(), and BGeometryBase::getOrigin().
Referenced by BeamlineGeometry::getOrigin().

|
inherited |
Get output filename.
Definition at line 144 of file ElementBase.cpp.
References ElementBase::getName(), and ElementBase::outputfn_m.
Referenced by Probe::doInitialise(), PluginElement::initialise(), and Monitor::initialise().

|
inlinevirtualinherited |
Definition at line 464 of file ElementBase.h.
References ElementBase::parmatint_m.
|
inlinevirtualinherited |
Calculate the four-potential at some position relative to the component.
| R | position in the local coordinate system of the component |
| t | time |
| A | filled with the calculated magnetic vector potential |
| phi | filled with the calculated electric potential Note that any existing values in A and phi may be overwritten by this method. |
Definition at line 122 of file Component.h.
|
inlinevirtualinherited |
Reimplemented in Drift, Marker, and Monitor.
Definition at line 566 of file ElementBase.h.
|
inlineinherited |
Definition at line 540 of file ElementBase.h.
References ElementBase::rotationZAxis_m.
|
virtualinherited |
|
inlinevirtualinherited |
Get transform.
Reimplemented in TBeamline< T >.
Definition at line 420 of file ElementBase.h.
References ElementBase::getGeometry(), and BGeometryBase::getTotalTransform().
Referenced by BeamlineGeometry::getTotalTransform().

|
inlinevirtualinherited |
Get transform.
Reimplemented in TBeamline< T >.
Definition at line 416 of file ElementBase.h.
References ElementBase::getGeometry(), and BGeometryBase::getTransform().
Referenced by BeamlineGeometry::getTransform(), and TBeamline< T >::getTransform().

|
inlinevirtualinherited |
Get transform.
Reimplemented in TBeamline< T >.
Definition at line 424 of file ElementBase.h.
References ElementBase::getGeometry(), and BGeometryBase::getTransform().

|
overridevirtualinherited |
|
inlineinherited |
Definition at line 544 of file ElementBase.h.
References ElementBase::getType(), and ElementBase::getTypeString().
Referenced by ElementBase::getTypeString().

|
staticinherited |
Definition at line 200 of file ElementBase.cpp.
References ElementBase::elementTypeToString_s.
|
inlinevirtualinherited |
return the attached wake object if there is any
Definition at line 448 of file ElementBase.h.
References ElementBase::wake_m.
|
inherited |
Definition at line 191 of file PluginElement.cpp.
References PluginElement::xend_m.
|
inherited |
Member variable access.
Definition at line 187 of file PluginElement.cpp.
References PluginElement::xstart_m.
|
inherited |
Definition at line 199 of file PluginElement.cpp.
References PluginElement::yend_m.
|
inherited |
Definition at line 195 of file PluginElement.cpp.
References PluginElement::ystart_m.
|
finalvirtualinherited |
Reimplemented from Component.
Definition at line 63 of file PluginElement.cpp.
References PluginElement::doGoOffline(), PluginElement::lossDs_m, and Component::online_m.
Referenced by PluginElement::finalise(), and PluginElement::~PluginElement().

|
virtualinherited |
Reimplemented in Corrector, Monitor, RFCavity, Solenoid, and TravelingWave.
Definition at line 64 of file Component.cpp.
References Component::online_m.
Referenced by PluginElement::initialise().
|
virtualinherited |
Test for existence of an attribute.
Definition at line 165 of file ElementBase.cpp.
References ElementBase::getConstChannel().

|
inlinevirtualinherited |
Definition at line 460 of file ElementBase.h.
References ElementBase::bgeometry_m.
|
inlinevirtualinherited |
Definition at line 468 of file ElementBase.h.
References ElementBase::parmatint_m.
|
inlinevirtualinherited |
Definition at line 452 of file ElementBase.h.
References ElementBase::wake_m.
|
inherited |
Definition at line 49 of file PluginElement.cpp.
References Options::asciidump, PluginElement::doInitialise(), ElementBase::getOutputFN(), Component::goOnline(), PluginElement::lossDs_m, and Component::RefPartBunch_m.

|
overridevirtualinherited |
Pure virtual implementation of Component.
Implements Component.
Definition at line 45 of file PluginElement.cpp.
References PluginElement::initialise().
Referenced by PluginElement::initialise().

|
inlineinherited |
Definition at line 562 of file ElementBase.h.
References ElementBase::elemedgeSet_m.
|
inlinevirtualinherited |
Reimplemented in Monitor, Multipole, RFCavity, Solenoid, and TravelingWave.
Definition at line 504 of file ElementBase.h.
References ElementBase::getElementLength(), and ElementBase::isInsideTransverse().

|
protectedinherited |
Definition at line 245 of file ElementBase.cpp.
References ElementBase::aperture_m, CONIC_ELLIPTICAL, CONIC_RECTANGULAR, ELLIPTICAL, ElementBase::getEdgeToBegin(), ElementBase::getElementLength(), RECTANGULAR, and CoordinateSystemTrafo::transformTo().
Referenced by Multipole::apply(), Component::apply(), Corrector::apply(), Component::applyToReferenceParticle(), Multipole::applyToReferenceParticle(), ElementBase::isInside(), Monitor::isInside(), Multipole::isInside(), RFCavity::isInside(), Solenoid::isInside(), and TravelingWave::isInside().

|
inlineinherited |
Definition at line 525 of file ElementBase.h.
References ElementBase::positionIsFixed.
|
inlineinherited |
Test if the element can be shared.
Definition at line 444 of file ElementBase.h.
References ElementBase::shareFlag.
Referenced by ElementBase::copyStructure(), and Sequence::updateList().
|
inlineinherited |
|
virtualinherited |
Set sharable flag.
Reimplemented in TBeamline< T >.
Definition at line 212 of file ElementBase.cpp.
References ElementBase::shareFlag.
Referenced by OpalMarker::OpalMarker().
|
virtualinherited |
Definition at line 72 of file Component.cpp.
References Component::online_m.
|
private |
|
inlineprivateinherited |
Check if bunch is close to element.
Definition at line 86 of file PluginElement.h.
References PluginElement::doPreCheck().
Referenced by PluginElement::check().

|
inlineinherited |
Definition at line 517 of file ElementBase.h.
References ElementBase::positionIsFixed.
|
virtualinherited |
Remove an existing attribute.
Definition at line 176 of file ElementBase.cpp.
References AttributeSet::removeAttribute(), and ElementBase::userAttribs.

|
inlineinherited |
Decrement the reference count.
Definition at line 88 of file RCObject.h.
References RCObject::refCount.
|
inherited |
Save output.
Definition at line 236 of file PluginElement.cpp.
References OpalData::APPEND, OpalData::getInstance(), OpalData::getOpenMode(), PluginElement::lossDs_m, and PluginElement::numPassages_m.

|
inlineinherited |
Definition at line 529 of file ElementBase.h.
References ElementBase::actionRange_m, and ElementBase::elementEdge_m.
|
virtual |
|
inlineinherited |
Definition at line 495 of file ElementBase.h.
References ElementBase::aperture_m.
Referenced by Component::Component(), Offset::operator=(), and OpalElement::update().
|
virtualinherited |
Set value of an attribute.
Definition at line 180 of file ElementBase.cpp.
References endl(), ElementBase::getChannel(), and Channel::isSettable().
Referenced by ElementBase::update(), and OpalElement::updateUnknown().

|
virtualinherited |
attach a boundary geometry field to the element
Definition at line 228 of file ElementBase.cpp.
References ElementBase::bgeometry_m.
|
inlineinherited |
Definition at line 472 of file ElementBase.h.
References ElementBase::csTrafoGlobal2Local_m, and ElementBase::positionIsFixed.
Referenced by OpalElement::update().
|
inherited |
Definition at line 236 of file ElementBase.cpp.
References ElementBase::actionRange_m, and ElementBase::elementEdge_m.
|
inlinevirtualinherited |
Reimplemented in Corrector, and RFCavity.
Definition at line 228 of file Component.h.
|
inherited |
Set dimensions and consistency checks.
Definition at line 94 of file PluginElement.cpp.
References PluginElement::A_m, PluginElement::B_m, PluginElement::C_m, ippl::max(), ippl::min(), PluginElement::R_m, PluginElement::rend_m, PluginElement::rmin_m, PluginElement::rstart_m, PluginElement::xend_m, PluginElement::xstart_m, PluginElement::yend_m, and PluginElement::ystart_m.
Referenced by PluginElement::PluginElement(), and OpalProbe::update().

|
inlinevirtualinherited |
Set design length.
Definition at line 400 of file ElementBase.h.
References ElementBase::getGeometry(), and BGeometryBase::setElementLength().
Referenced by RFCavity::initialise(), Solenoid::initialise(), TravelingWave::initialise(), SequenceMember::setLength(), OpalCavity::update(), OpalMonitor::update(), OpalMultipoleT::update(), OpalProbe::update(), OpalSolenoid::update(), and OpalTravelingWave::update().

|
inlineinherited |
Access to ELEMEDGE attribute.
Definition at line 548 of file ElementBase.h.
References ElementBase::elemedgeSet_m, and ElementBase::elementPosition_m.
Referenced by OpalElement::update().
|
inlineinherited |
Definition at line 224 of file Component.h.
References Component::exit_face_slope_m.
|
inlineinherited |
Definition at line 570 of file ElementBase.h.
References ElementBase::deleteOnTransverseExit_m.
Referenced by OpalElement::update().
|
protectedinherited |
Sets geometry geom_m with element width dist.
Definition at line 124 of file PluginElement.cpp.
References PluginElement::doSetGeom(), PluginElement::geom_m, Point::x, PluginElement::xend_m, PluginElement::xstart_m, Point::y, PluginElement::yend_m, and PluginElement::ystart_m.
Referenced by PluginElement::changeWidth().

|
inlineinherited |
Definition at line 509 of file ElementBase.h.
References ElementBase::misalignment_m.
Referenced by OpalElement::update().
|
virtualinherited |
Set element name.
Definition at line 136 of file ElementBase.cpp.
References ElementBase::elementID.
Referenced by Sequence::insertDrifts(), Offset::Offset(), and Offset::operator=().
|
inherited |
Set output filename.
Definition at line 140 of file ElementBase.cpp.
References ElementBase::outputfn_m.
Referenced by OpalMonitor::update(), and OpalProbe::update().
|
virtualinherited |
Definition at line 232 of file ElementBase.cpp.
References ElementBase::parmatint_m.
|
inlineinherited |
Set rotation about z axis in bend frame.
Definition at line 536 of file ElementBase.h.
References ElementBase::rotationZAxis_m.
Referenced by OpalElement::update().
|
inherited |
Set probe histogram bin width.
Definition at line 57 of file Probe.cpp.
References Probe::step_m.
Referenced by OpalProbe::update().
|
virtualinherited |
attach a wake field to the element
Definition at line 224 of file ElementBase.cpp.
References ElementBase::wake_m.
|
virtualinherited |
Track particle bunch.
Definition at line 56 of file Component.cpp.
References ElementBase::getName().
Referenced by Tracker::visitComponent().

|
virtualinherited |
Track a map.
Definition at line 60 of file Component.cpp.
References ElementBase::getName().

|
inherited |
Update element.
Definition at line 216 of file ElementBase.cpp.
References AttributeSet::begin(), AttributeSet::end(), and ElementBase::setAttribute().

|
protectedinherited |
Definition at line 127 of file PluginElement.h.
Referenced by PluginElement::calculateIncidentAngle(), Probe::doCheck(), and PluginElement::setDimensions().
|
privateinherited |
Definition at line 382 of file ElementBase.h.
Referenced by ElementBase::setActionRange(), and ElementBase::setCurrentSCoordinate().
|
protected |
|
protectedinherited |
Definition at line 353 of file ElementBase.h.
Referenced by ElementBase::getAperture(), ElementBase::getBoundingBoxInLabCoords(), ElementBase::isInsideTransverse(), and ElementBase::setAperture().
|
protectedinherited |
Definition at line 127 of file PluginElement.h.
Referenced by PluginElement::calculateIncidentAngle(), Probe::doCheck(), and PluginElement::setDimensions().
|
privateinherited |
Definition at line 373 of file ElementBase.h.
Referenced by ElementBase::getBoundaryGeometry(), ElementBase::hasBoundaryGeometry(), and ElementBase::setBoundaryGeometry().
|
protectedinherited |
Geometric lengths used in calculations.
Definition at line 127 of file PluginElement.h.
Referenced by Probe::doCheck(), and PluginElement::setDimensions().
|
protectedinherited |
Definition at line 350 of file ElementBase.h.
Referenced by ElementBase::getBoundingBoxInLabCoords(), ElementBase::getCSTrafoGlobal2Local(), and ElementBase::setCSTrafoGlobal2Local().
|
staticprotectedinherited |
Definition at line 181 of file Component.h.
Referenced by Component::Component().
|
privateinherited |
Definition at line 386 of file ElementBase.h.
Referenced by ElementBase::getFlagDeleteOnTransverseExit(), and ElementBase::setFlagDeleteOnTransverseExit().
|
privateinherited |
Definition at line 380 of file ElementBase.h.
Referenced by ElementBase::getElementPosition(), ElementBase::isElementPositionSet(), and ElementBase::setElementPosition().
|
protectedinherited |
Definition at line 355 of file ElementBase.h.
Referenced by ElementBase::setActionRange(), and ElementBase::setCurrentSCoordinate().
|
privateinherited |
Definition at line 364 of file ElementBase.h.
Referenced by ElementBase::getName(), and ElementBase::setName().
|
privateinherited |
ELEMEDGE attribute.
Definition at line 379 of file ElementBase.h.
Referenced by ElementBase::getElementPosition(), and ElementBase::setElementPosition().
|
staticprivateinherited |
Definition at line 366 of file ElementBase.h.
Referenced by ElementBase::getTypeString().
|
protectedinherited |
Definition at line 183 of file Component.h.
Referenced by Component::setExitFaceSlope().
|
protected |
|
protectedinherited |
actual geometry positions with adaptive width such that each particle hits element once per turn
Definition at line 125 of file PluginElement.h.
Referenced by PluginElement::checkPoint(), and PluginElement::setGeom().
|
protected |
|
protectedinherited |
Pointer to Loss instance.
Definition at line 129 of file PluginElement.h.
Referenced by PluginElement::goOffline(), PluginElement::initialise(), and PluginElement::save().
|
protectedinherited |
Definition at line 351 of file ElementBase.h.
Referenced by ElementBase::getMisalignment(), and ElementBase::setMisalignment().
|
protectedinherited |
Number of turns (number of times save() method is called)
Definition at line 130 of file PluginElement.h.
Referenced by PluginElement::save().
|
protectedinherited |
Definition at line 186 of file Component.h.
Referenced by Probe::doGoOffline(), PluginElement::finalise(), Multipole::finalise(), Ring::finalise(), Component::goOffline(), PluginElement::goOffline(), RFCavity::goOffline(), Solenoid::goOffline(), Component::goOnline(), Corrector::goOnline(), Monitor::goOnline(), RFCavity::goOnline(), Solenoid::goOnline(), TravelingWave::goOnline(), Ring::initialise(), Multipole::initialise(), Component::Online(), and PluginElement::~PluginElement().
|
privateinherited |
The name of the outputfile.
Definition at line 384 of file ElementBase.h.
Referenced by ElementBase::getOutputFN(), and ElementBase::setOutputFN().
|
privateinherited |
Definition at line 375 of file ElementBase.h.
Referenced by ElementBase::getParticleMatterInteraction(), ElementBase::hasParticleMatterInteraction(), and ElementBase::setParticleMatterInteraction().
|
privateinherited |
Pointer to Peakfinder instance.
Definition at line 60 of file Probe.h.
Referenced by Probe::doCheck(), Probe::doGoOffline(), and Probe::doInitialise().
|
privateinherited |
Definition at line 377 of file ElementBase.h.
Referenced by ElementBase::fixPosition(), ElementBase::isPositioned(), ElementBase::releasePosition(), and ElementBase::setCSTrafoGlobal2Local().
|
protectedinherited |
Definition at line 127 of file PluginElement.h.
Referenced by Probe::doCheck(), and PluginElement::setDimensions().
|
mutableprivateinherited |
Definition at line 76 of file RCObject.h.
Referenced by RCObject::addReference(), RCObject::isShared(), and RCObject::removeReference().
|
protectedinherited |
Definition at line 185 of file Component.h.
Referenced by Corrector::apply(), MultipoleTBase::apply(), VerticalFFAMagnet::apply(), Multipole::apply(), MultipoleT::apply(), RFCavity::apply(), ScalingFFAMagnet::apply(), Solenoid::apply(), TravelingWave::apply(), Ring::apply(), MultipoleTBase::finalise(), VerticalFFAMagnet::finalise(), MultipoleT::finalise(), Offset::finalise(), ScalingFFAMagnet::finalise(), Corrector::goOnline(), PluginElement::initialise(), Corrector::initialise(), VerticalFFAMagnet::initialise(), Drift::initialise(), Marker::initialise(), Monitor::initialise(), Multipole::initialise(), MultipoleTCurvedConstRadius::initialise(), MultipoleTCurvedVarRadius::initialise(), MultipoleTStraight::initialise(), Offset::initialise(), RFCavity::initialise(), ScalingFFAMagnet::initialise(), Solenoid::initialise(), TravelingWave::initialise(), Multipole::isFocusing(), MultipoleT::MultipoleT(), MultipoleTBase::MultipoleTBase(), MultipoleTCurvedConstRadius::MultipoleTCurvedConstRadius(), MultipoleTCurvedVarRadius::MultipoleTCurvedVarRadius(), MultipoleTStraight::MultipoleTStraight(), ScalingFFAMagnet::ScalingFFAMagnet(), Corrector::setDesignEnergy(), Ring::setRefPartBunch(), RFCavity::trackOnAxisParticle(), and VerticalFFAMagnet::VerticalFFAMagnet().
|
protectedinherited |
Definition at line 122 of file PluginElement.h.
Referenced by Probe::doInitialise(), Probe::doPreCheck(), and PluginElement::setDimensions().
|
protectedinherited |
radius closest to the origin
Definition at line 124 of file PluginElement.h.
Referenced by Probe::doInitialise(), Probe::doPreCheck(), and PluginElement::setDimensions().
|
protectedinherited |
Definition at line 357 of file ElementBase.h.
Referenced by ElementBase::getRotationAboutZ(), and ElementBase::setRotationAboutZ().
|
protectedinherited |
Definition at line 121 of file PluginElement.h.
Referenced by PluginElement::setDimensions().
|
mutableprotectedinherited |
Definition at line 348 of file ElementBase.h.
Referenced by Beamline::Beamline(), ElementBase::isSharable(), and ElementBase::makeSharable().
|
privateinherited |
Step size of the probe (bin width in histogram file)
Definition at line 59 of file Probe.h.
Referenced by Probe::doInitialise(), Probe::getStep(), and Probe::setStep().
|
privateinherited |
Definition at line 369 of file ElementBase.h.
Referenced by ElementBase::getChannel(), and ElementBase::removeAttribute().
|
privateinherited |
Definition at line 371 of file ElementBase.h.
Referenced by ElementBase::getWake(), ElementBase::hasWake(), and ElementBase::setWake().
|
protectedinherited |
Definition at line 118 of file PluginElement.h.
Referenced by PluginElement::getXEnd(), PluginElement::PluginElement(), PluginElement::setDimensions(), and PluginElement::setGeom().
|
protectedinherited |
input geometry positions
Definition at line 117 of file PluginElement.h.
Referenced by PluginElement::getXStart(), PluginElement::PluginElement(), PluginElement::setDimensions(), and PluginElement::setGeom().
|
protectedinherited |
Definition at line 120 of file PluginElement.h.
Referenced by PluginElement::getYEnd(), PluginElement::PluginElement(), PluginElement::setDimensions(), and PluginElement::setGeom().
|
protectedinherited |
Definition at line 119 of file PluginElement.h.
Referenced by PluginElement::getYStart(), PluginElement::PluginElement(), PluginElement::setDimensions(), and PluginElement::setGeom().