Skip to content
Snippets Groups Projects

Sweeping !55884 from master to 22.0. TrkValInterfaces: const/mutable fixes

Merged Sweeping !55884 from master to 22.0. TrkValInterfaces: const/mutable fixes
Merged Atlas Nightlybuild requested to merge cherry-pick-df6710480d7-22.0 into 22.0
50 files
+ 549
549
Compare changes
  • Side-by-side
  • Inline
Files
50
/*
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
*/
#include "MuonStationNtupleHelperTool.h"
@@ -64,7 +64,7 @@ StatusCode Muon::MuonStationNtupleHelperTool::finalize()
///////////////////////////////////////
StatusCode Muon::MuonStationNtupleHelperTool::addNtupleItems (
TTree* tree,
const int& detectorType) const {
const int& detectorType) {
// add items to the ntuple
if (detectorType==Trk::TrackState::MDT) {
@@ -94,7 +94,7 @@ StatusCode Muon::MuonStationNtupleHelperTool::fillMeasurementData (
const Trk::MeasurementBase* hit,
const Trk::TrackParameters* ,
const int& detectorType,
const bool& /*isOutlier*/) const {
const bool& /*isOutlier*/) {
// todo is this actually called for outliers?
@@ -119,7 +119,7 @@ StatusCode Muon::MuonStationNtupleHelperTool::fillMeasurementData (
}
StatusCode Muon::MuonStationNtupleHelperTool::resetVariables (
const int& detectorType ) const {
const int& detectorType ) {
if (detectorType==Trk::TrackState::MDT) {
m_mdtSectorIx->clear();
m_mdtStationIx->clear();
@@ -138,7 +138,7 @@ StatusCode Muon::MuonStationNtupleHelperTool::resetVariables (
StatusCode Muon::MuonStationNtupleHelperTool::fillHoleData (
const Trk::TrackStateOnSurface&,
const int&) const {
const int&) {
// we do nothing with holes
return StatusCode::SUCCESS;
}
Loading