IAP GITLAB

Skip to content
Snippets Groups Projects
Commit cc93154a authored by Remy Prechelt's avatar Remy Prechelt Committed by ralfulrich
Browse files

Delete duplicated field in ParticleWriter.

parent 93df5a5a
No related branches found
No related tags found
No related merge requests found
...@@ -37,8 +37,6 @@ namespace corsika { ...@@ -37,8 +37,6 @@ namespace corsika {
parquet::ConvertedType::NONE); parquet::ConvertedType::NONE);
output_.addField("z", parquet::Repetition::REQUIRED, parquet::Type::FLOAT, output_.addField("z", parquet::Repetition::REQUIRED, parquet::Type::FLOAT,
parquet::ConvertedType::NONE); parquet::ConvertedType::NONE);
output_.addField("z", parquet::Repetition::REQUIRED, parquet::Type::FLOAT,
parquet::ConvertedType::NONE);
output_.addField("weight", parquet::Repetition::REQUIRED, parquet::Type::FLOAT, output_.addField("weight", parquet::Repetition::REQUIRED, parquet::Type::FLOAT,
parquet::ConvertedType::NONE); parquet::ConvertedType::NONE);
......
...@@ -51,15 +51,15 @@ namespace corsika { ...@@ -51,15 +51,15 @@ namespace corsika {
*/ */
void write(Code const& pid, units::si::HEPEnergyType const& energy, void write(Code const& pid, units::si::HEPEnergyType const& energy,
units::si::LengthType const& x, units::si::LengthType const& y, units::si::LengthType const& x, units::si::LengthType const& y,
units::si::LengthType const& z, units::si::LengthType const& z, const double weight);
const double weight);
/** /**
* Write a Code::Nucleus particle to the file. * Write a Code::Nucleus particle to the file.
*/ */
void write(unsigned int const A, unsigned int const Z, void write(unsigned int const A, unsigned int const Z,
units::si::HEPEnergyType const& energy, units::si::LengthType const& x, units::si::HEPEnergyType const& energy, units::si::LengthType const& x,
units::si::LengthType const& y, units::si::LengthType const& z, const double weight); units::si::LengthType const& y, units::si::LengthType const& z,
const double weight);
/** /**
* Return collected library-level summary for output. * Return collected library-level summary for output.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment