diff --git a/DataFormats/L1TCalorimeterPhase2/interface/CaloCrystalCluster.h b/DataFormats/L1TCalorimeterPhase2/interface/CaloCrystalCluster.h index de9d7996ffd51..aa4895fcdf008 100644 --- a/DataFormats/L1TCalorimeterPhase2/interface/CaloCrystalCluster.h +++ b/DataFormats/L1TCalorimeterPhase2/interface/CaloCrystalCluster.h @@ -29,7 +29,7 @@ namespace l1tp2 { photonWP80_(0.), electronWP90_(0.), looseL1TkMatchWP_(0.), - stage2effMatch_(0.){}; + stage2effMatch_(0.) {} CaloCrystalCluster(const PolarLorentzVector &p4, float calibratedPt, @@ -64,9 +64,9 @@ namespace l1tp2 { photonWP80_(photonWP80), electronWP90_(electronWP90), looseL1TkMatchWP_(looseL1TkMatchWP), - stage2effMatch_(stage2effMatch){}; + stage2effMatch_(stage2effMatch) {} - ~CaloCrystalCluster() override{}; + ~CaloCrystalCluster() override {} inline float calibratedPt() const { return calibratedPt_; }; inline float hovere() const { return hovere_; }; inline float isolation() const { return iso_; }; diff --git a/DataFormats/L1TCalorimeterPhase2/interface/CaloJet.h b/DataFormats/L1TCalorimeterPhase2/interface/CaloJet.h index 5be863ec51179..7a80f95bbadbf 100644 --- a/DataFormats/L1TCalorimeterPhase2/interface/CaloJet.h +++ b/DataFormats/L1TCalorimeterPhase2/interface/CaloJet.h @@ -11,10 +11,10 @@ namespace l1tp2 { class CaloJet : public l1t::L1Candidate { public: - CaloJet() : l1t::L1Candidate(), calibratedPt_(0.), hovere_(0.), iso_(0.), puCorrPt_(0.){}; + CaloJet() : l1t::L1Candidate(), calibratedPt_(0.), hovere_(0.), iso_(0.), puCorrPt_(0.) {} CaloJet(const PolarLorentzVector& p4, float calibratedPt, float hovere, float iso, float puCorrPt = 0.) - : l1t::L1Candidate(p4), calibratedPt_(calibratedPt), hovere_(hovere), iso_(iso), puCorrPt_(puCorrPt){}; + : l1t::L1Candidate(p4), calibratedPt_(calibratedPt), hovere_(hovere), iso_(iso), puCorrPt_(puCorrPt) {} inline float calibratedPt() const { return calibratedPt_; }; inline float hovere() const { return hovere_; }; diff --git a/DataFormats/L1TCalorimeterPhase2/interface/CaloPFCluster.h b/DataFormats/L1TCalorimeterPhase2/interface/CaloPFCluster.h index a72d184c3b645..6a242e3f54939 100644 --- a/DataFormats/L1TCalorimeterPhase2/interface/CaloPFCluster.h +++ b/DataFormats/L1TCalorimeterPhase2/interface/CaloPFCluster.h @@ -17,7 +17,7 @@ namespace l1tp2 { clusterIEta_(-99), clusterIPhi_(-99), clusterEta_(-99.), - clusterPhi_(-99.){}; + clusterPhi_(-99.) {} CaloPFCluster(const PolarLorentzVector& p4, float clusterEt, @@ -30,7 +30,7 @@ namespace l1tp2 { clusterIEta_(clusterIEta), clusterIPhi_(clusterIPhi), clusterEta_(clusterEta), - clusterPhi_(clusterPhi){}; + clusterPhi_(clusterPhi) {} inline float clusterEt() const { return clusterEt_; }; inline int clusterIEta() const { return clusterIEta_; }; diff --git a/DataFormats/L1TCalorimeterPhase2/interface/CaloTower.h b/DataFormats/L1TCalorimeterPhase2/interface/CaloTower.h index 41c94d4e12fae..531dcc9d2f593 100644 --- a/DataFormats/L1TCalorimeterPhase2/interface/CaloTower.h +++ b/DataFormats/L1TCalorimeterPhase2/interface/CaloTower.h @@ -29,7 +29,7 @@ namespace l1tp2 { l1egTrkIso_(0), l1egStandaloneSS_(0), l1egStandaloneIso_(0), - isBarrel_(false){}; + isBarrel_(false) {} public: inline float ecalTowerEt() const { return ecalTowerEt_; }; diff --git a/DataFormats/L1TCalorimeterPhase2/interface/Phase2L1CaloJet.h b/DataFormats/L1TCalorimeterPhase2/interface/Phase2L1CaloJet.h index bd0ca1a072be3..cdeb45467371c 100644 --- a/DataFormats/L1TCalorimeterPhase2/interface/Phase2L1CaloJet.h +++ b/DataFormats/L1TCalorimeterPhase2/interface/Phase2L1CaloJet.h @@ -24,7 +24,7 @@ namespace l1tp2 { towerIEta_(-99), towerIPhi_(-99), towerEta_(-99.), - towerPhi_(-99.){}; + towerPhi_(-99.) {} Phase2L1CaloJet(const PolarLorentzVector& p4, float jetEt, @@ -49,7 +49,7 @@ namespace l1tp2 { towerIEta_(towerIEta), towerIPhi_(towerIPhi), towerEta_(towerEta), - towerPhi_(towerPhi){}; + towerPhi_(towerPhi) {} inline float jetEt() const { return jetEt_; }; inline float tauEt() const { return tauEt_; }; diff --git a/DataFormats/L1TCorrelator/interface/TkTriplet.h b/DataFormats/L1TCorrelator/interface/TkTriplet.h index 20d4587ef1beb..2c2cc599432b6 100644 --- a/DataFormats/L1TCorrelator/interface/TkTriplet.h +++ b/DataFormats/L1TCorrelator/interface/TkTriplet.h @@ -32,7 +32,7 @@ namespace l1t { double pair_dz_min, std::vector> trkPtrList); - ~TkTriplet() override{}; + ~TkTriplet() override {} int getTripletCharge() const { return charge_; } double getPairMassMax() const { return pair_mass_max_; } diff --git a/DataFormats/L1THGCal/interface/HGCalClusterT.h b/DataFormats/L1THGCal/interface/HGCalClusterT.h index ebbaccbb2aaf5..5b7bc41546927 100644 --- a/DataFormats/L1THGCal/interface/HGCalClusterT.h +++ b/DataFormats/L1THGCal/interface/HGCalClusterT.h @@ -44,7 +44,7 @@ namespace l1t { addConstituent(c, true, fraction); } - ~HGCalClusterT() override{}; + ~HGCalClusterT() override {} const std::unordered_map>& constituents() const { return constituents_; } const_iterator constituents_begin() const { return constituents_.begin(); } diff --git a/DataFormats/L1TrackTrigger/interface/TTStub.h b/DataFormats/L1TrackTrigger/interface/TTStub.h index 6ef8d1a0ef7b8..3605439090aeb 100644 --- a/DataFormats/L1TrackTrigger/interface/TTStub.h +++ b/DataFormats/L1TrackTrigger/interface/TTStub.h @@ -111,7 +111,7 @@ class TTStub { bool thePSModule; static constexpr float dummyBend = 999999; // Dumy value should be away from potential bends -}; /// Close class +}; /// Close class /*! \brief Implementation of methods * \details Here, in the header file, the methods which do not depend diff --git a/L1Trigger/DTTriggerPhase2/interface/MPCleanHitsFilter.h b/L1Trigger/DTTriggerPhase2/interface/MPCleanHitsFilter.h index f3713b322adbd..d93081cf72501 100644 --- a/L1Trigger/DTTriggerPhase2/interface/MPCleanHitsFilter.h +++ b/L1Trigger/DTTriggerPhase2/interface/MPCleanHitsFilter.h @@ -21,22 +21,22 @@ class MPCleanHitsFilter : public MPFilter { ~MPCleanHitsFilter() override = default; // Main methods - void initialise(const edm::EventSetup& iEventSetup) override{}; + void initialise(const edm::EventSetup& iEventSetup) override {} void run(edm::Event& iEvent, const edm::EventSetup& iEventSetup, std::vector& inMPath, - std::vector& outMPath) override{}; + std::vector& outMPath) override {}; void run(edm::Event& iEvent, const edm::EventSetup& iEventSetup, std::vector& inSLMPath, std::vector& inCorMPath, - std::vector& outMPath) override{}; + std::vector& outMPath) override {}; void run(edm::Event& iEvent, const edm::EventSetup& iEventSetup, MuonPathPtrs& inMPath, MuonPathPtrs& outMPath) override; - void finish() override{}; + void finish() override {} // Other public methods void removeOutliers(MuonPathPtr& mpath); diff --git a/L1Trigger/DTTriggerPhase2/interface/MPCoincidenceFilter.h b/L1Trigger/DTTriggerPhase2/interface/MPCoincidenceFilter.h index 9eeab8b7fa7ee..51ba5ffe7e577 100644 --- a/L1Trigger/DTTriggerPhase2/interface/MPCoincidenceFilter.h +++ b/L1Trigger/DTTriggerPhase2/interface/MPCoincidenceFilter.h @@ -25,7 +25,7 @@ class MPCoincidenceFilter : public MPFilter { void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, std::vector &inMPath, - std::vector &outMPath) override{}; + std::vector &outMPath) override {}; void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, std::vector &allMPaths, @@ -34,7 +34,7 @@ class MPCoincidenceFilter : public MPFilter { void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMPath, - MuonPathPtrs &outMPath) override{}; + MuonPathPtrs &outMPath) override {}; void finish() override; diff --git a/L1Trigger/DTTriggerPhase2/interface/MPCorFilter.h b/L1Trigger/DTTriggerPhase2/interface/MPCorFilter.h index 01cd5a860cc69..17894e8859a0b 100644 --- a/L1Trigger/DTTriggerPhase2/interface/MPCorFilter.h +++ b/L1Trigger/DTTriggerPhase2/interface/MPCorFilter.h @@ -39,7 +39,7 @@ class MPCorFilter : public MPFilter { void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, std::vector &inMPath, - std::vector &outMPath) override{}; + std::vector &outMPath) override {}; void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, std::vector &inSLMPath, @@ -48,7 +48,7 @@ class MPCorFilter : public MPFilter { void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMPath, - MuonPathPtrs &outMPath) override{}; + MuonPathPtrs &outMPath) override {}; void finish() override; diff --git a/L1Trigger/DTTriggerPhase2/interface/MPQualityEnhancerFilter.h b/L1Trigger/DTTriggerPhase2/interface/MPQualityEnhancerFilter.h index 03db99c9a6d9b..b46eec8f6d326 100644 --- a/L1Trigger/DTTriggerPhase2/interface/MPQualityEnhancerFilter.h +++ b/L1Trigger/DTTriggerPhase2/interface/MPQualityEnhancerFilter.h @@ -30,11 +30,11 @@ class MPQualityEnhancerFilter : public MPFilter { const edm::EventSetup &iEventSetup, std::vector &inSLMPath, std::vector &inCorMPath, - std::vector &outMPath) override{}; + std::vector &outMPath) override {}; void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMPath, - MuonPathPtrs &outMPath) override{}; + MuonPathPtrs &outMPath) override {}; void finish() override; diff --git a/L1Trigger/DTTriggerPhase2/interface/MPQualityEnhancerFilterBayes.h b/L1Trigger/DTTriggerPhase2/interface/MPQualityEnhancerFilterBayes.h index ef108561bb06b..70034acf23d66 100644 --- a/L1Trigger/DTTriggerPhase2/interface/MPQualityEnhancerFilterBayes.h +++ b/L1Trigger/DTTriggerPhase2/interface/MPQualityEnhancerFilterBayes.h @@ -31,11 +31,11 @@ class MPQualityEnhancerFilterBayes : public MPFilter { const edm::EventSetup &iEventSetup, std::vector &inSLMPath, std::vector &inCorMPath, - std::vector &outMPath) override{}; + std::vector &outMPath) override {}; void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMPath, - MuonPathPtrs &outMPath) override{}; + MuonPathPtrs &outMPath) override {}; void finish() override; diff --git a/L1Trigger/DTTriggerPhase2/interface/MPRedundantFilter.h b/L1Trigger/DTTriggerPhase2/interface/MPRedundantFilter.h index 53c6c611ea1ec..a502aae7e1bcf 100644 --- a/L1Trigger/DTTriggerPhase2/interface/MPRedundantFilter.h +++ b/L1Trigger/DTTriggerPhase2/interface/MPRedundantFilter.h @@ -26,12 +26,12 @@ class MPRedundantFilter : public MPFilter { void run(edm::Event& iEvent, const edm::EventSetup& iEventSetup, std::vector& inMPath, - std::vector& outMPath) override{}; + std::vector& outMPath) override {}; void run(edm::Event& iEvent, const edm::EventSetup& iEventSetup, std::vector& inSLMPath, std::vector& inCorMPath, - std::vector& outMPath) override{}; + std::vector& outMPath) override {}; void run(edm::Event& iEvent, const edm::EventSetup& iEventSetup, MuonPathPtrs& inMPath, diff --git a/L1Trigger/DTTriggerPhase2/interface/MPSLFilter.h b/L1Trigger/DTTriggerPhase2/interface/MPSLFilter.h index 63d5ec54182c1..f8ec7f224c2c5 100644 --- a/L1Trigger/DTTriggerPhase2/interface/MPSLFilter.h +++ b/L1Trigger/DTTriggerPhase2/interface/MPSLFilter.h @@ -40,11 +40,11 @@ class MPSLFilter : public MPFilter { const edm::EventSetup &iEventSetup, std::vector &inSLMPath, std::vector &inCorMPath, - std::vector &outMPath) override{}; + std::vector &outMPath) override {}; void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMPath, - MuonPathPtrs &outMPath) override{}; + MuonPathPtrs &outMPath) override {}; void finish() override; diff --git a/L1Trigger/DTTriggerPhase2/interface/MuonPathAnalyticAnalyzer.h b/L1Trigger/DTTriggerPhase2/interface/MuonPathAnalyticAnalyzer.h index 2096cbfa9ea74..ca0eab3d4a188 100644 --- a/L1Trigger/DTTriggerPhase2/interface/MuonPathAnalyticAnalyzer.h +++ b/L1Trigger/DTTriggerPhase2/interface/MuonPathAnalyticAnalyzer.h @@ -57,15 +57,15 @@ class MuonPathAnalyticAnalyzer : public MuonPathAnalyzer { const edm::EventSetup &iEventSetup, MuonPathPtrs &inMpath, std::vector &lateralities, - std::vector &metaPrimitives) override{}; + std::vector &metaPrimitives) override {}; void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, std::vector &inMPaths, - std::vector &outMPaths) override{}; + std::vector &outMPaths) override {}; void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMpath, - MuonPathPtrs &outMPath) override{}; + MuonPathPtrs &outMPath) override {}; void finish() override; diff --git a/L1Trigger/DTTriggerPhase2/interface/MuonPathAnalyzerInChamber.h b/L1Trigger/DTTriggerPhase2/interface/MuonPathAnalyzerInChamber.h index d867437359825..00d602b2c22d8 100644 --- a/L1Trigger/DTTriggerPhase2/interface/MuonPathAnalyzerInChamber.h +++ b/L1Trigger/DTTriggerPhase2/interface/MuonPathAnalyzerInChamber.h @@ -26,16 +26,16 @@ class MuonPathAnalyzerInChamber : public MuonPathAnalyzer { void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMpath, - std::vector &metaPrimitives) override{}; + std::vector &metaPrimitives) override {}; void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMpath, std::vector &lateralities, - std::vector &metaPrimitives) override{}; + std::vector &metaPrimitives) override {}; void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, std::vector &inMPaths, - std::vector &outMPaths) override{}; + std::vector &outMPaths) override {}; void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMpath, diff --git a/L1Trigger/DTTriggerPhase2/interface/MuonPathCorFitter.h b/L1Trigger/DTTriggerPhase2/interface/MuonPathCorFitter.h index fa50ddebae2ca..037d595d5a98f 100644 --- a/L1Trigger/DTTriggerPhase2/interface/MuonPathCorFitter.h +++ b/L1Trigger/DTTriggerPhase2/interface/MuonPathCorFitter.h @@ -35,12 +35,12 @@ class MuonPathCorFitter : public MuonPathFitter { void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMpath, - std::vector &metaPrimitives) override{}; + std::vector &metaPrimitives) override {}; void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMpath, std::vector &lateralities, - std::vector &metaPrimitives) override{}; + std::vector &metaPrimitives) override {}; void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, std::vector &inMPaths, @@ -48,7 +48,7 @@ class MuonPathCorFitter : public MuonPathFitter { void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMpath, - MuonPathPtrs &outMPath) override{}; + MuonPathPtrs &outMPath) override {}; void finish() override; diff --git a/L1Trigger/DTTriggerPhase2/interface/MuonPathSLFitter.h b/L1Trigger/DTTriggerPhase2/interface/MuonPathSLFitter.h index b15402ff4424e..ac6e2291523ce 100644 --- a/L1Trigger/DTTriggerPhase2/interface/MuonPathSLFitter.h +++ b/L1Trigger/DTTriggerPhase2/interface/MuonPathSLFitter.h @@ -24,7 +24,7 @@ class MuonPathSLFitter : public MuonPathFitter { void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMpath, - std::vector &metaPrimitives) override{}; + std::vector &metaPrimitives) override {}; void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMpath, @@ -33,11 +33,11 @@ class MuonPathSLFitter : public MuonPathFitter { void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, std::vector &inMPaths, - std::vector &outMPaths) override{}; + std::vector &outMPaths) override {}; void run(edm::Event &iEvent, const edm::EventSetup &iEventSetup, MuonPathPtrs &inMpath, - MuonPathPtrs &outMPath) override{}; + MuonPathPtrs &outMPath) override {}; void finish() override; diff --git a/L1Trigger/DTTriggerPhase2/plugins/DTTrigPhase2Prod.cc b/L1Trigger/DTTriggerPhase2/plugins/DTTrigPhase2Prod.cc index e904fd4851b64..ef83fce3a665a 100644 --- a/L1Trigger/DTTriggerPhase2/plugins/DTTrigPhase2Prod.cc +++ b/L1Trigger/DTTriggerPhase2/plugins/DTTrigPhase2Prod.cc @@ -1210,7 +1210,7 @@ void DTTrigPhase2Prod::assignIndexPerBX(std::vector& inMPaths) { } } } // ending second for - } // ending first for + } // ending first for } int DTTrigPhase2Prod::assignQualityOrder(const metaPrimitive& mP) const { diff --git a/L1Trigger/DTTriggerPhase2/src/LateralityProvider.cc b/L1Trigger/DTTriggerPhase2/src/LateralityProvider.cc index ae5e8486c9242..f738a9120960e 100644 --- a/L1Trigger/DTTriggerPhase2/src/LateralityProvider.cc +++ b/L1Trigger/DTTriggerPhase2/src/LateralityProvider.cc @@ -16,9 +16,9 @@ LateralityProvider::~LateralityProvider() {} // ============================================================================ void LateralityProvider::initialise(const edm::EventSetup& iEventSetup) {} -void LateralityProvider::finish(){}; +void LateralityProvider::finish() {} void LateralityProvider::run(edm::Event& iEvent, const edm::EventSetup& iEventSetup, MuonPathPtrs& inMpath, - std::vector& lateralities){}; + std::vector& lateralities) {}; diff --git a/L1Trigger/DTTriggerPhase2/src/MPCoincidenceFilter.cc b/L1Trigger/DTTriggerPhase2/src/MPCoincidenceFilter.cc index e031108bf1b2e..0a37fe9c717dd 100644 --- a/L1Trigger/DTTriggerPhase2/src/MPCoincidenceFilter.cc +++ b/L1Trigger/DTTriggerPhase2/src/MPCoincidenceFilter.cc @@ -42,7 +42,7 @@ void MPCoincidenceFilter::run(edm::Event &iEvent, outMPaths.push_back(mp); } -void MPCoincidenceFilter::finish(){}; +void MPCoincidenceFilter::finish() {} /////////////////////////// /// OTHER METHODS @@ -189,7 +189,7 @@ std::vector MPCoincidenceFilter::filter(std::vector 128) { diff --git a/L1Trigger/DTTriggerPhase2/src/MuonPathCorFitter.cc b/L1Trigger/DTTriggerPhase2/src/MuonPathCorFitter.cc index 90b27cbfd17e9..f68d1df8cef81 100644 --- a/L1Trigger/DTTriggerPhase2/src/MuonPathCorFitter.cc +++ b/L1Trigger/DTTriggerPhase2/src/MuonPathCorFitter.cc @@ -117,7 +117,7 @@ void MuonPathCorFitter::run(edm::Event& iEvent, } } } // looping over the 0 -> N-1 BX groups - } // looping over the 1 -> N BX groups + } // looping over the 1 -> N BX groups int iq = 0; for (size_t i = 0; i < mps_q8.size(); i++) { if (iq >= MAX_PRIM_FOR_COR) diff --git a/L1Trigger/DTTriggerPhase2/src/MuonPathSLFitter.cc b/L1Trigger/DTTriggerPhase2/src/MuonPathSLFitter.cc index e2dc75f4e9485..bd86e8a3b7da6 100644 --- a/L1Trigger/DTTriggerPhase2/src/MuonPathSLFitter.cc +++ b/L1Trigger/DTTriggerPhase2/src/MuonPathSLFitter.cc @@ -437,7 +437,7 @@ void MuonPathSLFitter::analyze(MuonPathPtr &inMPath, -1})); } } // (fit_common_out.valid_fit == 1) - } // loop in lat_combs + } // loop in lat_combs return; } diff --git a/L1Trigger/L1CaloTrigger/plugins/L1CaloJetProducer.cc b/L1Trigger/L1CaloTrigger/plugins/L1CaloJetProducer.cc index 5bf88e9e7fe1e..6dcc20eeaec64 100644 --- a/L1Trigger/L1CaloTrigger/plugins/L1CaloJetProducer.cc +++ b/L1Trigger/L1CaloTrigger/plugins/L1CaloJetProducer.cc @@ -1177,7 +1177,7 @@ float L1CaloJetProducer::get_hcal_calibration(float &jet_pt, pt_index++; } calib = calibrationsBarrel[eta_index][em_index][pt_index]; - } // end Barrel + } // end Barrel else if (abs_eta <= 3.0) // HGCal { // Start loop checking 2nd value @@ -1201,7 +1201,7 @@ float L1CaloJetProducer::get_hcal_calibration(float &jet_pt, pt_index++; } calib = calibrationsHGCal[eta_index][em_index][pt_index]; - } // end HGCal + } // end HGCal else // HF { // Start loop checking 2nd value @@ -1283,7 +1283,7 @@ float L1CaloJetProducer::get_tau_pt_calibration( pt_index++; } calib = tauPtCalibrationsBarrel[eta_index][n_L1EG_index][em_index][pt_index]; - } // end Barrel + } // end Barrel else if (abs_eta <= 3.0) // HGCal { // Start loop checking 1st value diff --git a/L1Trigger/L1CaloTrigger/plugins/L1EGammaCrystalsEmulatorProducer.cc b/L1Trigger/L1CaloTrigger/plugins/L1EGammaCrystalsEmulatorProducer.cc index c9b8e906be9ab..d0ba81ed121d5 100644 --- a/L1Trigger/L1CaloTrigger/plugins/L1EGammaCrystalsEmulatorProducer.cc +++ b/L1Trigger/L1CaloTrigger/plugins/L1EGammaCrystalsEmulatorProducer.cc @@ -663,8 +663,8 @@ void L1EGCrystalClusterEmulatorProducer::produce(edm::Event& iEvent, const edm:: mc1.craweta_ = centerhit.position().eta(); cluster_list[cc].push_back(mc1); } // End if 5 clusters per region - } // End while to find the 5 clusters - } // End loop over regions to search for clusters + } // End while to find the 5 clusters + } // End loop over regions to search for clusters std::sort(begin(cluster_list[cc]), end(cluster_list[cc]), [](mycluster a, mycluster b) { return a.cpt > b.cpt; }); // Merge clusters from different regions @@ -755,7 +755,7 @@ void L1EGCrystalClusterEmulatorProducer::produce(edm::Event& iEvent, const edm:: } } } // end of check if inside card - } // end of loop over hits to build towers + } // end of loop over hits to build towers // Loop over hcal hits to get the HCAL towers. for (const auto& hit : hcalhits) { @@ -771,8 +771,8 @@ void L1EGCrystalClusterEmulatorProducer::produce(edm::Event& iEvent, const edm:: } // end of loop over eta towers } } // end of loop over phi links - } // end of check if inside card - } // end of loop over hits to build towers + } // end of check if inside card + } // end of loop over hits to build towers // Give back energy of not used clusters to the towers (if there are more than 12 clusters) for (unsigned int kk = n_clusters_4link; kk < cluster_list_merged[cc].size(); ++kk) { @@ -916,8 +916,8 @@ void L1EGCrystalClusterEmulatorProducer::produce(edm::Event& iEvent, const edm:: brem_cluster_L1Card[ll % n_links_card][ll / n_links_card][card_right] = 1; } } //max distance eta - } //max distance phi - } //max distance phi + } //max distance phi + } //max distance phi } } } diff --git a/L1Trigger/L1CaloTrigger/plugins/L1NNCaloTauEmulator.cc b/L1Trigger/L1CaloTrigger/plugins/L1NNCaloTauEmulator.cc index 52bd6c1cb3ec6..dc17408724038 100644 --- a/L1Trigger/L1CaloTrigger/plugins/L1NNCaloTauEmulator.cc +++ b/L1Trigger/L1CaloTrigger/plugins/L1NNCaloTauEmulator.cc @@ -107,7 +107,7 @@ class L1NNCaloTauEmulator : public edm::stream::EDProducer initializeGlobalCache(const edm::ParameterSet&); - static void globalEndJob(const NNmodels_GlobalCache*){/*do nothing*/}; + static void globalEndJob(const NNmodels_GlobalCache*) { /*do nothing*/ } private: // ----fixed LSBs, Nbits, scales, and types---- diff --git a/L1Trigger/L1CaloTrigger/plugins/L1NNCaloTauProducer.cc b/L1Trigger/L1CaloTrigger/plugins/L1NNCaloTauProducer.cc index 23f3939ec6ca0..9016357213964 100644 --- a/L1Trigger/L1CaloTrigger/plugins/L1NNCaloTauProducer.cc +++ b/L1Trigger/L1CaloTrigger/plugins/L1NNCaloTauProducer.cc @@ -91,7 +91,7 @@ class L1NNCaloTauProducer : public edm::stream::EDProducer initializeGlobalCache(const edm::ParameterSet&); - static void globalEndJob(const NNmodels_GlobalCache*){/*do nothing*/}; + static void globalEndJob(const NNmodels_GlobalCache*) { /*do nothing*/ } private: //----edm control--- diff --git a/L1Trigger/L1CaloTrigger/plugins/Phase2L1CaloJetEmulator.cc b/L1Trigger/L1CaloTrigger/plugins/Phase2L1CaloJetEmulator.cc index e7bc18fe580b1..8b4834fd33f7e 100644 --- a/L1Trigger/L1CaloTrigger/plugins/Phase2L1CaloJetEmulator.cc +++ b/L1Trigger/L1CaloTrigger/plugins/Phase2L1CaloJetEmulator.cc @@ -703,7 +703,7 @@ float Phase2L1CaloJetEmulator::get_jet_pt_calibration(const float& jet_pt, const pt_index++; } calib = calibrationsBarrel[eta_index][pt_index]; - } // end Barrel + } // end Barrel else if (abs_eta <= 3.0) // HGCal { // Start loop checking 2nd value @@ -719,7 +719,7 @@ float Phase2L1CaloJetEmulator::get_jet_pt_calibration(const float& jet_pt, const pt_index++; } calib = calibrationsHGCal[eta_index][pt_index]; - } // end HGCal + } // end HGCal else // HF { // Start loop checking 2nd value @@ -766,7 +766,7 @@ float Phase2L1CaloJetEmulator::get_tau_pt_calibration(const float& tau_pt, const pt_index++; } calib = tauPtCalibrationsBarrel[eta_index][pt_index]; - } // end Barrel + } // end Barrel else if (abs_eta <= 3.0) // HGCal { // Start loop checking 2nd value diff --git a/L1Trigger/L1THGCal/interface/backend/HGCalSeed_SA.h b/L1Trigger/L1THGCal/interface/backend/HGCalSeed_SA.h index 05bb744a3b411..ad600902ada2f 100644 --- a/L1Trigger/L1THGCal/interface/backend/HGCalSeed_SA.h +++ b/L1Trigger/L1THGCal/interface/backend/HGCalSeed_SA.h @@ -7,7 +7,7 @@ namespace l1thgcfirmware { public: HGCalSeed(float x, float y, float z, float energy) : x_(x), y_(y), z_(z), energy_(energy) {} - ~HGCalSeed(){}; + ~HGCalSeed() {} float x() const { return x_; } float y() const { return y_; } diff --git a/L1Trigger/L1THGCal/interface/backend/HGCalSortingTruncationConfig_SA.h b/L1Trigger/L1THGCal/interface/backend/HGCalSortingTruncationConfig_SA.h index 58a3970f09535..21ba5ef739558 100644 --- a/L1Trigger/L1THGCal/interface/backend/HGCalSortingTruncationConfig_SA.h +++ b/L1Trigger/L1THGCal/interface/backend/HGCalSortingTruncationConfig_SA.h @@ -5,7 +5,7 @@ namespace l1thgcfirmware { class SortingTruncationAlgoConfig { public: - SortingTruncationAlgoConfig(const unsigned maxTCs) : maxTCs_(maxTCs){}; + SortingTruncationAlgoConfig(const unsigned maxTCs) : maxTCs_(maxTCs) {} void setParameters(unsigned maxTCs) { maxTCs_ = maxTCs; }; diff --git a/L1Trigger/L1THGCal/interface/backend/HGCalTriggerClusterIdentificationBase.h b/L1Trigger/L1THGCal/interface/backend/HGCalTriggerClusterIdentificationBase.h index 64948f7821de7..3963376e98b10 100644 --- a/L1Trigger/L1THGCal/interface/backend/HGCalTriggerClusterIdentificationBase.h +++ b/L1Trigger/L1THGCal/interface/backend/HGCalTriggerClusterIdentificationBase.h @@ -6,8 +6,8 @@ class HGCalTriggerClusterIdentificationBase { public: - HGCalTriggerClusterIdentificationBase(){}; - virtual ~HGCalTriggerClusterIdentificationBase(){}; + HGCalTriggerClusterIdentificationBase() {} + virtual ~HGCalTriggerClusterIdentificationBase() {} virtual void initialize(const edm::ParameterSet& conf) = 0; virtual float value(const l1t::HGCalMulticluster& cluster) const = 0; virtual bool decision(const l1t::HGCalMulticluster& cluster, unsigned wp = 0) const = 0; diff --git a/L1Trigger/L1THGCal/interface/backend/HGCalTriggerClusterInterpreterBase.h b/L1Trigger/L1THGCal/interface/backend/HGCalTriggerClusterInterpreterBase.h index 9d65b7f3288cc..98b31398f8e95 100644 --- a/L1Trigger/L1THGCal/interface/backend/HGCalTriggerClusterInterpreterBase.h +++ b/L1Trigger/L1THGCal/interface/backend/HGCalTriggerClusterInterpreterBase.h @@ -7,8 +7,8 @@ class HGCalTriggerClusterInterpreterBase { public: - HGCalTriggerClusterInterpreterBase(){}; - virtual ~HGCalTriggerClusterInterpreterBase(){}; + HGCalTriggerClusterInterpreterBase() {} + virtual ~HGCalTriggerClusterInterpreterBase() {} virtual void initialize(const edm::ParameterSet& conf) = 0; virtual void setGeometry(const HGCalTriggerGeometryBase* const) = 0; virtual void interpret(l1t::HGCalMulticlusterBxCollection& multiclusters) const = 0; diff --git a/L1Trigger/L1THGCal/interface/concentrator/HGCalConcentratorSuperTriggerCellImpl.h b/L1Trigger/L1THGCal/interface/concentrator/HGCalConcentratorSuperTriggerCellImpl.h index 13550787bdcd4..e18692e8b8988 100644 --- a/L1Trigger/L1THGCal/interface/concentrator/HGCalConcentratorSuperTriggerCellImpl.h +++ b/L1Trigger/L1THGCal/interface/concentrator/HGCalConcentratorSuperTriggerCellImpl.h @@ -65,7 +65,7 @@ class HGCalConcentratorSuperTriggerCellImpl { std::map tc_pts_; public: - SuperTriggerCell() : sumPt_(0), sumMipPt_(0), maxMipPt_(0), fracsum_(0), sumHwPt_(0), maxId_(0), stcId_(0){}; + SuperTriggerCell() : sumPt_(0), sumMipPt_(0), maxMipPt_(0), fracsum_(0), sumHwPt_(0), maxId_(0), stcId_(0) {} void add(const l1t::HGCalTriggerCell& c, uint32_t stcId) { sumPt_ += c.pt(); diff --git a/L1Trigger/L1THGCal/plugins/backend/HGCalTriggerClusterIdentificationBDT.cc b/L1Trigger/L1THGCal/plugins/backend/HGCalTriggerClusterIdentificationBDT.cc index 1ad007471d134..bc887e1bbbb0e 100644 --- a/L1Trigger/L1THGCal/plugins/backend/HGCalTriggerClusterIdentificationBDT.cc +++ b/L1Trigger/L1THGCal/plugins/backend/HGCalTriggerClusterIdentificationBDT.cc @@ -48,7 +48,7 @@ class HGCalTriggerClusterIdentificationBDT : public HGCalTriggerClusterIdentific public: HGCalTriggerClusterIdentificationBDT(); - ~HGCalTriggerClusterIdentificationBDT() override{}; + ~HGCalTriggerClusterIdentificationBDT() override {} void initialize(const edm::ParameterSet& conf) final; float value(const l1t::HGCalMulticluster& cluster) const final; bool decision(const l1t::HGCalMulticluster& cluster, unsigned wp = 0) const final; diff --git a/L1Trigger/L1THGCal/plugins/backend/HGCalTriggerClusterInterpretationEM.cc b/L1Trigger/L1THGCal/plugins/backend/HGCalTriggerClusterInterpretationEM.cc index 927cfe95bc196..f537c0435f857 100644 --- a/L1Trigger/L1THGCal/plugins/backend/HGCalTriggerClusterInterpretationEM.cc +++ b/L1Trigger/L1THGCal/plugins/backend/HGCalTriggerClusterInterpretationEM.cc @@ -7,7 +7,7 @@ class HGCalTriggerClusterInterpretationEM : public HGCalTriggerClusterInterpreterBase { public: HGCalTriggerClusterInterpretationEM(); - ~HGCalTriggerClusterInterpretationEM() override{}; + ~HGCalTriggerClusterInterpretationEM() override {} void initialize(const edm::ParameterSet& conf) final; void setGeometry(const HGCalTriggerGeometryBase* const) final; void interpret(l1t::HGCalMulticlusterBxCollection& multiclusters) const final; diff --git a/L1Trigger/L1THGCalUtilities/interface/HGCalTriggerNtupleBase.h b/L1Trigger/L1THGCalUtilities/interface/HGCalTriggerNtupleBase.h index 33cbd3b76aed4..85d6296176e95 100644 --- a/L1Trigger/L1THGCalUtilities/interface/HGCalTriggerNtupleBase.h +++ b/L1Trigger/L1THGCalUtilities/interface/HGCalTriggerNtupleBase.h @@ -23,8 +23,8 @@ struct HGCalTriggerNtupleEventSetup { class HGCalTriggerNtupleBase { public: - HGCalTriggerNtupleBase(const edm::ParameterSet& conf) : name_(conf.getParameter("NtupleName")){}; - virtual ~HGCalTriggerNtupleBase(){}; + HGCalTriggerNtupleBase(const edm::ParameterSet& conf) : name_(conf.getParameter("NtupleName")) {} + virtual ~HGCalTriggerNtupleBase() {} const std::string& name() const { return name_; } virtual void initialize(TTree&, const edm::ParameterSet&, edm::ConsumesCollector&&) = 0; virtual void fill(const edm::Event&, const HGCalTriggerNtupleEventSetup&) { diff --git a/L1Trigger/L1THGCalUtilities/test/ntuples/HGCalTriggerNtupleHGCClusters.cc b/L1Trigger/L1THGCalUtilities/test/ntuples/HGCalTriggerNtupleHGCClusters.cc index 049a3b12e217a..3315e3749881f 100644 --- a/L1Trigger/L1THGCalUtilities/test/ntuples/HGCalTriggerNtupleHGCClusters.cc +++ b/L1Trigger/L1THGCalUtilities/test/ntuples/HGCalTriggerNtupleHGCClusters.cc @@ -9,7 +9,7 @@ class HGCalTriggerNtupleHGCClusters : public HGCalTriggerNtupleBase { public: HGCalTriggerNtupleHGCClusters(const edm::ParameterSet& conf); - ~HGCalTriggerNtupleHGCClusters() override{}; + ~HGCalTriggerNtupleHGCClusters() override {} void initialize(TTree&, const edm::ParameterSet&, edm::ConsumesCollector&&) final; void fill(const edm::Event& e, const HGCalTriggerNtupleEventSetup& es) final; diff --git a/L1Trigger/L1THGCalUtilities/test/ntuples/HGCalTriggerNtupleHGCConcentratorData.cc b/L1Trigger/L1THGCalUtilities/test/ntuples/HGCalTriggerNtupleHGCConcentratorData.cc index ada98e6777a1b..5c8a6e849e100 100644 --- a/L1Trigger/L1THGCalUtilities/test/ntuples/HGCalTriggerNtupleHGCConcentratorData.cc +++ b/L1Trigger/L1THGCalUtilities/test/ntuples/HGCalTriggerNtupleHGCConcentratorData.cc @@ -11,7 +11,7 @@ class HGCalTriggerNtupleHGCConcentratorData : public HGCalTriggerNtupleBase { public: HGCalTriggerNtupleHGCConcentratorData(const edm::ParameterSet& conf); - ~HGCalTriggerNtupleHGCConcentratorData() override{}; + ~HGCalTriggerNtupleHGCConcentratorData() override {} void initialize(TTree&, const edm::ParameterSet&, edm::ConsumesCollector&&) final; void fill(const edm::Event& e, const HGCalTriggerNtupleEventSetup& es) final; diff --git a/L1Trigger/L1THGCalUtilities/test/ntuples/HGCalTriggerNtupleHGCDigis.cc b/L1Trigger/L1THGCalUtilities/test/ntuples/HGCalTriggerNtupleHGCDigis.cc index 1f3e52d907e71..2b6cfd3aa6501 100644 --- a/L1Trigger/L1THGCalUtilities/test/ntuples/HGCalTriggerNtupleHGCDigis.cc +++ b/L1Trigger/L1THGCalUtilities/test/ntuples/HGCalTriggerNtupleHGCDigis.cc @@ -13,7 +13,7 @@ class HGCalTriggerNtupleHGCDigis : public HGCalTriggerNtupleBase { public: HGCalTriggerNtupleHGCDigis(const edm::ParameterSet& conf); - ~HGCalTriggerNtupleHGCDigis() override{}; + ~HGCalTriggerNtupleHGCDigis() override {} void initialize(TTree&, const edm::ParameterSet&, edm::ConsumesCollector&&) final; void fill(const edm::Event& e, const HGCalTriggerNtupleEventSetup& es) final; diff --git a/L1Trigger/L1THGCalUtilities/test/ntuples/HGCalTriggerNtupleHGCMulticlusters.cc b/L1Trigger/L1THGCalUtilities/test/ntuples/HGCalTriggerNtupleHGCMulticlusters.cc index a959fd1c76667..4cb189c59e1d1 100644 --- a/L1Trigger/L1THGCalUtilities/test/ntuples/HGCalTriggerNtupleHGCMulticlusters.cc +++ b/L1Trigger/L1THGCalUtilities/test/ntuples/HGCalTriggerNtupleHGCMulticlusters.cc @@ -7,7 +7,7 @@ class HGCalTriggerNtupleHGCMulticlusters : public HGCalTriggerNtupleBase { public: HGCalTriggerNtupleHGCMulticlusters(const edm::ParameterSet& conf); - ~HGCalTriggerNtupleHGCMulticlusters() override{}; + ~HGCalTriggerNtupleHGCMulticlusters() override {} void initialize(TTree&, const edm::ParameterSet&, edm::ConsumesCollector&&) final; void fill(const edm::Event& e, const HGCalTriggerNtupleEventSetup& es) final; diff --git a/L1Trigger/L1THGCalUtilities/test/ntuples/HGCalTriggerNtupleHGCTriggerCells.cc b/L1Trigger/L1THGCalUtilities/test/ntuples/HGCalTriggerNtupleHGCTriggerCells.cc index 1fdcb9e1975de..573bcbce95b58 100644 --- a/L1Trigger/L1THGCalUtilities/test/ntuples/HGCalTriggerNtupleHGCTriggerCells.cc +++ b/L1Trigger/L1THGCalUtilities/test/ntuples/HGCalTriggerNtupleHGCTriggerCells.cc @@ -18,7 +18,7 @@ class HGCalTriggerNtupleHGCTriggerCells : public HGCalTriggerNtupleBase { public: HGCalTriggerNtupleHGCTriggerCells(const edm::ParameterSet& conf); - ~HGCalTriggerNtupleHGCTriggerCells() override{}; + ~HGCalTriggerNtupleHGCTriggerCells() override {} void initialize(TTree&, const edm::ParameterSet&, edm::ConsumesCollector&&) final; void fill(const edm::Event& e, const HGCalTriggerNtupleEventSetup& es) final; diff --git a/L1Trigger/L1THGCalUtilities/test/ntuples/HGCalTriggerNtupleHGCTriggerSums.cc b/L1Trigger/L1THGCalUtilities/test/ntuples/HGCalTriggerNtupleHGCTriggerSums.cc index 7ca8a32288ebd..a7858c639dd41 100644 --- a/L1Trigger/L1THGCalUtilities/test/ntuples/HGCalTriggerNtupleHGCTriggerSums.cc +++ b/L1Trigger/L1THGCalUtilities/test/ntuples/HGCalTriggerNtupleHGCTriggerSums.cc @@ -11,7 +11,7 @@ class HGCalTriggerNtupleHGCTriggerSums : public HGCalTriggerNtupleBase { public: HGCalTriggerNtupleHGCTriggerSums(const edm::ParameterSet& conf); - ~HGCalTriggerNtupleHGCTriggerSums() override{}; + ~HGCalTriggerNtupleHGCTriggerSums() override {} void initialize(TTree&, const edm::ParameterSet&, edm::ConsumesCollector&&) final; void fill(const edm::Event& e, const HGCalTriggerNtupleEventSetup& es) final; diff --git a/L1Trigger/L1THGCalUtilities/test/ntuples/HGCalTriggerNtupleTowers.cc b/L1Trigger/L1THGCalUtilities/test/ntuples/HGCalTriggerNtupleTowers.cc index 9f328400f9a21..8b4f06b9a9ce3 100644 --- a/L1Trigger/L1THGCalUtilities/test/ntuples/HGCalTriggerNtupleTowers.cc +++ b/L1Trigger/L1THGCalUtilities/test/ntuples/HGCalTriggerNtupleTowers.cc @@ -4,7 +4,7 @@ class HGCalTriggerNtupleHGCTowers : public HGCalTriggerNtupleBase { public: HGCalTriggerNtupleHGCTowers(const edm::ParameterSet& conf); - ~HGCalTriggerNtupleHGCTowers() override{}; + ~HGCalTriggerNtupleHGCTowers() override {} void initialize(TTree&, const edm::ParameterSet&, edm::ConsumesCollector&&) final; void fill(const edm::Event& e, const HGCalTriggerNtupleEventSetup& es) final; diff --git a/L1Trigger/L1TMuonEndCapPhase2/interface/EMTFConstants.h b/L1Trigger/L1TMuonEndCapPhase2/interface/EMTFConstants.h index d77cca5440775..ef48bbdb62467 100644 --- a/L1Trigger/L1TMuonEndCapPhase2/interface/EMTFConstants.h +++ b/L1Trigger/L1TMuonEndCapPhase2/interface/EMTFConstants.h @@ -56,7 +56,7 @@ namespace emtf::phase2 { constexpr int kPatternMatchingPadding = 55; constexpr int kMaxPatternActivation = 63; constexpr int kMaxPatternActivationLog2 = 6; // (1 << 6) - 1 = 63 - } // namespace v3 + } // namespace v3 } // namespace emtf::phase2 #endif // L1Trigger_L1TMuonEndCapPhase2_EMTFConstants_h diff --git a/L1Trigger/L1TMuonEndCapPhase2/interface/EMTFModel.h b/L1Trigger/L1TMuonEndCapPhase2/interface/EMTFModel.h index cef879daa770a..75963f0560f4e 100644 --- a/L1Trigger/L1TMuonEndCapPhase2/interface/EMTFModel.h +++ b/L1Trigger/L1TMuonEndCapPhase2/interface/EMTFModel.h @@ -95,7 +95,7 @@ namespace emtf::phase2 { unsigned int end; }; } // namespace pattern - } // namespace zones + } // namespace zones // Define Feature Structs struct feature_t { @@ -118,7 +118,7 @@ namespace emtf::phase2 { std::vector trk_sites; }; } // namespace reduced_sites - } // namespace model + } // namespace model } // namespace emtf::phase2 #endif // L1Trigger_L1TMuonEndCapPhase2_EMTFModel_h not defined diff --git a/L1Trigger/L1TMuonEndCapPhase2/src/Algo/DuplicateRemovalLayer.cc b/L1Trigger/L1TMuonEndCapPhase2/src/Algo/DuplicateRemovalLayer.cc index 70f5354307131..cdec8c03062a9 100644 --- a/L1Trigger/L1TMuonEndCapPhase2/src/Algo/DuplicateRemovalLayer.cc +++ b/L1Trigger/L1TMuonEndCapPhase2/src/Algo/DuplicateRemovalLayer.cc @@ -64,8 +64,8 @@ void DuplicateRemovalLayer::apply(std::vector& tracks) const { break; } // End loop reduced site track sites - } // End loop reduced model sites - } // End loop tracks + } // End loop reduced model sites + } // End loop tracks // =========================================================================== // Find and invalidate duplicate tracks @@ -105,7 +105,7 @@ void DuplicateRemovalLayer::apply(std::vector& tracks) const { // If there's even one collision, invalidate the track rtrk_j.valid = 0; } // End loop reduced sites k - } // End loop reduced tracks j + } // End loop reduced tracks j } // Propagate invalidation diff --git a/L1Trigger/L1TMuonOverlapPhase2/interface/InputMakerPhase2.h b/L1Trigger/L1TMuonOverlapPhase2/interface/InputMakerPhase2.h index bf225a3e5d185..92f112f4672f0 100644 --- a/L1Trigger/L1TMuonOverlapPhase2/interface/InputMakerPhase2.h +++ b/L1Trigger/L1TMuonOverlapPhase2/interface/InputMakerPhase2.h @@ -25,9 +25,9 @@ class DtPhase2DigiToStubsConverter : public DigiToStubsConverterBase { public: DtPhase2DigiToStubsConverter(edm::EDGetTokenT inputTokenDtPh, edm::EDGetTokenT inputTokenDtTh) - : inputTokenDtPh(inputTokenDtPh), inputTokenDtTh(inputTokenDtTh){}; + : inputTokenDtPh(inputTokenDtPh), inputTokenDtTh(inputTokenDtTh) {} - ~DtPhase2DigiToStubsConverter() override{}; + ~DtPhase2DigiToStubsConverter() override {} void loadDigis(const edm::Event& event) override; @@ -72,7 +72,7 @@ class DtPhase2DigiToStubsConverterOmtf : public DtPhase2DigiToStubsConverter { edm::EDGetTokenT inputTokenDtTh) : DtPhase2DigiToStubsConverter(inputTokenDtPh, inputTokenDtTh), config(*config), - angleConverter(*angleConverter){}; + angleConverter(*angleConverter) {} ~DtPhase2DigiToStubsConverterOmtf() override = default; diff --git a/L1Trigger/L1TMuonOverlapPhase2/interface/LutNetworkFixedPointCommon.h b/L1Trigger/L1TMuonOverlapPhase2/interface/LutNetworkFixedPointCommon.h index 717353d41aa86..fc227cccbc398 100644 --- a/L1Trigger/L1TMuonOverlapPhase2/interface/LutNetworkFixedPointCommon.h +++ b/L1Trigger/L1TMuonOverlapPhase2/interface/LutNetworkFixedPointCommon.h @@ -40,7 +40,7 @@ namespace lutNN { class LutNetworkFixedPointRegressionBase { public: - virtual ~LutNetworkFixedPointRegressionBase(){}; + virtual ~LutNetworkFixedPointRegressionBase() {} virtual void save(const std::string& filename) = 0; virtual void load(const std::string& filename) = 0; diff --git a/L1Trigger/L1TMuonOverlapPhase2/interface/LutNetworkFixedPointRegression2Outputs.h b/L1Trigger/L1TMuonOverlapPhase2/interface/LutNetworkFixedPointRegression2Outputs.h index a205fd888066b..6880acd14ce70 100644 --- a/L1Trigger/L1TMuonOverlapPhase2/interface/LutNetworkFixedPointRegression2Outputs.h +++ b/L1Trigger/L1TMuonOverlapPhase2/interface/LutNetworkFixedPointRegression2Outputs.h @@ -57,7 +57,7 @@ namespace lutNN { lutLayer3_1.setName("lutLayer3_1"); }; - ~LutNetworkFixedPointRegression2Outputs() override{}; + ~LutNetworkFixedPointRegression2Outputs() override {} typedef LutNeuronLayerFixedPoint LutLayer1; diff --git a/L1Trigger/L1TMuonOverlapPhase2/interface/OmtfPhase2AngleConverter.h b/L1Trigger/L1TMuonOverlapPhase2/interface/OmtfPhase2AngleConverter.h index 6b221a7c52215..77ba206e079b3 100644 --- a/L1Trigger/L1TMuonOverlapPhase2/interface/OmtfPhase2AngleConverter.h +++ b/L1Trigger/L1TMuonOverlapPhase2/interface/OmtfPhase2AngleConverter.h @@ -5,7 +5,7 @@ class OmtfPhase2AngleConverter : public OmtfAngleConverter { public: - OmtfPhase2AngleConverter(){}; + OmtfPhase2AngleConverter() {} ~OmtfPhase2AngleConverter() override = default; // Convert DT phi to OMTF coordinate system. diff --git a/L1Trigger/L1TMuonOverlapPhase2/plugins/L1TMuonOverlapPhase2TrackProducer.h b/L1Trigger/L1TMuonOverlapPhase2/plugins/L1TMuonOverlapPhase2TrackProducer.h index 119e9fa042989..b15974950dec0 100644 --- a/L1Trigger/L1TMuonOverlapPhase2/plugins/L1TMuonOverlapPhase2TrackProducer.h +++ b/L1Trigger/L1TMuonOverlapPhase2/plugins/L1TMuonOverlapPhase2TrackProducer.h @@ -19,7 +19,7 @@ class L1TMuonOverlapPhase2TrackProducer : public edm::one::EDProducermomentum().mag()); JetInputs.push_back(psuedoJet); // input tracks for clustering JetInputs.back().set_user_index(this_l1track - 1); // save track index in the collection - } // end loop over tracks + } // end loop over tracks fastjet::ClusterSequence cs(JetInputs, jet_def); // define the output jet collection std::vector JetOutputs = diff --git a/L1Trigger/L1TTrackMatch/plugins/L1TkHTMissProducer.cc b/L1Trigger/L1TTrackMatch/plugins/L1TkHTMissProducer.cc index b47f7601008b2..ff86b6fad3c81 100644 --- a/L1Trigger/L1TTrackMatch/plugins/L1TkHTMissProducer.cc +++ b/L1Trigger/L1TTrackMatch/plugins/L1TkHTMissProducer.cc @@ -144,7 +144,7 @@ void L1TkHTMissProducer::produce(edm::Event& iEvent, const edm::EventSetup& iSet foundVtx = true; } } //end loop over jets - } //endif z position from leading jet + } //endif z position from leading jet float sumPx_calo = 0; float sumPy_calo = 0; diff --git a/L1Trigger/L1TTrackMatch/plugins/L1TrackFastJetProducer.cc b/L1Trigger/L1TTrackMatch/plugins/L1TrackFastJetProducer.cc index 4aaf2602fdd8b..852f404db2cdc 100644 --- a/L1Trigger/L1TTrackMatch/plugins/L1TrackFastJetProducer.cc +++ b/L1Trigger/L1TTrackMatch/plugins/L1TrackFastJetProducer.cc @@ -106,7 +106,7 @@ void L1TrackFastJetProducer::produce(edm::Event& iEvent, const edm::EventSetup& iterL1Track->momentum().mag()); JetInputs.push_back(psuedoJet); // input tracks for clustering JetInputs.back().set_user_index(this_l1track); // save track index in the collection - } // end loop over tracks + } // end loop over tracks fastjet::ClusterSequence cs(JetInputs, jet_def); // define the output jet collection std::vector JetOutputs = diff --git a/L1Trigger/L1TTrackMatch/plugins/L1TrackJetClustering.h b/L1Trigger/L1TTrackMatch/plugins/L1TrackJetClustering.h index fa549b0ae853e..916664950edd0 100644 --- a/L1Trigger/L1TTrackMatch/plugins/L1TrackJetClustering.h +++ b/L1Trigger/L1TTrackMatch/plugins/L1TrackJetClustering.h @@ -287,7 +287,7 @@ namespace l1ttrackjet { clusters.erase(clusters.begin() + nclust); nclust--; } // end if for cluster merging - } // end for (m) loop + } // end for (m) loop return clusters; } @@ -420,7 +420,7 @@ namespace l1ttrackjet { L1clusters[phibin + 2][iused].used = true; } } // for each L1 cluster - } // for each phibin + } // for each phibin int nclust = clusters.size(); @@ -445,7 +445,7 @@ namespace l1ttrackjet { nclust--; } // end of n-loop - } // end of m-loop + } // end of m-loop return clusters; } } // namespace l1ttrackjet diff --git a/L1Trigger/L1TTrackMatch/plugins/L1TrackJetProducer.cc b/L1Trigger/L1TTrackMatch/plugins/L1TrackJetProducer.cc index 9b329eed1f6f6..73b2912247f2b 100644 --- a/L1Trigger/L1TTrackMatch/plugins/L1TrackJetProducer.cc +++ b/L1Trigger/L1TTrackMatch/plugins/L1TrackJetProducer.cc @@ -217,8 +217,8 @@ void L1TrackJetProducer::produce(Event &iEvent, const EventSetup &iSetup) { epbins[i][j].trackidx.push_back(k); ++epbins[i][j].ntracks; } // for each etabin - } // for each phibin - } //end loop over tracks + } // for each phibin + } //end loop over tracks // cluster tracks in eta (first layer) using grid for (int phibin = 0; phibin < phiBins_; ++phibin) { diff --git a/L1Trigger/L1TTrackMatch/plugins/L1TrackVertexAssociationProducer.cc b/L1Trigger/L1TTrackMatch/plugins/L1TrackVertexAssociationProducer.cc index bc2e1c9c7bfdc..be4e099713a23 100644 --- a/L1Trigger/L1TTrackMatch/plugins/L1TrackVertexAssociationProducer.cc +++ b/L1Trigger/L1TTrackMatch/plugins/L1TrackVertexAssociationProducer.cc @@ -559,9 +559,9 @@ void L1TrackVertexAssociationProducer::produce(edm::StreamID, edm::Event& iEvent if (passLinkLimitEmu && passSelectionEmu && deltaZSelEmu(track, l1VerticesEmulationHandle->at(0))) { vTTTrackAssociatedEmulationOutput->push_back(TTTrackRef(l1TracksHandle, i)); } //end block for satisfying LinkLimitEmu and SelectionEmu criteria - } //end if use track association NN - } //end if (processEmulatedTracks_) - } //end loop over input converted tracks + } //end if use track association NN + } //end if (processEmulatedTracks_) + } //end loop over input converted tracks if (processSimulatedTracks_ && processEmulatedTracks_ && debug_ >= 2) { printDebugInfo(l1SelectedTracksHandle, diff --git a/L1Trigger/L1TTrackMatch/plugins/L1TruthTrackFastJetProducer.cc b/L1Trigger/L1TTrackMatch/plugins/L1TruthTrackFastJetProducer.cc index 35303e77f70cb..3e6776fab14dc 100644 --- a/L1Trigger/L1TTrackMatch/plugins/L1TruthTrackFastJetProducer.cc +++ b/L1Trigger/L1TTrackMatch/plugins/L1TruthTrackFastJetProducer.cc @@ -168,7 +168,7 @@ void L1TruthTrackFastJetProducer::produce(edm::Event& iEvent, const edm::EventSe iterL1Track->momentum().mag()); JetInputs.push_back(psuedoJet); // input tracks for clustering JetInputs.back().set_user_index(this_l1track - 1); // save track index in the collection - } // end loop over tracks + } // end loop over tracks fastjet::ClusterSequence cs(JetInputs, jet_def); // define the output jet collection std::vector JetOutputs = diff --git a/L1Trigger/L1TTrackMatch/plugins/TPFastJetProducer.cc b/L1Trigger/L1TTrackMatch/plugins/TPFastJetProducer.cc index 5e43719fbc50b..0ecff5554ea40 100644 --- a/L1Trigger/L1TTrackMatch/plugins/TPFastJetProducer.cc +++ b/L1Trigger/L1TTrackMatch/plugins/TPFastJetProducer.cc @@ -167,7 +167,7 @@ void TPFastJetProducer::produce(edm::Event& iEvent, const edm::EventSetup& iSetu fastjet::PseudoJet psuedoJet(iterTP->px(), iterTP->py(), iterTP->pz(), iterTP->energy()); JetInputs.push_back(psuedoJet); // input tps for clustering JetInputs.back().set_user_index(this_tp - 1); // save tp index in the collection - } // end loop over tps + } // end loop over tps fastjet::ClusterSequence cs(JetInputs, jet_def); // define the output jet collection std::vector JetOutputs = diff --git a/L1Trigger/Phase2L1ParticleFlow/interface/HGC3DClusterEgID.h b/L1Trigger/Phase2L1ParticleFlow/interface/HGC3DClusterEgID.h index 8eae585f77f1c..f8f13df641516 100644 --- a/L1Trigger/Phase2L1ParticleFlow/interface/HGC3DClusterEgID.h +++ b/L1Trigger/Phase2L1ParticleFlow/interface/HGC3DClusterEgID.h @@ -48,6 +48,6 @@ namespace l1tpf { std::unique_ptr reader_; StringObjectFunction wp_; }; //class -}; // namespace l1tpf +}; // namespace l1tpf #endif diff --git a/L1Trigger/Phase2L1ParticleFlow/interface/TauNNId.h b/L1Trigger/Phase2L1ParticleFlow/interface/TauNNId.h index cbbbcee4f2a4a..3be839a96c81a 100644 --- a/L1Trigger/Phase2L1ParticleFlow/interface/TauNNId.h +++ b/L1Trigger/Phase2L1ParticleFlow/interface/TauNNId.h @@ -11,7 +11,7 @@ class TauNNId { const tensorflow::Session *session, const std::string &iWeightFile, int iNParticles); - ~TauNNId(){}; + ~TauNNId() {} void setNNVectorVar(); float EvaluateNN(); diff --git a/L1Trigger/Phase2L1ParticleFlow/interface/deregionizer/deregionizer_input.h b/L1Trigger/Phase2L1ParticleFlow/interface/deregionizer/deregionizer_input.h index 41b421e4dadba..4e02744ea45b8 100644 --- a/L1Trigger/Phase2L1ParticleFlow/interface/deregionizer/deregionizer_input.h +++ b/L1Trigger/Phase2L1ParticleFlow/interface/deregionizer/deregionizer_input.h @@ -49,7 +49,7 @@ namespace l1ct { // note: this one will work only in CMSSW DeregionizerInput(const std::vector linkConfigs); - ~DeregionizerInput(){}; + ~DeregionizerInput() {} std::vector> inputOrderInfo( const std::vector &inputRegions) const; diff --git a/L1Trigger/Phase2L1ParticleFlow/interface/deregionizer/deregionizer_ref.h b/L1Trigger/Phase2L1ParticleFlow/interface/deregionizer/deregionizer_ref.h index f418857520362..bdd698de7e7e8 100644 --- a/L1Trigger/Phase2L1ParticleFlow/interface/deregionizer/deregionizer_ref.h +++ b/L1Trigger/Phase2L1ParticleFlow/interface/deregionizer/deregionizer_ref.h @@ -21,7 +21,7 @@ namespace l1ct { // note: this one will work only in CMSSW DeregionizerEmulator(const edm::ParameterSet &iConfig); - ~DeregionizerEmulator(){}; + ~DeregionizerEmulator() {} void setDebug(bool debug = true) { debug_ = debug; } diff --git a/L1Trigger/Phase2L1ParticleFlow/plugins/L1HPSPFTauProducer.cc b/L1Trigger/Phase2L1ParticleFlow/plugins/L1HPSPFTauProducer.cc index 6f8f39c11317a..c1a0dddd150be 100644 --- a/L1Trigger/Phase2L1ParticleFlow/plugins/L1HPSPFTauProducer.cc +++ b/L1Trigger/Phase2L1ParticleFlow/plugins/L1HPSPFTauProducer.cc @@ -20,7 +20,7 @@ class L1HPSPFTauProducer : public edm::global::EDProducer<> { public: explicit L1HPSPFTauProducer(const edm::ParameterSet&); - ~L1HPSPFTauProducer() override{}; + ~L1HPSPFTauProducer() override {} static void fillDescriptions(edm::ConfigurationDescriptions& descriptions); private: diff --git a/L1Trigger/Phase2L1ParticleFlow/plugins/L1NNTauProducer.cc b/L1Trigger/Phase2L1ParticleFlow/plugins/L1NNTauProducer.cc index 0b0e8064f3cfb..1bdece9636a35 100644 --- a/L1Trigger/Phase2L1ParticleFlow/plugins/L1NNTauProducer.cc +++ b/L1Trigger/Phase2L1ParticleFlow/plugins/L1NNTauProducer.cc @@ -26,7 +26,7 @@ class L1NNTauProducer : public edm::stream::EDProducer initializeGlobalCache(const edm::ParameterSet&); - static void globalEndJob(const tensorflow::SessionCache*){}; + static void globalEndJob(const tensorflow::SessionCache*) {} private: // There is te software and hardware emulator for the tau, default is the Hardware. diff --git a/L1Trigger/TrackTrigger/plugins/TTStubBuilder.cc b/L1Trigger/TrackTrigger/plugins/TTStubBuilder.cc index a44619a15b5f1..9e4f2511f75b2 100644 --- a/L1Trigger/TrackTrigger/plugins/TTStubBuilder.cc +++ b/L1Trigger/TrackTrigger/plugins/TTStubBuilder.cc @@ -81,7 +81,7 @@ void TTStubBuilder::updateStubs( outputFiller.push_back(tempTTStub); } /// End of loop over stubs of this module - } /// End of loop over stub DetSetVector + } /// End of loop over stub DetSetVector } /// Implement the producer @@ -206,7 +206,7 @@ void TTStubBuilder::produce(edm::Event& iEvent, const ed tempTTStub.setBendBE(thisHardBend); tempOutput.push_back(tempTTStub); } /// Stub accepted - } /// End of loop over upper clusters + } /// End of loop over upper clusters /// Here tempOutput stores all the stubs from this lower cluster /// Check if there is need to store only one or two (2S/PS modules cases) (if only one already, skip this step) @@ -336,8 +336,8 @@ void TTStubBuilder::produce(edm::Event& iEvent, const ed } } } /// End of check on max number of stubs per module - } /// End of nested loop - } /// End of loop over pairs of Clusters + } /// End of nested loop + } /// End of loop over pairs of Clusters /// Fill output collections if (not tempClusLowerAcc.empty()) diff --git a/L1Trigger/TrackTrigger/src/TTClusterAlgorithm_neighbor.cc b/L1Trigger/TrackTrigger/src/TTClusterAlgorithm_neighbor.cc index ba7a03a5d57ab..8ac018155c11d 100644 --- a/L1Trigger/TrackTrigger/src/TTClusterAlgorithm_neighbor.cc +++ b/L1Trigger/TrackTrigger/src/TTClusterAlgorithm_neighbor.cc @@ -67,5 +67,5 @@ void TTClusterAlgorithm_neighbor::addNeighbors(std::vect used[i] = true; } } /// End of loop over candidate neighbours - } /// End of loop over hits + } /// End of loop over hits } diff --git a/L1Trigger/TrackTrigger/src/TTClusterAlgorithm_official.cc b/L1Trigger/TrackTrigger/src/TTClusterAlgorithm_official.cc index 61eb07f98c712..dca6a91d1b61f 100644 --- a/L1Trigger/TrackTrigger/src/TTClusterAlgorithm_official.cc +++ b/L1Trigger/TrackTrigger/src/TTClusterAlgorithm_official.cc @@ -167,5 +167,5 @@ void TTClusterAlgorithm_official::Cluster( output.push_back(candCluster); } } /// End of non-PS case - } /// End of loop over mapped 1D Clusters + } /// End of loop over mapped 1D Clusters } diff --git a/L1Trigger/TrackTrigger/src/TTStubAlgorithm_official.cc b/L1Trigger/TrackTrigger/src/TTStubAlgorithm_official.cc index de985c809a4bd..8b83787528ca4 100644 --- a/L1Trigger/TrackTrigger/src/TTStubAlgorithm_official.cc +++ b/L1Trigger/TrackTrigger/src/TTStubAlgorithm_official.cc @@ -123,7 +123,7 @@ void TTStubAlgorithm_official::PatternHitCorrelation( aDisplacement = dispI; /// In HALF-STRIP units! anOffset = offsetI; /// In HALF-STRIP units! anHardBend = this->degradeBend(isPS, window, (aDisplacement - anOffset)); // In strips units - } /// End of stub is accepted + } /// End of stub is accepted } //--- Does the actual work of degrading the bend. (based on I.Tomalin's code) diff --git a/SimCalorimetry/EcalEBTrigPrimProducers/plugins/EcalEBTrigPrimAnalyzer.cc b/SimCalorimetry/EcalEBTrigPrimProducers/plugins/EcalEBTrigPrimAnalyzer.cc index cfb331e055174..2aaed2ed37e46 100644 --- a/SimCalorimetry/EcalEBTrigPrimProducers/plugins/EcalEBTrigPrimAnalyzer.cc +++ b/SimCalorimetry/EcalEBTrigPrimProducers/plugins/EcalEBTrigPrimAnalyzer.cc @@ -235,7 +235,7 @@ void EcalEBTrigPrimAnalyzer::analyze(const edm::Event& iEvent, const edm::EventS } } // end loop of recHits - } // if recHits + } // if recHits } // end loop over TP collection