DD4hep - The AIDA detector description toolkit for high energy physics experiments
DD4hep  Rev:Unversioneddirectory
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ConditionsOperators.h
Go to the documentation of this file.
1 // $Id: $
2 //==========================================================================
3 // AIDA Detector description implementation for LCD
4 //--------------------------------------------------------------------------
5 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
6 // All rights reserved.
7 //
8 // For the licensing terms see $DD4hepINSTALL/LICENSE.
9 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
10 //
11 // Author : M.Frank
12 //
13 //==========================================================================
14 #ifndef DD4HEP_CONDITIONS_CONDITIONSOPERATORS_H
15 #define DD4HEP_CONDITIONS_CONDITIONSOPERATORS_H
16 
17 // Framework include files
18 #include "DD4hep/Conditions.h"
20 
21 // C/C++ include files
22 
24 namespace DD4hep {
25 
27  namespace Geometry {
28  class LCDD;
29  }
30 
32  namespace Conditions {
33 
35  class Operators {
36  public:
38  static size_t collectAllConditions(Geometry::LCDD& lcdd, RangeConditions& conditions);
40  static size_t collectAllConditions(ConditionsManager mgr, RangeConditions& conditions);
42  static size_t collectAllConditions(Geometry::LCDD& lcdd, std::map<int,Condition>& conditions);
44  static size_t collectAllConditions(ConditionsManager mgr, std::map<int,Condition>& conditions);
45  };
46 
47 
48 
49  } /* End namespace Conditions */
50 } /* End namespace DD4hep */
51 
52 #endif /* DD4HEP_CONDITIONS_CONDITIONSOPERATORS_H */
static size_t collectAllConditions(Geometry::LCDD &lcdd, RangeConditions &conditions)
Select all condition from the conditions manager registered at the LCDD object.
Manager class for condition handles.
std::vector< Condition > RangeConditions
Definition: Conditions.h:359
The main interface to the DD4hep detector description package.
Definition: LCDD.h:82
Helper class for common stuff used frequently.