forked from kvtsang/Supera
-
Notifications
You must be signed in to change notification settings - Fork 0
/
LArCVMetaData.h
80 lines (69 loc) · 1.78 KB
/
LArCVMetaData.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
70
71
72
73
74
75
76
77
78
79
80
#ifndef __LARCVMETADATA_H__
#define __LARCVMETADATA_H__
#include <string>
#include <map>
#include <set>
namespace larcv {
namespace sam {
struct FCLMetaData_t {
std::string name;
std::string version;
std::string data_tier;
std::string data_stream;
FCLMetaData_t() : name (" ")
, version (" ")
, data_tier (" ")
, data_stream (" ")
{}
};
struct UBMetaData_t {
std::string project_name;
std::string project_stage;
std::string project_version;
UBMetaData_t() : project_name (" ")
, project_stage (" ")
, project_version (" ")
{}
};
struct FileCatalogMetaData_t {
std::string file_format;
std::string file_type;
std::string group;
std::string application_family;
std::string application_name;
std::string application_version;
FileCatalogMetaData_t() : file_format ("larcv")
, file_type (" ")
, group ("uboone")
, application_family ("art")
, application_name (" ")
, application_version (" ")
{}
};
struct RunMetaData_t {
std::string run_type;
std::set<size_t> subruns;
RunMetaData_t() : run_type(" ")
, subruns()
{}
};
struct SAMBuiltInMetaData_t {
size_t first_event;
size_t last_event;
size_t event_count;
std::string start_time;
std::string end_time;
std::set<std::string> parents;
std::map<size_t,larcv::sam::RunMetaData_t> runs_m;
SAMBuiltInMetaData_t() : first_event (0)
, last_event (0)
, event_count (0)
, start_time (" ")
, end_time (" ")
, parents ()
, runs_m ()
{}
};
}
}
#endif