DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
ConditionsOperators.h
Go to the documentation of this file.
1 //==========================================================================
2 // AIDA Detector description implementation
3 //--------------------------------------------------------------------------
4 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
5 // All rights reserved.
6 //
7 // For the licensing terms see $DD4hepINSTALL/LICENSE.
8 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
9 //
10 // Author : M.Frank
11 //
12 //==========================================================================
13 #ifndef DDCOND_CONDITIONSOPERATORS_H
14 #define DDCOND_CONDITIONSOPERATORS_H
15 
16 // Framework include files
18 
19 // C/C++ include files
20 
22 namespace dd4hep {
23 
25  namespace cond {
26 
27  // Forward declarations
28  class ConditionsManagerObject;
29 
31  class Operators {
32  public:
34  static size_t collectAllConditions(Detector& description, RangeConditions& conditions);
36  static size_t collectAllConditions(ConditionsManager mgr, RangeConditions& conditions);
38  static size_t collectAllConditions(Detector& description, std::map<int,Condition>& conditions);
40  static size_t collectAllConditions(ConditionsManager mgr, std::map<int,Condition>& conditions);
41  };
42  } /* End namespace cond */
43 } /* End namespace dd4hep */
44 
45 #endif // DDCOND_CONDITIONSOPERATORS_H
dd4hep::RangeConditions
std::vector< Condition > RangeConditions
Definition: Conditions.h:491
cond
AlignmentCondition::Object * cond
Definition: AlignmentsCalculator.cpp:68
ConditionsManager.h
dd4hep::cond::Operators::collectAllConditions
static size_t collectAllConditions(Detector &description, RangeConditions &conditions)
Select all condition from the conditions manager registered at the Detector object.
Definition: ConditionsOperators.cpp:28
dd4hep::cond::ConditionsManager
Manager class for condition handles.
Definition: ConditionsManager.h:46
dd4hep
Namespace for the AIDA detector description toolkit.
Definition: AlignmentsCalib.h:28
dd4hep::cond::Operators
Helper class for common stuff used frequently.
Definition: ConditionsOperators.h:31
dd4hep::Detector
The main interface to the dd4hep detector description package.
Definition: Detector.h:90