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
ConditionsLoaderImp.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 DDCOND_CONDITIONSLOADERIMP_H
15 #define DDCOND_CONDITIONSLOADERIMP_H
16 
17 // Framework include files
18 #include "DDCond/ConditionsPool.h"
20 
22 namespace DD4hep {
23 
25  namespace Conditions {
26 
28 
34  protected:
38  long m_refCount;
39  public:
43  virtual ~ConditionsLoaderImp();
45  virtual void addRef();
47  virtual void release();
49  virtual Condition get(key_type key, const iov_type& iov);
51  virtual Condition get(key_type key, const UserPool& pool);
52  };
53 
54  } /* End namespace Conditions */
55 } /* End namespace DD4hep */
56 
57 #endif /* DDCOND_CONDITIONSDATALOADERIMP_H */
Interface for conditions pool optimized to host conditions updates.
Main condition object handle.
Definition: Conditions.h:70
virtual ~ConditionsLoaderImp()
Default destructor.
The data class behind a conditions container handle.
Class describing the interval of validty.
Definition: IOV.h:59
Manager class for condition handles.
virtual void addRef()
Addreference count. Use object.
ConditionsLoaderImp(ConditionsManager mgr)
Default constructor.
ConditionsManager m_manager
Reference to conditions manager.
Concrete class to interface conditions loading from DetElements.
virtual void release()
Release object. The client may not use any reference any further.