Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:26:06

0001 /// \file NavStateFwd.h
0002 /// \author Andrei Gheata (andrei.gheata@cern.ch)
0003 /// \date 12.03.2014
0004 
0005 #ifndef VECGEOM_NAVIGATION_NAVSTATEFWD_H_
0006 #define VECGEOM_NAVIGATION_NAVSTATEFWD_H_
0007 
0008 #include "VecGeom/base/Cuda.h"
0009 #include "VecGeom/base/Config.h"
0010 
0011 #ifdef VECGEOM_USE_NAVINDEX
0012 #define NavigationStateImpl NavStateIndex
0013 #else
0014 #define NavigationStateImpl NavStatePath
0015 #endif
0016 namespace vecgeom {
0017 
0018 VECGEOM_HOST_FORWARD_DECLARE(class NavigationStateImpl;);
0019 VECGEOM_HOST_FORWARD_DECLARE(using NavigationState = NavigationStateImpl;);
0020 
0021 VECGEOM_DEVICE_FORWARD_DECLARE(class NavigationStateImpl;);
0022 VECGEOM_DEVICE_FORWARD_DECLARE(using NavigationState = NavigationStateImpl;);
0023 
0024 inline namespace VECGEOM_IMPL_NAMESPACE {
0025 
0026 class NavStateIndex;
0027 class NavStatePath;   // Needed even when not the navigation state, at least for GeoVisitor and NavIndexTable.
0028 using NavigationState = NavigationStateImpl;
0029 
0030 } // namespace VECGEOM_IMPL_NAMESPACE
0031 
0032 } // namespace vecgeom
0033 
0034 #undef NavigationStateImpl
0035 
0036 #endif // VECGEOM_NAVIGATION_NAVSTATEFWD_H_