Toggle navigation
MoMEMta
modules
EmptyModule.cc
1
/*
2
* MoMEMta: a modular implementation of the Matrix Element Method
3
* Copyright (C) 2016 Universite catholique de Louvain (UCL), Belgium
4
*
5
* This program is free software: you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation, either version 3 of the License, or
8
* (at your option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19
20
#include <momemta/ParameterSet.h>
21
#include <momemta/Module.h>
22
26
class
EmptyModule
:
public
Module
{
27
public
:
28
29
EmptyModule
(PoolPtr pool,
const
ParameterSet
& parameters):
Module
(pool, parameters.getModuleName()) {
30
// Empty
31
};
32
33
virtual
Status
work
()
override
{
34
return
Status::OK;
35
}
36
};
37
38
REGISTER_MODULE(
EmptyModule
);
EmptyModule::work
virtual Status work() override
Main function.
Definition:
EmptyModule.cc:33
Module
Parent class for all the modules.
Definition:
Module.h:37
ParameterSet
A class encapsulating a lua table.
Definition:
ParameterSet.h:82
Module::Module
Module(PoolPtr pool, const std::string &name)
Constructor.
Definition:
Module.h:61
EmptyModule
Definition:
EmptyModule.cc:26
Generated by
1.8.13