DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
ConditionsCleanup.cpp
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 
14 // Framework include files
16 
17 using namespace dd4hep::cond;
18 
20 bool ConditionsCleanup::operator()(const ConditionsIOVPool & /* iov_pool */) const
21 {
22  return false;
23 }
24 
26 bool ConditionsCleanup::operator()(const ConditionsPool & /* iov_pool */) const
27 {
28  return true;
29 }
30 
32 bool ConditionsFullCleanup::operator()(const ConditionsIOVPool & /* iov_pool */) const
33 {
34  return true;
35 }
36 
38 bool ConditionsFullCleanup::operator()(const ConditionsPool & /* iov_pool */) const
39 {
40  return true;
41 }
ConditionsCleanup.h
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
Namespace for implementation details of the AIDA detector description toolkit.
Definition: ConditionsCleanup.h:23
dd4hep::cond::ConditionsPool
Class implementing the conditions collection for a given IOV type.
Definition: ConditionsPool.h:54
dd4hep::cond::ConditionsCleanup::operator()
virtual bool operator()(const ConditionsIOVPool &iov_pool) const
Request cleanup operation of IOV POOL.
Definition: ConditionsCleanup.cpp:20
dd4hep::cond::ConditionsIOVPool
Pool of conditions satisfying one IOV type (epoch, run, fill, etc)
Definition: ConditionsIOVPool.h:38