Skip to content
Snippets Groups Projects
Commit d548f07c authored by Rachid Mazini's avatar Rachid Mazini
Browse files

Merge branch 'iovsvctool_20210922' into '22.0-mc20'

InDetReadoutGeometry+SCT_ConditionsAlgorithms: SiDetectorElementCollection should have mixed conditions

See merge request atlas/athena!46680
parents 384f415f 08da11da
No related branches found
No related tags found
No related merge requests found
/*
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/
#include "SCT_DetectorElementCondAlg.h"
......@@ -8,6 +8,7 @@
#include "InDetReadoutGeometry/SiDetectorElement.h"
#include "TrkGeometry/Layer.h"
#include "TrkSurfaces/Surface.h"
#include "AthenaKernel/IOVInfiniteRange.h"
#include <map>
......@@ -75,6 +76,9 @@ StatusCode SCT_DetectorElementCondAlg::execute(const EventContext& ctx) const
return StatusCode::FAILURE;
}
// Make sure we make a mixed IOV.
writeHandle.addDependency (IOVInfiniteRange::infiniteMixed());
// Add dependency
writeHandle.addDependency(readHandle);
// Additional dependencies for IOV range to limit lifetime to TrackingGeometry lifetime
......
/*
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
*/
///////////////////////////////////////////////////////////////////
......@@ -38,6 +38,6 @@ namespace InDetDD {
#include "AthenaKernel/CLASS_DEF.h"
CLASS_DEF( InDetDD::SiDetectorElementCollection , 1330395642 , 1 )
#include "AthenaKernel/CondCont.h"
CONDCONT_DEF( InDetDD::SiDetectorElementCollection, 1098715294 );
CONDCONT_MIXED_DEF( InDetDD::SiDetectorElementCollection, 1098715294 );
#endif // INDETREADOUTGEOMETRY_SIDETECTORELEMENTCOLLECTION_H
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