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

Merge branch 'alignment_13637' into '21.0'

Fixes for CIDs 13637, 13894, 32748

See merge request !1752
parents 105718c2 4e0610a0
No related merge requests found
......@@ -773,14 +773,14 @@ void SiTrkAlignDBTool::updateAsL2(const Trk::AlignModule * module, const Amg::Tr
// check the level we store in
ATH_MSG_INFO("DB aligning at level: "<<level);
unsigned int idet=0;
Trk::AlignModule::DetectorType det = idet ? Trk::AlignModule::SCT : Trk::AlignModule::Pixel;
Trk::AlignModule::DetectorType det = Trk::AlignModule::Pixel;
const std::vector<const Trk::TrkDetElementBase *> * elements = module->detElementCollection(det);
if( !elements ) {
ATH_MSG_FATAL("no elements of type "<<det);
return;
}
ATH_MSG_DEBUG("looping over "<<elements->size()<<" elements");
std::vector<std::string> level_mods; // where we store the unique identifiers we want to update
......@@ -846,6 +846,7 @@ void SiTrkAlignDBTool::updateAsL16(const Trk::AlignModule * module, double bowx)
if( !elements ) {
ATH_MSG_FATAL("no elements of type "<<det);
return;
}
ATH_MSG_DEBUG("looping over "<<elements->size()<<" elements");
......
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