Skip to content

Commit

Permalink
Merge pull request #184 from rlcee/rule3_231110
Browse files Browse the repository at this point in the history
  • Loading branch information
brownd1978 authored Nov 12, 2023
2 parents 0134421 + ef26655 commit 7ed9f58
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ add_compile_options(
"-Woverloaded-virtual"
"-fdiagnostics-color=always"
"-Werror=sign-compare"
"-Wdeprecated-copy"
# "-Wshadow"
# debug flags
"$<$<CONFIG:DEBUG>:-O0;-g;-ftrapping-math>"
Expand Down
1 change: 0 additions & 1 deletion Examples/BFieldInfo.hh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
namespace KinKal {
struct BFieldInfo {
BFieldInfo(){};
~BFieldInfo(){};
Int_t active_;
Float_t time_, range_;
static std::string leafnames() { return std::string("active/i:time/f:range/f"); }
Expand Down
1 change: 0 additions & 1 deletion Examples/MaterialInfo.hh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ namespace KinKal {
struct MaterialInfo {
MaterialInfo(): active_(false), nxing_(-1), time_(0.0), dmomf_(0.0),
momvar_(0.0), perpvar_(0.0), doca_(0.0), docavar_(0.0), dirdot_(0.0){};
~MaterialInfo(){};
Int_t active_, nxing_;
Float_t time_, dmomf_, momvar_, perpvar_;
Float_t doca_, docavar_, dirdot_;
Expand Down
1 change: 0 additions & 1 deletion Examples/ParticleTrajectoryInfo.hh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
namespace KinKal {
struct ParticleTrajectoryInfo {
ParticleTrajectoryInfo(){};
~ParticleTrajectoryInfo(){};
Float_t time_, dperp_, dt_;
static std::string leafnames() { return std::string("time/f:dperp/f:dt/f"); }
};
Expand Down
2 changes: 2 additions & 0 deletions General/FitData.hh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ namespace KinKal {
FitData() {}
// copy with optional inversion
FitData(FitData const& tdata, bool inv=false) : vec_(tdata.vec_), mat_(tdata.mat_) { if (inv) invert(); }
FitData& operator=(const FitData &) = default;
~FitData() = default;
// accessors
DVEC const& vec() const { return vec_; }
DMAT const& mat() const { return mat_; }
Expand Down
2 changes: 1 addition & 1 deletion Trajectory/KinematicLine.hh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class KinematicLine {
explicit KinematicLine(ParticleStateEstimate const& pstate, VEC3 const& bnom, TimeRange const& range=TimeRange());


virtual ~KinematicLine() {}
virtual ~KinematicLine() = default;

// particle momentum as a function of time
MOM4 momentum4(double time) const;
Expand Down

0 comments on commit 7ed9f58

Please sign in to comment.