Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/Acts/Geometry/IConfinedTrackingVolumeBuilder.hpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // This file is part of the Acts project.
0002 //
0003 // Copyright (C) 2016-2018 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 http://mozilla.org/MPL/2.0/.
0008 
0009 #pragma once
0010 #include <memory>
0011 #include <vector>
0012 
0013 namespace Acts {
0014 
0015 class TrackingVolume;
0016 using MutableTrackingVolumePtr = std::shared_ptr<TrackingVolume>;
0017 using MutableTrackingVolumeVector = std::vector<MutableTrackingVolumePtr>;
0018 
0019 /// @brief This is an interface class for constructing TrackingVolumes whose are
0020 /// confined in a mother-TrackingVolume
0021 class IConfinedTrackingVolumeBuilder {
0022  public:
0023   /// Virtual destructor
0024   virtual ~IConfinedTrackingVolumeBuilder() = default;
0025 
0026   /// Interface for constructing a vector of confined TrackingVolumes
0027   virtual MutableTrackingVolumeVector centralVolumes() const = 0;
0028 
0029   /// Interface for retrieving the identification string of the confined volumes
0030   virtual const std::string& identification() const = 0;
0031 };
0032 
0033 }  // namespace Acts