Commit 63a50cbf authored by ext-calvo_p's avatar ext-calvo_p

fix file headers for Distribution

parent 53917070
// Distribution class
//
// Copyright (c) 2008-2020
// Paul Scherrer Institut, Villigen PSI, Switzerland
// All rights reserved.
// Class Distribution
// This class defines the initial beam that is injected or emitted into the simulation.
//
// Copyright (c) 2008 - 2020, Paul Scherrer Institut, Villigen PSI, Switzerland
// All rights reserved
//
// This file is part of OPAL.
//
// OPAL is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// You should have received a copy of the GNU General Public License
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
//
// OPAL is licensed under GNU GPL version 3.
#include "Distribution/Distribution.h"
#include "Distribution/ClosedOrbitFinder.h"
#include "AbsBeamline/SpecificElementVisitor.h"
......@@ -69,9 +78,6 @@ namespace {
}
}
//
// Class Distribution
// ------------------------------------------------------------------------
Distribution::Distribution():
Definition( Attrib::Legacy::Distribution::SIZE, "DISTRIBUTION",
......
#ifndef OPAL_Distribution_HH
#define OPAL_Distribution_HH
// Distribution class
//
// Copyright (c) 2008-2020
// Paul Scherrer Institut, Villigen PSI, Switzerland
// All rights reserved.
// Class Distribution
// This class defines the initial beam that is injected or emitted into the simulation.
//
// Copyright (c) 2008 - 2020, Paul Scherrer Institut, Villigen PSI, Switzerland
// All rights reserved
//
// This file is part of OPAL.
//
// OPAL is licensed under GNU GPL version 3.
// OPAL is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// You should have received a copy of the GNU General Public License
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
//
#ifndef OPAL_Distribution_HH
#define OPAL_Distribution_HH
#include <fstream>
#include <string>
......@@ -193,11 +202,6 @@ namespace Attrib
}
}
/*
* Class Distribution
*
* Defines the initial beam that is injected or emitted into the simulation.
*/
class Distribution: public Definition {
......@@ -516,4 +520,4 @@ std::string Distribution::getTypeofDistribution() {
return (std::string) Attributes::getString(itsAttr[Attrib::Distribution::TYPE]);
}
#endif // OPAL_Distribution_HH
\ No newline at end of file
#endif // OPAL_Distribution_HH
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment