Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:04:16

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 #ifndef DD4HEP_CONFIG_H
0014 #define DD4HEP_CONFIG_H
0015 
0016 #define DD4HEP_INSTANCE_COUNTS 1
0017 #define DD4HEP_USE_SAFE_CAST   1
0018 
0019 /// Enable to have more debugging information for conditions and keys
0020 /// If enabled it overrides DD4HEP_MINIMAL_CONDITIONS and sets it to true
0021 /// If enabled it overrides DD4HEP_CONDITIONS_HAVE_NAME and sets it to true
0022 #if defined(DD4HEP_DEBUG)
0023 #define DD4HEP_CONDITIONS_DEBUG     1
0024 #endif
0025 
0026 #if defined(DD4HEP_CONDITIONS_DEBUG)
0027 /// Enable flag to store conditions names to keys (needs some support from user code!)
0028 #define DD4HEP_CONDITIONS_HAVE_NAME 1
0029 #else
0030 /// Enable this if you want to minimize the footprint of conditions
0031 #define DD4HEP_MINIMAL_CONDITIONS   1
0032 #endif
0033 
0034 /// Valid implementations of the Gaudi plugin service are 1 and 2
0035 #define DD4HEP_PLUGINSVC_VERSION    2
0036 
0037 #ifdef DD4HEP_INSTANCE_COUNTS
0038 #define INCREMENT_COUNTER InstanceCount::increment(this)
0039 #define DECREMENT_COUNTER InstanceCount::decrement(this)
0040 #else
0041 #define INCREMENT_COUNTER
0042 #define DECREMENT_COUNTER
0043 #endif
0044 
0045 #if defined(G__ROOT) || defined(__CLING__) || defined(__ROOTCLING__)
0046 #define DD4HEP_INTERPRETER_MODE 1
0047 #endif
0048 
0049 /// Namespace for the AIDA detector description toolkit
0050 namespace dd4hep {
0051 
0052   /// Namespace for the conditions part of the AIDA detector description toolkit
0053   namespace cond   {
0054   }       /* End namespace cond      */
0055 
0056   /// Namespace for implementation details of the AIDA detector description toolkit
0057   namespace detail {
0058     /// Namespace for the AIDA detector description matrix helpers
0059     namespace matrix {
0060     }     /* End namespace matrix    */
0061   }       /* End namespace detail    */
0062 }         /* End namespace dd4hep    */
0063 #endif // DD4HEP_CONFIG_H