47 csTrafoGlobal2Local_m(right.csTrafoGlobal2Local_m),
48 misalignment_m(right.misalignment_m),
49 aperture_m(right.aperture_m),
50 elementEdge_m(right.elementEdge_m),
51 rotationZAxis_m(right.rotationZAxis_m),
52 elementID(right.elementID),
53 userAttribs(right.userAttribs),
55 bgeometry_m(right.bgeometry_m),
56 parmatint_m(right.parmatint_m),
57 elType_m(right.elType_m),
58 positionIsFixed(right.positionIsFixed),
59 elementPosition_m(right.elementPosition_m),
60 elemedgeSet_m(right.elemedgeSet_m)
74 csTrafoGlobal2Local_m(),
84 positionIsFixed(false),
85 elementPosition_m(0.0),
110 if(aChannel != NULL) {
111 double val = *aChannel;
123 if(aChannel != NULL) {
140 if(aChannel != NULL && aChannel->
isSettable()) {
144 cout <<
"Channel NULL or not Settable" <<
endl;
163 return "AlignWrapper";
169 return "BeamStripping";
171 return "CCollimator";
175 return "Correctorwrapper";
179 return "Cyclotronwrapper";
181 return "CyclotronValley";
199 return "Multipolewrapper";
203 return "ParallelPlate";
211 return "RBendwrapper";
215 return "RFQuadrupole";
223 return "SBendwrapper";
233 return "TravelingWave";
235 return "VariableRFCavity";
238 return "'unknown' type";
virtual ElementBase * removeAlignWrapper()
Remove align wrapper.
Channel * getChannel(const std::string &aKey, bool create=false)
Construct a read/write channel.
Interface for basic beam line object.
virtual void removeAttribute(const std::string &aKey)
Remove an existing attribute.
BoundaryGeometry * bgeometry_m
Map of std::string versus double value.
virtual void setName(const std::string &name)
Set element name.
const_iterator end() const
Iterator marking the end of the list.
virtual ElementBase * removeWrappers()
Return the design element.
Define the position of a misaligned element.
NameMap::const_iterator const_iterator
An iterator for a map of name versus value.
virtual Channel * getChannel(const std::string &aKey, bool create=false)
Construct a read/write channel.
void updateElement(ElementBase *newref)
virtual void setAttribute(const std::string &aKey, double val)
Set value of an attribute.
virtual const std::string & getName() const
Get element name.
virtual ElementBase * removeFieldWrapper()
Remove field wrapper.
ParticleMatterInteractionHandler * parmatint_m
const_iterator begin() const
Iterator accessing first member.
virtual void makeSharable()
Set sharable flag.
virtual ElementBase * makeWrappers()
Allow errors.
Abstract interface for read-only access to variable.
virtual void setBoundaryGeometry(BoundaryGeometry *geo)
void updateElement(ElementBase *element)
virtual ElementImage * getImage() const
Construct an image.
Abstract base class for reference counted objects.
std::string getTypeString() const
virtual ElementBase * copyStructure()
Make a structural copy.
virtual double getAttribute(const std::string &aKey) const
Get attribute value.
virtual ElementBase * clone() const =0
Return clone.
virtual void setParticleMatterInteraction(ParticleMatterInteractionHandler *spys)
void setCurrentSCoordinate(double s)
Abstract interface for read/write access to variable.
virtual const ConstChannel * getConstChannel(const std::string &aKey) const
Construct a read-only channel.
void removeAttribute(const std::string &aKey)
Remove an existing attribute.
virtual ElementBase * makeAlignWrapper()
Allow misalignment.
bool isSharable() const
Test if the element can be shared.
std::queue< std::pair< double, double > > actionRange_m
virtual bool isSettable() const
Test if settable.
virtual bool hasAttribute(const std::string &aKey) const
Test for existence of an attribute.
virtual ElementBase * makeFieldWrapper()
Allow field errors.
virtual void setWake(WakeFunction *wf)
attach a wake field to the element
Inform & endl(Inform &inf)
bool update(const AttributeSet &)
Update element.