Skip to content
Snippets Groups Projects

Sweeping !45799 from master to 22.0-mc20. PhysValMonitoring clang-tidy related fixes

Closed Sweeping !45799 from master to 22.0-mc20. PhysValMonitoring clang-tidy related fixes
Closed Atlas Nightlybuild requested to merge cherry-pick-73d261eb725-22.0-mc20 into 22.0-mc20
10 files
+ 82
70
Compare changes
  • Side-by-side
  • Inline
Files
10
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/
#include <utility>
#include "BTagPlots.h"
using CLHEP::GeV;
namespace PhysVal{
BTagPlots::BTagPlots(PlotBase* pParent, std::string sDir, std::string sParticleType):PlotBase(pParent, sDir),
m_sParticleType(sParticleType)
BTagPlots::BTagPlots(PlotBase* pParent, const std::string& sDir, std::string sParticleType):PlotBase(pParent, sDir),
m_sParticleType(std::move(sParticleType))
{}
void BTagPlots::initializePlots(){
@@ -20,7 +24,7 @@ void BTagPlots::initializePlots(){
std::cout << "filling b-tagging plots with BS weight: " << evt->beamSpotWeight();
}
void BTagPlots::fill(unsigned int nbtag,const xAOD::EventInfo* evt){
void BTagPlots::fill(unsigned int nbtag,const xAOD::EventInfo* evt) const{
n->Fill(nbtag,evt->beamSpotWeight());
}
}
Loading