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
AlignmentsLoaderImp.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_ALIGNMENTSLOADERIMP_H
15 #define DDCOND_ALIGNMENTSLOADERIMP_H
16 
17 // Framework include files
19 #include "DDCond/ConditionsPool.h"
20 
22 namespace DD4hep {
23 
25  namespace Conditions {
26 
28 
34  public:
36 
37  protected:
41  long m_refCount;
42 
43  public:
47  virtual ~AlignmentsLoaderImp();
49  virtual void addRef();
51  virtual void release();
53  virtual Alignment get(key_type key, const iov_type& iov);
55  virtual Alignment get(key_type key, const UserPool& pool);
56  };
57 
58  } /* End namespace Conditions */
59 } /* End namespace DD4hep */
60 
61 #endif /* DDCOND_ALIGNMENTSLOADERIMP_H */
The data class behind a alignments container handle.
Interface for conditions pool optimized to host conditions updates.
Main handle class to hold an alignment object.
Definition: Alignments.h:65
Class describing the interval of validty.
Definition: IOV.h:59
Manager class for condition handles.
AlignmentsLoaderImp(ConditionsManager mgr)
Default constructor.
Concrete class to interface conditions loading from DetElements.
Alignment::key_type key_type
Forward defintion of the key type.
virtual void release()
Release object. The client may not use any reference any further.
ConditionsManager m_manager
Reference to conditions manager.
virtual ~AlignmentsLoaderImp()
Default destructor.
virtual void addRef()
Addreference count. Use object.