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