10 #include <corsika/output/BaseOutput.hpp> 11 #include <corsika/output/ParquetStreamer.hpp> 12 #include <corsika/framework/process/ContinuousProcess.hpp> 13 #include <corsika/framework/core/Step.hpp> 14 #include <corsika/setup/SetupStack.hpp> 26 template <
typename TAntennaCollection,
typename TRadioImpl,
typename TPropagator>
28 RadioProcess<TAntennaCollection, TRadioImpl, TPropagator>>,
39 TRadioImpl& implementation();
44 TRadioImpl
const& implementation()
const;
53 using axistype = std::vector<long double>;
57 RadioProcess(TAntennaCollection& antennas, TPropagator& propagator);
68 template <
typename Particle>
81 template <
typename Particle,
typename Track>
87 void startOfLibrary(boost::filesystem::path
const& directory)
final override;
92 virtual void endOfShower(
unsigned int const)
final override;
109 #include <corsika/detail/modules/radio/RadioProcess.inl> RadioProcess(TAntennaCollection &antennas, TPropagator &propagator)
Construct a new RadioProcess.
void endOfLibrary() final override
Called at the end of each library.
LengthType getMaxStepLength(Particle const &vParticle, Track const &vTrack) const
Return the maximum step length for this particle and track.
TAntennaCollection & antennas_
The radio antennas we store into.
unsigned int showerId_
The current event ID.
This class automates the construction of simple tabular Parquet files using the parquet::StreamWriter...
YAML::Node getConfig() const final
Get the configuration of this output.
Processes with continuous effects along a particle Trajectory.
ParquetStreamer output_
The parquet streamer for this process.
`, since they are used everywhere as integral part of the framework.
TPropagator propagator_
The propagator implementation.
ProcessReturn doContinuous(Step< Particle > const &step, bool const)
Perform the continuous process (radio emission).
This is the base class for all outputs so that they can be stored in homogeneous containers.
ProcessReturn
since in a process sequence many status updates can accumulate for a single particle, this enum should define only bit-flags that can be accumulated easily with "|="
Note/Warning: Tracking and Trajectory must fit together !
The base interface for radio emission processes.
void startOfLibrary(boost::filesystem::path const &directory) final override
Called at the start of each library.
virtual void endOfShower(unsigned int const) final override
Called at the end of each shower.