Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
atlas
athena
Commits
a1972774
Commit
a1972774
authored
Feb 21, 2020
by
Nicolas Koehler
Committed by
Walter Lampl
Feb 21, 2020
Browse files
Fix NSW geometry initialisation (
ATLASSIM-4447
and
ATLASSIM-4448
)
parent
a8644c3d
Changes
3
Hide whitespace changes
Inline
Side-by-side
MuonSpectrometer/MuonGeoModel/MuonGeoModel/MuonDetectorFactory001.h
View file @
a1972774
/*
Copyright (C) 2002-20
19
CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-20
20
CERN for the benefit of the ATLAS collaboration
*/
#ifndef MuonDetectorFactory001_H
...
...
@@ -35,7 +35,7 @@ public:
virtual
void
create
(
GeoPhysVol
*
world
);
// Get the manager.
virtual
const
MuonDetectorManager
*
getDetectorManager
()
const
;
virtual
MuonDetectorManager
*
getDetectorManager
()
const
;
inline
void
setDBAtlasVersion
(
std
::
string
v
);
inline
void
setDBMuonVersion
(
std
::
string
v
);
...
...
MuonSpectrometer/MuonGeoModel/src/MYSQL.cxx
View file @
a1972774
...
...
@@ -136,17 +136,23 @@ TgcReadoutParams* MYSQL::GetTgcRPars(int jsta)
Technology
*
MYSQL
::
GetTechnology
(
std
::
string
name
)
{
std
::
map
<
std
::
string
,
Technology
*
>::
const_iterator
it
=
m_technologies
.
find
(
name
);
#ifndef NDEBUG
MsgStream
log
(
Athena
::
getMessageSvc
(),
"MuonGeoModel.MYSQL"
);
#endif
if
(
it
!=
m_technologies
.
end
())
{
#ifndef NDEBUG
if
(
log
.
level
()
<=
MSG
::
VERBOSE
)
{
log
<<
MSG
::
VERBOSE
<<
"found the station technology name "
<<
name
<<
endmsg
;
}
#endif
return
it
->
second
;
}
else
{
#ifndef NDEBUG
if
(
log
.
level
()
<=
MSG
::
VERBOSE
)
{
log
<<
MSG
::
VERBOSE
<<
"MYSQL:: Technology "
<<
name
<<
"+++++++++ not found!"
<<
endmsg
;
}
return
0
;
#endif
return
nullptr
;
}
}
...
...
MuonSpectrometer/MuonGeoModel/src/MuonDetectorFactory001.cxx
View file @
a1972774
...
...
@@ -115,7 +115,7 @@ namespace MuonGM {
delete
m_muon
;
}
const
MuonDetectorManager
*
MuonDetectorFactory001
::
getDetectorManager
()
const
MuonDetectorManager
*
MuonDetectorFactory001
::
getDetectorManager
()
const
{
return
m_manager
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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