Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:10:52

0001 // This file is part of the ACTS project.
0002 //
0003 // Copyright (C) 2016 CERN for the benefit of the ACTS project
0004 //
0005 // This Source Code Form is subject to the terms of the Mozilla Public
0006 // License, v. 2.0. If a copy of the MPL was not distributed with this
0007 // file, You can obtain one at https://mozilla.org/MPL/2.0/.
0008 
0009 #pragma once
0010 
0011 #include <memory>
0012 #include <vector>
0013 
0014 namespace Acts {
0015 
0016 class TrackingVolume;
0017 using MutableTrackingVolumePtr = std::shared_ptr<TrackingVolume>;
0018 using MutableTrackingVolumeVector = std::vector<MutableTrackingVolumePtr>;
0019 
0020 /// @brief This is an interface class for constructing TrackingVolumes whose are
0021 /// confined in a mother-TrackingVolume
0022 class IConfinedTrackingVolumeBuilder {
0023  public:
0024   /// Virtual destructor
0025   virtual ~IConfinedTrackingVolumeBuilder() = default;
0026 
0027   /// Interface for constructing a vector of confined TrackingVolumes
0028   virtual MutableTrackingVolumeVector centralVolumes() const = 0;
0029 
0030   /// Interface for retrieving the identification string of the confined volumes
0031   virtual const std::string& identification() const = 0;
0032 };
0033 
0034 }  // namespace Acts