Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 09:18:03

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 // DDDB is a detector description convention developed by the LHCb experiment.
0015 // For further information concerning the DTD, please see:
0016 // http://lhcb-comp.web.cern.ch/lhcb-comp/Frameworks/DetDesc/Documents/lhcbDtd.pdf
0017 //
0018 //==========================================================================
0019 
0020 // Framework includes
0021 #include "XML/XMLDimension.inl"
0022 #include "DDDB/DDDBDimension.h"
0023 #include "DDDB/DDDBTags.h"
0024 
0025 #define DD4HEP_DIMENSION_NS xml
0026 using namespace dd4hep::DD4HEP_DIMENSION_NS;
0027 
0028 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, alp1)
0029 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, alp2)
0030 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, sizeX)
0031 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, sizeX1)
0032 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, sizeX2)
0033 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, sizeX3)
0034 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, sizeX4)
0035 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, sizeY)
0036 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, sizeY1)
0037 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, sizeY2)
0038 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, sizeZ)
0039 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, rotX)
0040 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, rotY)
0041 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, rotZ)
0042 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, outerRadius)
0043 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, outerRadiusPZ)
0044 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, outerRadiusMZ)
0045 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, innerRadius)
0046 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, innerRadiusPZ)
0047 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, innerRadiusMZ)
0048 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, radlen)
0049 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, lambda)
0050 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, fractionmass)
0051 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, ionization)
0052 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, phiAngle)
0053 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, startPhiAngle)
0054 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, deltaPhiAngle)
0055 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, thetaAngle)
0056 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, startThetaAngle)
0057 XML_ATTR_NS_ACCESSOR_DOUBLE(dd4hep::DDDB::dddb_dim_t, deltaThetaAngle)
0058 
0059 XML_ATTR_NS_ACCESSOR_INT(   dd4hep::DDDB::dddb_dim_t, natoms)
0060 XML_ATTR_NS_ACCESSOR_INT(   dd4hep::DDDB::dddb_dim_t, number)
0061 XML_ATTR_NS_ACCESSOR_INT(   dd4hep::DDDB::dddb_dim_t, number1)
0062 XML_ATTR_NS_ACCESSOR_INT(   dd4hep::DDDB::dddb_dim_t, number2)
0063 XML_ATTR_NS_ACCESSOR_INT(   dd4hep::DDDB::dddb_dim_t, number3)
0064 XML_ATTR_NS_ACCESSOR_STRING(dd4hep::DDDB::dddb_dim_t, symbol)
0065 XML_ATTR_NS_ACCESSOR(std::string,dd4hep::DDDB::dddb_dim_t, href)
0066 XML_ATTR_NS_ACCESSOR(std::string,dd4hep::DDDB::dddb_dim_t, state)
0067 XML_ATTR_NS_ACCESSOR(std::string,dd4hep::DDDB::dddb_dim_t, logvol)
0068 XML_ATTR_NS_ACCESSOR(std::string,dd4hep::DDDB::dddb_dim_t, xunit)
0069 XML_ATTR_NS_ACCESSOR(std::string,dd4hep::DDDB::dddb_dim_t, xaxis)
0070 XML_ATTR_NS_ACCESSOR(std::string,dd4hep::DDDB::dddb_dim_t, yunit)
0071 XML_ATTR_NS_ACCESSOR(std::string,dd4hep::DDDB::dddb_dim_t, yaxis)
0072 XML_ATTR_NS_ACCESSOR(std::string,dd4hep::DDDB::dddb_dim_t, zunit)
0073 XML_ATTR_NS_ACCESSOR(std::string,dd4hep::DDDB::dddb_dim_t, zaxis)