Skip to content

Commit 38b36cd

Browse files
committed
fix warning final-dtor-non-final-class
Signed-off-by: Felix Schlepper <felix.schlepper@cern.ch>
1 parent 6a773be commit 38b36cd

31 files changed

Lines changed: 45 additions & 45 deletions

File tree

Detectors/Calibration/include/DetectorsCalibration/IntegratedClusterCalibrator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ class IntegratedClusters
759759
};
760760

761761
template <typename DataT>
762-
class IntegratedClusterCalibrator : public o2::calibration::TimeSlotCalibration<IntegratedClusters<DataT>>
762+
class IntegratedClusterCalibrator final : public o2::calibration::TimeSlotCalibration<IntegratedClusters<DataT>>
763763
{
764764
using TFType = o2::calibration::TFType;
765765
using Slot = o2::calibration::TimeSlot<IntegratedClusters<DataT>>;

Detectors/EMCAL/base/include/EMCALBase/NonlinearityHandler.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class NonlinearityHandler
4444
public:
4545
/// \class UninitException
4646
/// \brief Handling missing initialisation of the NonlinearityHanlder
47-
class UninitException : public std::exception
47+
class UninitException final : public std::exception
4848
{
4949
public:
5050
/// \brief Constructor
@@ -188,7 +188,7 @@ class NonlinearityFactory
188188
public:
189189
/// \class FunctionNotFoundExcpetion
190190
/// \brief Handling request of non-exisiting nonlinearity functions
191-
class FunctionNotFoundExcpetion : public std::exception
191+
class FunctionNotFoundExcpetion final : public std::exception
192192
{
193193
public:
194194
/// \brief Constructor
@@ -219,7 +219,7 @@ class NonlinearityFactory
219219

220220
/// \class NonlinInitError
221221
/// \brief Handling errors of initialisation of a certain nonlinearity function
222-
class NonlinInitError : public std::exception
222+
class NonlinInitError final : public std::exception
223223
{
224224
public:
225225
/// \brief Constructor

Detectors/EMCAL/base/include/EMCALBase/TriggerMappingErrors.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace emcal
2424
/// \class TRUIndexException
2525
/// \brief Error handling of faulty TRU indices
2626
/// \ingroup EMCALbase
27-
class TRUIndexException : public std::exception
27+
class TRUIndexException final : public std::exception
2828
{
2929
public:
3030
/// \brief Constructor
@@ -56,7 +56,7 @@ class TRUIndexException : public std::exception
5656
/// \class FastORIndexException
5757
/// \brief Error handling of faulty FastOR indices
5858
/// \ingroup EMCALbase
59-
class FastORIndexException : public std::exception
59+
class FastORIndexException final : public std::exception
6060
{
6161
public:
6262
/// \brief Constructor
@@ -88,7 +88,7 @@ class FastORIndexException : public std::exception
8888
/// \class FastORPositionExceptionTRU
8989
/// \brief Handling of invalid positions of a FastOR within a TRU
9090
/// \ingroup EMCALbase
91-
class FastORPositionExceptionTRU : public std::exception
91+
class FastORPositionExceptionTRU final : public std::exception
9292
{
9393
public:
9494
/// \brief Constructor
@@ -136,7 +136,7 @@ class FastORPositionExceptionTRU : public std::exception
136136
/// \class FastORPositionExceptionSupermodule
137137
/// \brief Handling of invalid positions of a FastOR within a supermodule
138138
/// \ingroup EMCALbase
139-
class FastORPositionExceptionSupermodule : public std::exception
139+
class FastORPositionExceptionSupermodule final : public std::exception
140140
{
141141
public:
142142
/// \brief Constructor
@@ -184,7 +184,7 @@ class FastORPositionExceptionSupermodule : public std::exception
184184
/// \class FastORPositionExceptionEMCAL
185185
/// \brief Handling of invalid positions of a FastOR in the detector
186186
/// \ingroup EMCALbase
187-
class FastORPositionExceptionEMCAL : public std::exception
187+
class FastORPositionExceptionEMCAL final : public std::exception
188188
{
189189
public:
190190
/// \brief Constructor
@@ -222,7 +222,7 @@ class FastORPositionExceptionEMCAL : public std::exception
222222
/// \class PHOSRegionException
223223
/// \brief Handling of invalid PHOS regions
224224
/// \ingroup EMCALbase
225-
class PHOSRegionException : public std::exception
225+
class PHOSRegionException final : public std::exception
226226
{
227227
public:
228228
/// \brief Constructor
@@ -254,7 +254,7 @@ class PHOSRegionException : public std::exception
254254
/// \class GeometryNotSetException
255255
/// \brief Handling cases where the geometry is required but not defined
256256
/// \ingroup EMCALbase
257-
class GeometryNotSetException : public std::exception
257+
class GeometryNotSetException final : public std::exception
258258
{
259259
public:
260260
/// \brief Constructor
@@ -274,7 +274,7 @@ class GeometryNotSetException : public std::exception
274274
/// \class L0sizeInvalidException
275275
/// \brief Handlig access of L0 index mapping with invalid patch size
276276
/// \ingroup EMCALbase
277-
class L0sizeInvalidException : public std::exception
277+
class L0sizeInvalidException final : public std::exception
278278
{
279279
public:
280280
/// \brief Constructor

Detectors/EMCAL/calibration/include/EMCALCalibration/EMCALChannelCalibrator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ namespace emcal
5050
/// \brief class used for managment of bad channel and time calibration
5151
/// template DataInput can be ChannelData or TimeData // o2::emcal::EMCALChannelData, o2::emcal::EMCALTimeCalibData
5252
template <typename DataInput, typename DataOutput>
53-
class EMCALChannelCalibrator : public o2::calibration::TimeSlotCalibration<DataInput>
53+
class EMCALChannelCalibrator final : public o2::calibration::TimeSlotCalibration<DataInput>
5454
{
5555
using TFType = o2::calibration::TFType;
5656
using Slot = o2::calibration::TimeSlot<DataInput>;

Detectors/EMCAL/calibration/include/EMCALCalibration/PedestalCalibDevice.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
namespace o2::emcal
2727
{
2828

29-
class PedestalCalibDevice : o2::framework::Task
29+
class PedestalCalibDevice final : o2::framework::Task
3030
{
3131
public:
3232
PedestalCalibDevice(bool dumpToFile, bool addRunNum) : mDumpToFile(dumpToFile), mAddRunNumber(addRunNum){};

Detectors/EMCAL/calibration/include/EMCALCalibration/PedestalProcessorData.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class PedestalProcessorData
3939
public:
4040
/// \class ChannelIndexException
4141
/// \brief Handling access to invalid channel index (out-of-bounds)
42-
class ChannelIndexException : public std::exception
42+
class ChannelIndexException final : public std::exception
4343
{
4444
private:
4545
unsigned short mChannelIndex; ///< Index of the channel raising the exception

Detectors/EMCAL/calibration/include/EMCALCalibration/PedestalProcessorDevice.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ class Geometry;
3030
/// \author Markus Fasel <markus.fasel@cern.ch.>, Oak Ridge National Laboratory
3131
/// \ingroup EMCALCalib
3232
/// \since March 21, 2024
33-
class PedestalProcessorDevice : o2::framework::Task
33+
class PedestalProcessorDevice final : o2::framework::Task
3434
{
3535
private:
3636
/// \class ModuleIndexException
3737
/// \brief Exception handling errors in calculation of the absolute module ID
38-
class ModuleIndexException : public std::exception
38+
class ModuleIndexException final : public std::exception
3939
{
4040
public:
4141
/// \enum ModuleType_t

Detectors/EMCAL/reconstruction/include/EMCALReconstruction/RecoContainer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ class RecoContainerReader
333333
public:
334334
/// \class InvalidAccessException
335335
/// \brief Handling of access to objects beyond container boundary
336-
class InvalidAccessException : public std::exception
336+
class InvalidAccessException final : public std::exception
337337
{
338338
public:
339339
/// \brief Constructor

Detectors/EMCAL/reconstruction/include/EMCALReconstruction/TRUDecodingErrors.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace emcal
2424
/// \class FastOrStartTimeInvalidException
2525
/// \brief Handling of error if starttime is to large (>=14). This is most likely caused by a corrupted channel header where a FEC channel is identified as a TRU channel
2626
/// \ingroup EMCALbase
27-
class FastOrStartTimeInvalidException : public std::exception
27+
class FastOrStartTimeInvalidException final : public std::exception
2828
{
2929
public:
3030
/// \brief Constructor

Detectors/EMCAL/workflow/include/EMCALWorkflow/CellRecalibratorSpec.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class TriggerRecord;
5353
/// calibration decides whether a cell is accepted. Therefore the amount of cells can change
5454
/// for the given trigger. New trigger record objects are created and published to the same
5555
/// subspec as what is used for the output cell vector.
56-
class CellRecalibratorSpec : public framework::Task
56+
class CellRecalibratorSpec final : public framework::Task
5757
{
5858
public:
5959
/// \enum LEDEventSettings

0 commit comments

Comments
 (0)