Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:13:26

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 DDCOND_CONDITIONSOPERATORS_H
0014 #define DDCOND_CONDITIONSOPERATORS_H
0015 
0016 // Framework include files
0017 #include "DDCond/ConditionsManager.h"
0018 
0019 // C/C++ include files
0020 
0021 /// Namespace for the AIDA detector description toolkit
0022 namespace dd4hep {
0023 
0024   /// Namespace for implementation details of the AIDA detector description toolkit
0025   namespace cond {
0026 
0027     // Forward declarations
0028     class ConditionsManagerObject;
0029     
0030     /// Helper class for common stuff used frequently
0031     class Operators  {
0032     public:
0033       /// Select all condition from the conditions manager registered at the Detector object
0034       static size_t collectAllConditions(Detector& description,  RangeConditions& conditions);
0035       /// Select all condition from the conditions manager registered at the Detector object
0036       static size_t collectAllConditions(ConditionsManager mgr, RangeConditions& conditions);
0037       /// Select all condition from the conditions manager registered at the Detector object
0038       static size_t collectAllConditions(Detector& description,  std::map<int,Condition>& conditions);
0039       /// Select all condition from the conditions manager registered at the Detector object
0040       static size_t collectAllConditions(ConditionsManager mgr, std::map<int,Condition>& conditions);
0041     };
0042   } /* End namespace cond             */
0043 } /* End namespace dd4hep                   */
0044 
0045 #endif // DDCOND_CONDITIONSOPERATORS_H