Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-04-01 08:52:24

0001 /*
0002  * Copyright (c) 2014-2024 Key4hep-Project.
0003  *
0004  * This file is part of Key4hep.
0005  * See https://key4hep.github.io/key4hep-doc/ for further info.
0006  *
0007  * Licensed under the Apache License, Version 2.0 (the "License");
0008  * you may not use this file except in compliance with the License.
0009  * You may obtain a copy of the License at
0010  *
0011  *     http://www.apache.org/licenses/LICENSE-2.0
0012  *
0013  * Unless required by applicable law or agreed to in writing, software
0014  * distributed under the License is distributed on an "AS IS" BASIS,
0015  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0016  * See the License for the specific language governing permissions and
0017  * limitations under the License.
0018  */
0019 
0020 #ifndef IACTSGEOSVC_H
0021 #define IACTSGEOSVC_H
0022 
0023 #include <GaudiKernel/IService.h>
0024 #include <unordered_map>
0025 
0026 namespace dd4hep {
0027   namespace rec {
0028     class Surface;
0029   }
0030 }  // namespace dd4hep
0031 
0032 namespace Acts {
0033   class TrackingGeometry;
0034   class Surface;
0035 }  // namespace Acts
0036 
0037 class GAUDI_API IActsGeoSvc : virtual public IService {
0038 public:
0039   using VolumeSurfaceMap = std::unordered_map<uint64_t, const Acts::Surface*>;
0040 
0041 public:
0042   DeclareInterfaceID(IActsGeoSvc, 1, 0);
0043 
0044   virtual const Acts::TrackingGeometry& trackingGeometry() const = 0;
0045 
0046   virtual ~IActsGeoSvc() {}
0047 };
0048 
0049 #endif  // IACTSGEOSVC_H