ATLAS Offline Software
IDetachedTrackingVolumeBuilderCond.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // IDetachedTrackingVolumeBuilderCond.h (c) ATLAS Detector software
8 
9 #ifndef TRKDETDESCRINTERFACES_IDETACHEDTRACKINGVOLUMEBUILDERCOND_H
10 #define TRKDETDESCRINTERFACES_IDETACHEDTRACKINGVOLUMEBUILDERCOND_H
11 
12 // Gaudi
13 #include "GaudiKernel/IAlgTool.h"
14 #include "GaudiKernel/EventContext.h"
15 #include "GaudiKernel/EventIDRange.h"
17 // STL
18 #include <vector>
19 
20 namespace Trk {
21 
22  class DetachedTrackingVolume;
23  class TrackingGeometry;
24 
32  class IDetachedTrackingVolumeBuilderCond : virtual public IAlgTool {
33 
34  public:
37 
40 
41  using DetachedVolumeVec = std::vector<std::unique_ptr<DetachedTrackingVolume>>;
42 
43  virtual DetachedVolumeVec
44  buildDetachedTrackingVolumes(const EventContext& ctx,
46  bool blend = false) const = 0 ;
47 
48  };
49 
50 } // end of namespace
51 
52 
53 #endif // TRKDETDESCRINTERFACES_IDETACHEDTRACKINGVOLUMEBUILDERCOND_H
54 
55 
Trk::IDetachedTrackingVolumeBuilderCond
Definition: IDetachedTrackingVolumeBuilderCond.h:32
Trk::IDetachedTrackingVolumeBuilderCond::DetachedVolumeVec
std::vector< std::unique_ptr< DetachedTrackingVolume > > DetachedVolumeVec
Definition: IDetachedTrackingVolumeBuilderCond.h:41
Trk::IDetachedTrackingVolumeBuilderCond::DeclareInterfaceID
DeclareInterfaceID(IDetachedTrackingVolumeBuilderCond, 1, 0)
Creates the InterfaceID and interfaceID() method.
Trk::IDetachedTrackingVolumeBuilderCond::buildDetachedTrackingVolumes
virtual DetachedVolumeVec buildDetachedTrackingVolumes(const EventContext &ctx, SG::WriteCondHandle< TrackingGeometry > &whandle, bool blend=false) const =0
WriteCondHandle.h
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::IDetachedTrackingVolumeBuilderCond::~IDetachedTrackingVolumeBuilderCond
virtual ~IDetachedTrackingVolumeBuilderCond()=default
Virtual destructor.
SG::WriteCondHandle
Definition: WriteCondHandle.h:26