18 #ifndef CLASSIC_Probe_HH
19 #define CLASSIC_Probe_HH
void setStep(double step)
Set probe histogram bin width.
std::unique_ptr< PeakFinder > peakfinder_m
Pointer to Peakfinder instance.
virtual bool doCheck(PartBunchBase< double, 3 > *bunch, const int turnnumber, const double t, const double tstep) override
Record probe hits when bunch particles pass.
virtual ElementBase::ElementType getType() const override
Get element type std::string.
virtual void doInitialise(PartBunchBase< double, 3 > *bunch) override
Initialise peakfinder file.
double step_m
Step size of the probe (bin width in histogram file)
void operator=(const Probe &)=delete
virtual void doGoOffline() override
Hook for goOffline.
virtual bool doPreCheck(PartBunchBase< double, 3 > *) override
Virtual hook for preCheck.
virtual double getStep() const
Member variable access.
virtual void accept(BeamlineVisitor &) const override
Apply visitor to Probe.