Skip to content

Commit 3785fac

Browse files
committed
[SIMULATION] To virtual method inside a final class; make classes non-final
1 parent a7e8f69 commit 3785fac

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

DataFormats/GeometrySurface/interface/SimpleConeBounds.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include <limits>
2121
#include <algorithm>
2222

23-
class SimpleConeBounds final : public Bounds {
23+
class SimpleConeBounds : public Bounds {
2424
public:
2525
/// Construct from inner/outer radius on the two Z faces
2626
SimpleConeBounds(float zmin, float rmin_zmin, float rmax_zmin, float zmax, float rmin_zmax, float rmax_zmax)

DataFormats/GeometrySurface/interface/SimpleCylinderBounds.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include <cmath>
1717
#include <algorithm>
1818

19-
class SimpleCylinderBounds final : public Bounds {
19+
class SimpleCylinderBounds : public Bounds {
2020
public:
2121
SimpleCylinderBounds(float rmin, float rmax, float zmin, float zmax);
2222

DataFormats/GeometrySurface/interface/SimpleDiskBounds.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Plane bounds that define a disk with a concentric hole in the middle.
99
*/
1010

11-
class SimpleDiskBounds final : public Bounds {
11+
class SimpleDiskBounds : public Bounds {
1212
public:
1313
/// Construct the bounds from min and max R and Z in LOCAL coordinates.
1414
SimpleDiskBounds(float rmin, float rmax, float zmin, float zmax);

SimCalorimetry/HcalSimAlgos/interface/HcalSiPMHitResponse.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class PCaloHitCompareTimes {
1919
bool operator()(const PCaloHit* a, const PCaloHit* b) const { return a->time() < b->time(); }
2020
};
2121

22-
class HcalSiPMHitResponse final : public CaloHitResponse {
22+
class HcalSiPMHitResponse : public CaloHitResponse {
2323
public:
2424
HcalSiPMHitResponse(const CaloVSimParameterMap* parameterMap,
2525
const CaloShapes* shapes,

0 commit comments

Comments
 (0)