10 #include <boost/filesystem.hpp> 12 #include <yaml-cpp/yaml.h> 29 virtual void startOfLibrary(boost::filesystem::path
const& directory) = 0;
59 bool isInit()
const {
return is_init_; }
65 void setInit(
bool const v) { is_init_ = v; }
75 #include <corsika/detail/output/BaseOutput.inl> virtual void startOfLibrary(boost::filesystem::path const &directory)=0
Called at the start of each run.
void setInit(bool const v)
Set init flag.
bool isInit() const
Flag to indicate readiness.
The cascade namespace assembles all objects needed to simulate full particles cascades.
virtual void endOfLibrary()=0
Called at the end of each run.
This is the base class for all outputs so that they can be stored in homogeneous containers.
int shower_
The current event number.
virtual void endOfShower()=0
Called at the end of each event/shower.
virtual void startOfShower()
Called at the start of each event/shower.
virtual YAML::Node getSummary()
Get any summary information for the entire library.
virtual YAML::Node getConfig() const =0
Get the configuration of this output.