DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
ConditionsCleanup.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_CONDITIONSCLEANUP_H
14 #define DDCOND_CONDITIONSCLEANUP_H
15 
16 // Framework include files
17 #include "DDCond/ConditionsPool.h"
18 
20 namespace dd4hep {
21 
23  namespace cond {
24 
26 
33  public:
35  ConditionsCleanup() = default;
37  ConditionsCleanup(const ConditionsCleanup& c) = default;
39  virtual ~ConditionsCleanup() = default;
43  virtual bool operator()(const ConditionsIOVPool& iov_pool) const;
45  virtual bool operator()(const ConditionsPool& pool) const;
46  };
47 
49 
56  public:
58  ConditionsFullCleanup() = default;
62  virtual ~ConditionsFullCleanup() = default;
66  virtual bool operator()(const ConditionsIOVPool& iov_pool) const override;
68  virtual bool operator()(const ConditionsPool& pool) const override;
69  };
70  } /* End namespace cond */
71 } /* End namespace dd4hep */
72 
73 #endif // DDCOND_CONDITIONSCLEANUP_H
dd4hep::cond::ConditionsCleanup::ConditionsCleanup
ConditionsCleanup(const ConditionsCleanup &c)=default
Copy constructor.
cond
AlignmentCondition::Object * cond
Definition: AlignmentsCalculator.cpp:68
dd4hep::cond::ConditionsFullCleanup::operator()
virtual bool operator()(const ConditionsIOVPool &iov_pool) const override
Request cleanup operation of IOV POOL.
Definition: ConditionsCleanup.cpp:32
dd4hep::cond::ConditionsCleanup::ConditionsCleanup
ConditionsCleanup()=default
Default constructor.
dd4hep::cond::ConditionsFullCleanup::ConditionsFullCleanup
ConditionsFullCleanup()=default
Default constructor.
dd4hep::cond::ConditionsPool
Class implementing the conditions collection for a given IOV type.
Definition: ConditionsPool.h:54
dd4hep::cond::ConditionsFullCleanup
Base class to handle conditions cleanups.
Definition: ConditionsCleanup.h:55
dd4hep::cond::ConditionsFullCleanup::operator=
ConditionsFullCleanup & operator=(const ConditionsFullCleanup &c)=default
Assignment operator.
dd4hep::cond::ConditionsFullCleanup::~ConditionsFullCleanup
virtual ~ConditionsFullCleanup()=default
Default destructor.
dd4hep::cond::ConditionsFullCleanup::ConditionsFullCleanup
ConditionsFullCleanup(const ConditionsFullCleanup &c)=default
Copy constructor.
dd4hep::cond::ConditionsCleanup
Base class to handle conditions cleanups.
Definition: ConditionsCleanup.h:32
dd4hep
Namespace for the AIDA detector description toolkit.
Definition: AlignmentsCalib.h:28
dd4hep::cond::ConditionsCleanup::operator=
ConditionsCleanup & operator=(const ConditionsCleanup &c)=default
Assignment operator.
dd4hep::cond::ConditionsCleanup::operator()
virtual bool operator()(const ConditionsIOVPool &iov_pool) const
Request cleanup operation of IOV POOL.
Definition: ConditionsCleanup.cpp:20
ConditionsPool.h
dd4hep::cond::ConditionsCleanup::~ConditionsCleanup
virtual ~ConditionsCleanup()=default
Default destructor.
dd4hep::cond::ConditionsIOVPool
Pool of conditions satisfying one IOV type (epoch, run, fill, etc)
Definition: ConditionsIOVPool.h:38