CORSIKA
@c8_version@
The framework to simulate particle cascades for astroparticle physics
NoOutput.hpp
1
/*
2
* (c) Copyright 2021 CORSIKA Project, corsika-project@lists.kit.edu
3
*
4
* This software is distributed under the terms of the GNU General Public
5
* Licence version 3 (GPL Version 3). See file LICENSE for a full version of
6
* the license.
7
*/
8
#pragma once
9
10
#include <
corsika/framework/core/ParticleProperties.hpp
>
11
#include <
corsika/framework/core/PhysicalUnits.hpp
>
12
13
namespace
corsika
{
14
19
class
NoOutput
:
public
BaseOutput
{
20
21
protected
:
22
NoOutput
() {}
23
24
public
:
28
void
startOfLibrary
(boost::filesystem::path
const
&)
final
override
{}
29
33
void
startOfShower
(
unsigned
int
const
)
final
override
{}
34
38
void
endOfShower
(
unsigned
int
const
)
final
override
{}
39
43
void
endOfLibrary
() final
override
{}
44
48
YAML::Node
getConfig
()
const override
{
return
YAML::Node(); };
49
53
YAML::Node
getSummary
() const final
override
{
return
YAML::Node(); };
54
55
protected
:
56
void
write(Code
const
&,
units::si::HEPEnergyType
const
&,
units::si::LengthType
const
&,
57
units::si::LengthType
const
&,
units::si::TimeType
const
&) {}
58
};
59
60
}
// namespace corsika
corsika::NoOutput::endOfLibrary
void endOfLibrary() final override
Called at the end of each run.
Definition:
NoOutput.hpp:43
corsika::NoOutput::getConfig
YAML::Node getConfig() const override
Get the configuration of this output.
Definition:
NoOutput.hpp:48
PhysicalUnits.hpp
Import and extend the phys::units package.
corsika::NoOutput::startOfLibrary
void startOfLibrary(boost::filesystem::path const &) final override
Called at the start of each run.
Definition:
NoOutput.hpp:28
corsika::NoOutput
This is the base class for all outputs so that they can be stored in homogeneous containers.
Definition:
NoOutput.hpp:19
corsika::NoOutput::startOfShower
void startOfShower(unsigned int const) final override
Called at the start of each event/shower.
Definition:
NoOutput.hpp:33
corsika::NoOutput::endOfShower
void endOfShower(unsigned int const) final override
Called at the end of each event/shower.
Definition:
NoOutput.hpp:38
phys::units::quantity< phys::units::hepenergy_d, double >
corsika
`, since they are used everywhere as integral part of the framework.
Definition:
BoundaryCrossingProcess.hpp:14
corsika::BaseOutput
This is the base class for all outputs so that they can be stored in homogeneous containers.
Definition:
BaseOutput.hpp:21
ParticleProperties.hpp
Interface to particle properties.
corsika::NoOutput::getSummary
YAML::Node getSummary() const final override
Get any summary information for the entire library.
Definition:
NoOutput.hpp:53
corsika
output
NoOutput.hpp
Generated by
1.8.13