ATLAS Offline Software
Loading...
Searching...
No Matches
MuonStationBuilderCond.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
6
8// constructor
10 const std::string& n,
11 const IInterface* p)
12 : Muon::MuonStationBuilderImpl(t, n, p) {
13 declareInterface<Trk::IDetachedTrackingVolumeBuilderCond>(this);
14}
15
20
23 SG::WriteCondHandle<Trk::TrackingGeometry>& whandle, bool blend) const {
24
26 if (!readHandle.isValid() ) {
27 ATH_MSG_FATAL(m_muonMgrReadKey.fullKey() << " is not available.");
28 throw std::runtime_error("No detector manager available");
29 }
30 whandle.addDependency(readHandle);
32}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_FATAL(x)
MuonStationBuilderCond(const std::string &, const std::string &, const IInterface *)
virtual StatusCode initialize() override
SG::ReadCondHandleKey< MuonGM::MuonDetectorManager > m_muonMgrReadKey
virtual DetachedVolumeVec buildDetachedTrackingVolumes(const EventContext &ctx, SG::WriteCondHandle< Trk::TrackingGeometry > &whandle, bool blend=false) const override
virtual StatusCode initialize() override
DetachedVolVec buildDetachedTrackingVolumesImpl(const MuonGM::MuonDetectorManager *muonMgr, bool blend=false) const
std::vector< std::unique_ptr< Trk::DetachedTrackingVolume > > DetachedVolVec
MuonStationBuilderImpl(const std::string &, const std::string &, const IInterface *)
const_pointer_type cptr()
void addDependency(const EventIDRange &range)
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.