-
Notifications
You must be signed in to change notification settings - Fork 1
/
LazarusModule.h
71 lines (57 loc) · 1.81 KB
/
LazarusModule.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
//! \file LazarusModule.h
//! \brief Processing module for flreconstruct
//! \details Process a things object
#ifndef LAZARUSMODULE_HH
#define LAZARUSMODULE_HH
// Standard Library
#include <vector>
#include <string>
#include <iostream>
#include <fstream>
#include <math.h>
// Third Party
#include "TFile.h"
// - Boost
#include "boost/date_time/posix_time/posix_time.hpp"
#include "boost/filesystem.hpp"
// - Bayeux
#include "bayeux/dpp/base_module.h"
#include "bayeux/dpp/output_module.h"
#include "bayeux/mctools/simulated_data.h"
#include "bayeux/mctools/utils.h"
#include "bayeux/datatools/service_manager.h"
#include "bayeux/geomtools/manager.h"
#include "bayeux/geomtools/geometry_service.h"
#include "bayeux/version.h"
// - Falaise
#include "falaise/falaise.h"
#include "falaise/exitcodes.h"
#include "falaise/resource.h"
#include "falaise/version.h"
#include "falaise/snemo/datamodels/calibrated_data.h"
#include "falaise/snemo/datamodels/data_model.h"
#include "falaise/snemo/services/services.h"
// This Project
#include "lib/FLSimulateArgs.h"
class LazarusModule : public dpp::base_module {
public:
//! Construct module
LazarusModule();
//! Destructor
virtual ~LazarusModule();
//! Configure the module
virtual void initialize(const datatools::properties& myConfig,
datatools::service_manager& flServices,
dpp::module_handle_dict_type& moduleDict);
//! Process supplied data record
virtual dpp::base_module::process_status process(datatools::things& workItem);
//! Reset the module
virtual void reset();
private:
// configurable data member
//std::string filename_output_;
// Macro which automatically creates the interface needed
// to enable the module to be loaded at runtime
DPP_MODULE_REGISTRATION_INTERFACE(LazarusModule);
};
#endif // SIMVALMODULE_HH