Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIC
detectors
athena
Commits
a43183ed
Commit
a43183ed
authored
3 years ago
by
Wouter Deconinck
Browse files
Options
Downloads
Patches
Plain Diff
FieldMapBrBz.cpp: clang is picky about default arguments on default constructor
parent
e094049f
No related branches found
Branches containing commit
No related tags found
2 merge requests
!329
Master into deathvalley
,
!316
FieldMapBrBz.cpp: clang is picky about default arguments on default constructor
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/FieldMapBrBz.cpp
+2
-2
2 additions, 2 deletions
src/FieldMapBrBz.cpp
with
2 additions
and
2 deletions
src/FieldMapBrBz.cpp
+
2
−
2
View file @
a43183ed
...
...
@@ -19,7 +19,7 @@ using namespace dd4hep;
class
FieldMapBrBz
:
public
dd4hep
::
CartesianField
::
Object
{
public:
FieldMapBrBz
(
const
std
::
string
&
field_type
);
FieldMapBrBz
(
const
std
::
string
&
field_type
=
"magnetic"
);
void
Configure
(
double
rmin
,
double
rmax
,
double
rstep
,
double
zmin
,
double
zmax
,
double
zstep
);
void
LoadMap
(
const
std
::
string
&
map_file
,
double
scale
);
void
GetIndices
(
double
r
,
double
z
,
int
&
ir
,
int
&
iz
,
double
&
dr
,
double
&
dz
);
...
...
@@ -35,7 +35,7 @@ private:
};
// constructor
FieldMapBrBz
::
FieldMapBrBz
(
const
std
::
string
&
field_type
=
"magnetic"
)
FieldMapBrBz
::
FieldMapBrBz
(
const
std
::
string
&
field_type
)
{
std
::
string
ftype
=
field_type
;
for
(
auto
&
c
:
ftype
)
{
c
=
tolower
(
c
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment