remage
Simulation framework for HPGe-based experiments
Loading...
Searching...
No Matches
RMGDetectorMetadata.hh
1
// Copyright (C) 2024 Manuel Huber <https://orcid.org/0009-0000-5212-2999>
2
//
3
// This program is free software: you can redistribute it and/or modify it under
4
// the terms of the GNU Lesser General Public License as published by the Free
5
// Software Foundation, either version 3 of the License, or (at your option) any
6
// later version.
7
//
8
// This program is distributed in the hope that it will be useful, but WITHOUT
9
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
10
// FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
11
// details.
12
//
13
// You should have received a copy of the GNU Lesser General Public License
14
// along with this program. If not, see <https://www.gnu.org/licenses/>.
15
16
#ifndef _RMG_DETECTOR_METADATA_HH_
17
#define _RMG_DETECTOR_METADATA_HH_
18
19
#include <string>
20
22
enum
RMGDetectorType {
23
kGermanium,
24
kOptical,
25
kScintillator,
26
};
27
31
struct
RMGDetectorMetadata
{
33
RMGDetectorType
type
;
35
int
uid
;
37
std::string
name
;
39
int
copy_nr
;
41
std::string
ntuple_name
;
42
};
43
44
#endif
45
46
// vim: tabstop=2 shiftwidth=2 expandtab
RMGDetectorMetadata
Metadata describing one detector instance registered with RMGHardware.
Definition
RMGDetectorMetadata.hh:31
RMGDetectorMetadata::ntuple_name
std::string ntuple_name
ntuple name override or empty string
Definition
RMGDetectorMetadata.hh:41
RMGDetectorMetadata::type
RMGDetectorType type
detector type
Definition
RMGDetectorMetadata.hh:33
RMGDetectorMetadata::uid
int uid
detector (unique) identifier
Definition
RMGDetectorMetadata.hh:35
RMGDetectorMetadata::copy_nr
int copy_nr
copy number of the referenced physical volume
Definition
RMGDetectorMetadata.hh:39
RMGDetectorMetadata::name
std::string name
name of the referenced physical volume
Definition
RMGDetectorMetadata.hh:37
include
RMGDetectorMetadata.hh
Generated by
1.13.2