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