Skip to content
Snippets Groups Projects
Commit 89585c63 authored by Susumu Oda's avatar Susumu Oda
Browse files

Message shown only for Pixel (ATLASRECTS-3505)

parent 6cb4dff9
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