Skip to content
GitLab
About GitLab
GitLab: the DevOps platform
Explore GitLab
Install GitLab
How GitLab compares
Get started
GitLab docs
GitLab Learn
Pricing
Talk to an expert
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Projects
Groups
Snippets
Sign up now
Login
Sign in / Register
Toggle navigation
Menu
Open sidebar
EIC
Project Juggler
Commits
e629198f
Commit
e629198f
authored
Mar 21, 2022
by
Wouter Deconinck
Browse files
clang-tidy: fix source_location issues
parent
ad753180
Changes
67
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
e629198f
...
...
@@ -90,7 +90,7 @@ analysis:clang-tidy:
-
juggler:local
script
:
-
|
run-clang-tidy-13 -p build -j20 -export-fixes clang_tidy_fixes.yml
run-clang-tidy-13 -p build -j20 -export-fixes clang_tidy_fixes.yml
-extra-arg='-std=c++17'
artifacts
:
expire_in
:
1 week
paths
:
...
...
JugBase/src/components/EICDataSvc.cpp
View file @
e629198f
...
...
@@ -2,6 +2,7 @@
// Instantiation of a static factory class used by clients to create
// instances of this service
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
DECLARE_COMPONENT
(
EICDataSvc
)
/// Standard Constructor
...
...
JugBase/src/components/GeoSvc.cpp
View file @
e629198f
...
...
@@ -75,6 +75,7 @@ void draw_surfaces(std::shared_ptr<const Acts::TrackingGeometry> trk_geo, const
using
namespace
Gaudi
;
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
DECLARE_COMPONENT
(
GeoSvc
)
GeoSvc
::
GeoSvc
(
const
std
::
string
&
name
,
ISvcLocator
*
svc
)
...
...
JugBase/src/components/InputCopier.cpp
View file @
e629198f
...
...
@@ -59,12 +59,15 @@ namespace Jug {
};
using
CalorimeterColCopier
=
InputCopier
<
edm4hep
::
SimCalorimeterHitCollection
,
edm4hep
::
SimCalorimeterHitCollection
>
;
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
DECLARE_COMPONENT
(
CalorimeterColCopier
)
using
TrackerColCopier
=
InputCopier
<
edm4hep
::
SimTrackerHitCollection
,
edm4hep
::
SimTrackerHitCollection
>
;
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
DECLARE_COMPONENT
(
TrackerColCopier
)
using
MCCopier
=
InputCopier
<
edm4hep
::
MCParticleCollection
,
edm4hep
::
MCParticleCollection
>
;
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
DECLARE_COMPONENT
(
MCCopier
)
}
// namespace Examples
...
...
JugBase/src/components/ParticleSvc.cpp
View file @
e629198f
#include
"ParticleSvc.h"
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
DECLARE_COMPONENT
(
ParticleSvc
)
namespace
{
...
...
JugBase/src/components/PodioInput.cpp
View file @
e629198f
...
...
@@ -6,6 +6,7 @@
#include
"JugBase/DataWrapper.h"
#include
"JugBase/PodioDataSvc.h"
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
DECLARE_COMPONENT
(
PodioInput
)
PodioInput
::
PodioInput
(
const
std
::
string
&
name
,
ISvcLocator
*
svcLoc
)
:
GaudiAlgorithm
(
name
,
svcLoc
)
{}
...
...
JugBase/src/components/PodioOutput.cpp
View file @
e629198f
...
...
@@ -5,6 +5,7 @@
#include
"TFile.h"
#include
"rootutils.h"
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
DECLARE_COMPONENT
(
PodioOutput
)
PodioOutput
::
PodioOutput
(
const
std
::
string
&
name
,
ISvcLocator
*
svcLoc
)
...
...
JugDigi/src/components/CalorimeterBirksCorr.cpp
View file @
e629198f
...
...
@@ -97,6 +97,7 @@ namespace Jug::Digi {
return
StatusCode
::
SUCCESS
;
}
};
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
DECLARE_COMPONENT
(
CalorimeterBirksCorr
)
}
// namespace Jug::Digi
JugDigi/src/components/CalorimeterHitDigi.cpp
View file @
e629198f
...
...
@@ -247,6 +247,7 @@ namespace Jug::Digi {
}
}
};
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
DECLARE_COMPONENT
(
CalorimeterHitDigi
)
}
// namespace Jug::Digi
JugDigi/src/components/PhotoMultiplierDigi.cpp
View file @
e629198f
...
...
@@ -211,6 +211,7 @@ private:
}
};
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
DECLARE_COMPONENT
(
PhotoMultiplierDigi
)
}
// namespace Jug::Digi
...
...
JugDigi/src/components/SiliconTrackerDigi.cpp
View file @
e629198f
...
...
@@ -92,6 +92,7 @@ public:
return
StatusCode
::
SUCCESS
;
}
};
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
DECLARE_COMPONENT
(
SiliconTrackerDigi
)
}
// namespace Jug::Digi
JugDigi/src/components/SimTrackerHitsCollector.cpp
View file @
e629198f
...
...
@@ -65,6 +65,7 @@ namespace Jug::Digi {
return
StatusCode
::
SUCCESS
;
}
};
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
DECLARE_COMPONENT
(
SimTrackerHitsCollector
)
}
// namespace Jug::Digi
JugFast/src/components/ClusterMerger.cpp
View file @
e629198f
...
...
@@ -137,6 +137,7 @@ public:
return matched;
}
};
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
DECLARE_COMPONENT(ClusterMerger)
} // namespace Jug::Fast
...
...
JugFast/src/components/InclusiveKinematicsTruth.cpp
View file @
e629198f
...
...
@@ -161,6 +161,7 @@ public:
}
};
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
DECLARE_COMPONENT
(
InclusiveKinematicsTruth
)
}
// namespace Jug::Fast
JugFast/src/components/MC2SmearedParticle.cpp
View file @
e629198f
...
...
@@ -88,6 +88,7 @@ public:
}
};
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
DECLARE_COMPONENT
(
MC2SmearedParticle
)
}
// namespace Jug::Fast
JugFast/src/components/MatchClusters.cpp
View file @
e629198f
...
...
@@ -196,6 +196,7 @@ private:
}
}; // namespace Jug::Fast
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
DECLARE_COMPONENT(MatchClusters)
} // namespace Jug::Fast
...
...
JugFast/src/components/ParticlesWithTruthPID.cpp
View file @
e629198f
...
...
@@ -149,6 +149,7 @@ public:
}
};
// namespace Jug::Fast
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
DECLARE_COMPONENT
(
ParticlesWithTruthPID
)
}
// namespace Jug::Fast
...
...
JugFast/src/components/SmearedFarForwardParticles.cpp
View file @
e629198f
...
...
@@ -409,6 +409,7 @@ private:
}
};
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
DECLARE_COMPONENT
(
SmearedFarForwardParticles
)
}
// namespace Jug::Fast
...
...
JugFast/src/components/TruthClustering.cpp
View file @
e629198f
...
...
@@ -79,6 +79,7 @@ public:
}
};
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
DECLARE_COMPONENT
(
TruthClustering
)
}
// namespace Jug::Fast
JugFast/src/components/TruthEnergyPositionClusterMerger.cpp
View file @
e629198f
...
...
@@ -182,6 +182,7 @@ public:
return matched;
}
};
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
DECLARE_COMPONENT(TruthEnergyPositionClusterMerger)
} // namespace Jug::Fast
...
...
Prev
1
2
3
4
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment