Skip to content

Commit 250ea33

Browse files
committed
default constructor as per review
1 parent 7696041 commit 250ea33

File tree

6 files changed

+3
-9
lines changed

6 files changed

+3
-9
lines changed

L1Trigger/Phase2L1ParticleFlow/interface/l1-converters/gcteminput_ref.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace l1ct {
2828
std::vector<float> ptMaxs)
2929
: corrector_(corrFile), resol_(kind, etas, offsets, scales, ptMins, ptMaxs) {}
3030

31-
~GctEmClusterDecoderEmulator();
31+
~GctEmClusterDecoderEmulator() = default;
3232

3333
static edm::ParameterSetDescription getParameterSetDescription();
3434

L1Trigger/Phase2L1ParticleFlow/interface/l1-converters/gcthadinput_ref.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace l1ct {
1616
GctHadClusterDecoderEmulator() {};
1717
GctHadClusterDecoderEmulator(const edm::ParameterSet &pset);
1818

19-
~GctHadClusterDecoderEmulator();
19+
~GctHadClusterDecoderEmulator() = default;
2020

2121
static edm::ParameterSetDescription getParameterSetDescription();
2222

L1Trigger/Phase2L1ParticleFlow/interface/l1-converters/hgcalinput_ref.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ namespace l1ct {
7070

7171
enum class UseEmInterp { No, EmOnly, AllKeepHad, AllKeepTot };
7272

73-
~HgcalClusterDecoderEmulator();
73+
~HgcalClusterDecoderEmulator() = default;
7474

7575
static edm::ParameterSetDescription getParameterSetDescription();
7676

L1Trigger/Phase2L1ParticleFlow/src/l1-converters/gcteminput_ref.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ edm::ParameterSetDescription l1ct::GctEmClusterDecoderEmulator::getParameterSetD
2222
}
2323
#endif
2424

25-
l1ct::GctEmClusterDecoderEmulator::~GctEmClusterDecoderEmulator() {}
26-
2725
l1ct::EmCaloObjEmu l1ct::GctEmClusterDecoderEmulator::decode(const l1ct::PFRegionEmu &sector,
2826
const ap_uint<64> &in) const {
2927
constexpr float ETA_RANGE_ONE_SIDE = 1.4841; // barrel goes from (-1.4841, +1.4841)

L1Trigger/Phase2L1ParticleFlow/src/l1-converters/gcthadinput_ref.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ edm::ParameterSetDescription l1ct::GctHadClusterDecoderEmulator::getParameterSet
1212
}
1313
#endif
1414

15-
l1ct::GctHadClusterDecoderEmulator::~GctHadClusterDecoderEmulator() {}
16-
1715
double l1ct::GctHadClusterDecoderEmulator::fracPart(const double total, const unsigned int hoe) const {
1816
return total * std::pow(2.0, hoe) / (std::pow(2.0, hoe) + 1);
1917
}

L1Trigger/Phase2L1ParticleFlow/src/l1-converters/hgcalinputt_ref.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ l1ct::HgcalClusterDecoderEmulator::HgcalClusterDecoderEmulator(const std::string
6767
corrector_(corrector, correctorEmfMax, false, emulateCorrections, l1tpf::corrector::EmulationMode::Correction),
6868
emInterpScenario_(setEmInterpScenario(emInterpScenario)) {}
6969

70-
l1ct::HgcalClusterDecoderEmulator::~HgcalClusterDecoderEmulator() {}
71-
7270
l1ct::HgcalClusterDecoderEmulator::UseEmInterp l1ct::HgcalClusterDecoderEmulator::setEmInterpScenario(
7371
const std::string &emInterpScenario) {
7472
if (emInterpScenario == "no")

0 commit comments

Comments
 (0)