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