26 #ifndef CLASSIC_Stripper_HH
27 #define CLASSIC_Stripper_HH
83 #endif // CLASSIC_Stripper_HH
double getOPYield() const
bool stop_m
Flag if particles should be stripped or stopped.
double getOPCharge() const
void setStop(bool stopflag)
virtual ElementType getType() const override
Override implementation of PluginElement.
void setOPCharge(double charge)
Member variable access.
void setOPMass(double mass)
double opcharge_m
Charge number of the out-coming particle.
virtual void doFinalise() override
Virtual hook for finalise.
double opmass_m
Mass of the out-coming particle.
virtual int getRequiredNumberOfTimeSteps() const override
void setOPYield(double yield)
virtual bool doFinaliseCheck(PartBunchBase< double, 3 > *bunch, bool flagNeedUpdate) override
Virtual hook for finaliseCheck.
virtual bool doPreCheck(PartBunchBase< double, 3 > *) override
Virtual hook for preCheck.
virtual void accept(BeamlineVisitor &) const override
Apply visitor to Stripper.
virtual bool doCheck(PartBunchBase< double, 3 > *bunch, const int turnnumber, const double t, const double tstep) override
Record hits when bunch particles pass.
double opyield_m
Yield of the out-coming particle.
void operator=(const Stripper &)=delete