SQLamarr
The stand-alone ultra-fast simulation option for the LHCb experiment
CleanEventStore.h
1 // (c) Copyright 2022 CERN for the benefit of the LHCb Collaboration.
2 //
3 // This software is distributed under the terms of the GNU General Public
4 // Licence version 3 (GPL Version 3), copied verbatim in the file "LICENCE".
5 //
6 // In applying this licence, CERN does not waive the privileges and immunities
7 // granted to it by virtue of its status as an Intergovernmental Organization
8 // or submit itself to any jurisdiction.
9 
10 
11 #pragma once
12 
13 #include "SQLamarr/BaseSqlInterface.h"
14 #include "SQLamarr/Transformer.h"
15 
16 namespace SQLamarr
17 {
27  {
28  public:
30 
32  void execute () override;
33  };
34 }
Abstract interface with helper functions to access an SQLite DB.
BaseSqlInterface(SQLite3DB &db)
Constructor, acquiring the database without ownership.
Delete all rows from all tables without affecting the schema.
void execute() override
Execute the algorithm, cleaning the database.
Interface to an executable class used for polymorphism.
Definition: Transformer.h:17