Skip to content
Snippets Groups Projects
Commit 007183b6 authored by Hass AbouZeid's avatar Hass AbouZeid
Browse files

Merge branch '21.0-ATLASRECTS-3505' into '21.0'

Message shown only for Pixel (SiLorentzAngleSvc, ATLASRECTS-3505)

See merge request !2416
parents 7f009c7d 89585c63
No related branches found
No related tags found
No related merge requests found
......@@ -147,6 +147,11 @@ StatusCode SiLorentzAngleSvc::geoInitialize() {
const PixelID * idHelper;
CHECK(m_detStore->retrieve(idHelper,"PixelID"));
maxHash = idHelper->wafer_hash_max();
// Check layout
if (maxHash<2000) { ATH_MSG_INFO("Suppose RUN-1 geometry..."); }
else if (maxHash<2100) { ATH_MSG_INFO("Suppose RUN-2 geometry..."); }
else { ATH_MSG_INFO("Suppose RUN-4 geometry..."); }
}
else { // SCT
const SCT_ID * idHelper;
......@@ -154,11 +159,6 @@ StatusCode SiLorentzAngleSvc::geoInitialize() {
maxHash = idHelper->wafer_hash_max();
}
// Check layout
if (maxHash<2000) { ATH_MSG_INFO("Suppose RUN-1 geometry..."); }
else if (maxHash<2100) { ATH_MSG_INFO("Suppose RUN-2 geometry..."); }
else { ATH_MSG_INFO("Suppose RUN-4 geometry..."); }
// In case geoInitialize is called more than once (not likely in practice)
m_cacheValid.clear();
m_magFieldCacheValid.clear();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment