Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 09:16:48

0001 //==========================================================================
0002 //  AIDA Detector description implementation 
0003 //--------------------------------------------------------------------------
0004 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
0005 // All rights reserved.
0006 //
0007 // For the licensing terms see $DD4hepINSTALL/LICENSE.
0008 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
0009 //
0010 // Author     : M.Frank
0011 //
0012 //==========================================================================
0013 
0014 // Framework includes
0015 #include <DD4hep/detail/SegmentationsInterna.h>
0016 #include <DD4hep/Factories.h>
0017 
0018 using namespace dd4hep;
0019 using namespace dd4hep::DDSegmentation;
0020 
0021 namespace {
0022   template<typename T> dd4hep::SegmentationObject*
0023   create_segmentation(const dd4hep::BitFieldCoder* decoder)  {
0024     return new dd4hep::SegmentationWrapper<T>(decoder);
0025   }
0026 }
0027 
0028 #include <DDSegmentation/NoSegmentation.h>
0029 DECLARE_SEGMENTATION(NoSegmentation,create_segmentation<dd4hep::DDSegmentation::NoSegmentation>)
0030 
0031 #include <DDSegmentation/CartesianGridXY.h>
0032 DECLARE_SEGMENTATION(CartesianGridXY,create_segmentation<dd4hep::DDSegmentation::CartesianGridXY>)
0033 
0034 #include <DDSegmentation/CartesianGridXZ.h>
0035 DECLARE_SEGMENTATION(CartesianGridXZ,create_segmentation<dd4hep::DDSegmentation::CartesianGridXZ>)
0036 
0037 #include <DDSegmentation/CartesianGridYZ.h>
0038 DECLARE_SEGMENTATION(CartesianGridYZ,create_segmentation<dd4hep::DDSegmentation::CartesianGridYZ>)
0039 
0040 #include <DDSegmentation/CartesianGridXYZ.h>
0041 DECLARE_SEGMENTATION(CartesianGridXYZ,create_segmentation<dd4hep::DDSegmentation::CartesianGridXYZ>)
0042 
0043 #include <DDSegmentation/CartesianGridUV.h>
0044 DECLARE_SEGMENTATION(CartesianGridUV,create_segmentation<dd4hep::DDSegmentation::CartesianGridUV>)
0045 
0046 #include <DDSegmentation/CartesianGridXYStaggered.h>
0047 DECLARE_SEGMENTATION(CartesianGridXYStaggered,dd4hep::create_segmentation<dd4hep::DDSegmentation::CartesianGridXYStaggered>)
0048 
0049 #include <DDSegmentation/CartesianStripX.h>
0050 DECLARE_SEGMENTATION(CartesianStripX,create_segmentation<dd4hep::DDSegmentation::CartesianStripX>)
0051 
0052 #include <DDSegmentation/CartesianStripY.h>
0053 DECLARE_SEGMENTATION(CartesianStripY,create_segmentation<dd4hep::DDSegmentation::CartesianStripY>)
0054 
0055 #include <DDSegmentation/CartesianStripZ.h>
0056 DECLARE_SEGMENTATION(CartesianStripZ,create_segmentation<dd4hep::DDSegmentation::CartesianStripZ>)
0057 
0058 #include <DDSegmentation/TiledLayerGridXY.h>
0059 DECLARE_SEGMENTATION(TiledLayerGridXY,create_segmentation<dd4hep::DDSegmentation::TiledLayerGridXY>)
0060 
0061 #include <DDSegmentation/MegatileLayerGridXY.h>
0062 DECLARE_SEGMENTATION(MegatileLayerGridXY,create_segmentation<dd4hep::DDSegmentation::MegatileLayerGridXY>)
0063 
0064 #include <DDSegmentation/WaferGridXY.h>
0065 DECLARE_SEGMENTATION(WaferGridXY,create_segmentation<dd4hep::DDSegmentation::WaferGridXY>)
0066 
0067 #include <DDSegmentation/PolarGridRPhi.h>
0068 DECLARE_SEGMENTATION(PolarGridRPhi,create_segmentation<dd4hep::DDSegmentation::PolarGridRPhi>)
0069 
0070 #include <DDSegmentation/GridPhiEta.h>
0071 DECLARE_SEGMENTATION(GridPhiEta,create_segmentation<dd4hep::DDSegmentation::GridPhiEta>)
0072 
0073 #include <DDSegmentation/GridRPhiEta.h>
0074 DECLARE_SEGMENTATION(GridRPhiEta,create_segmentation<dd4hep::DDSegmentation::GridRPhiEta>)
0075 
0076 #include <DDSegmentation/PolarGridRPhi2.h>
0077 DECLARE_SEGMENTATION(PolarGridRPhi2,create_segmentation<dd4hep::DDSegmentation::PolarGridRPhi2>)
0078 
0079 #include <DDSegmentation/ProjectiveCylinder.h>
0080 DECLARE_SEGMENTATION(ProjectiveCylinder,create_segmentation<dd4hep::DDSegmentation::ProjectiveCylinder>)
0081 
0082 #include <DDSegmentation/MultiSegmentation.h>
0083 DECLARE_SEGMENTATION(MultiSegmentation,create_segmentation<dd4hep::DDSegmentation::MultiSegmentation>)
0084 
0085 #include <DDSegmentation/HexGrid.h>
0086 DECLARE_SEGMENTATION(HexGrid,create_segmentation<dd4hep::DDSegmentation::HexGrid>)
0087 
0088 #include <DDSegmentation/CylindricalGridPhiZ.h>
0089 DECLARE_SEGMENTATION(CylindricalGridPhiZ,create_segmentation<dd4hep::DDSegmentation::CylindricalGridPhiZ>)