-
Notifications
You must be signed in to change notification settings - Fork 11
/
SuperaOptical.h
67 lines (53 loc) · 1.38 KB
/
SuperaOptical.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
/**
* \file SuperaOptical.h
*
* \ingroup Package_Name
*
* \brief Class def header for a class SuperaOptical
*
* @author Temigo
*/
/** \addtogroup Package_Name
@{*/
#ifndef __SUPERAOPTICAL_H__
#define __SUPERAOPTICAL_H__
#include "SuperaBase.h"
#include <vector>
namespace larcv {
/**
\class ProcessBase
User defined class SuperaOptical ... these comments are used to generate
doxygen documentation!
*/
class SuperaOptical : public SuperaBase {
public:
/// Default constructor
SuperaOptical(const std::string name = "SuperaOptical");
/// Default destructor
~SuperaOptical() {}
void configure(const PSet&);
void initialize();
bool process(IOManager& mgr);
void finalize();
private:
std::vector<std::string> _opflash_producer_label_v;
std::vector<std::string> _opflash_output_label_v;
};
/**
\class larcv::SuperaOpticalFactory
\brief A concrete factory class for larcv::SuperaOptical
*/
class SuperaOpticalProcessFactory : public ProcessFactoryBase {
public:
/// ctor
SuperaOpticalProcessFactory() {
ProcessFactory::get().add_factory("SuperaOptical", this);
}
/// dtor
~SuperaOpticalProcessFactory() {}
/// creation method
ProcessBase* create(const std::string instance_name) { return new SuperaOptical(instance_name); }
};
}
#endif
/** @} */ // end of doxygen group