LDMX Software
DetDescr
include
DetDescr
DetectorHeader.h
Go to the documentation of this file.
1
7
#ifndef DETDESCR_DETECTORHEADER_H_
8
#define DETDESCR_DETECTORHEADER_H_
9
10
namespace
ldmx {
11
21
class
DetectorHeader
{
22
public
:
30
DetectorHeader
(std::string name,
int
version, std::string description,
31
std::string author)
32
:
name_
(name),
33
version_
(version),
34
description_
(description),
35
author_
(author) {}
36
41
const
std::string&
getName
() {
return
name_
; }
42
47
int
getVersion
() {
return
version_
; }
48
53
const
std::string&
getDescription
() {
return
description_
; }
54
59
const
std::string&
getAuthor
()
const
{
return
author_
; }
60
61
private
:
65
std::string
name_
;
66
70
int
version_
;
71
75
std::string
description_
;
76
80
std::string
author_
;
81
};
82
83
}
// namespace ldmx
84
85
#endif
ldmx::DetectorHeader
Defines detector header information.
Definition
DetectorHeader.h:21
ldmx::DetectorHeader::getName
const std::string & getName()
Get the name of the detector.
Definition
DetectorHeader.h:41
ldmx::DetectorHeader::description_
std::string description_
A short description of the detector.
Definition
DetectorHeader.h:75
ldmx::DetectorHeader::DetectorHeader
DetectorHeader(std::string name, int version, std::string description, std::string author)
Class constructor.
Definition
DetectorHeader.h:30
ldmx::DetectorHeader::version_
int version_
The version of the detector.
Definition
DetectorHeader.h:70
ldmx::DetectorHeader::getDescription
const std::string & getDescription()
Get a short description of the detector.
Definition
DetectorHeader.h:53
ldmx::DetectorHeader::getVersion
int getVersion()
Get the version of the detector.
Definition
DetectorHeader.h:47
ldmx::DetectorHeader::name_
std::string name_
The name of the detector.
Definition
DetectorHeader.h:65
ldmx::DetectorHeader::getAuthor
const std::string & getAuthor() const
Get the author of the detector (first and last name).
Definition
DetectorHeader.h:59
ldmx::DetectorHeader::author_
std::string author_
The name of the detector's author.
Definition
DetectorHeader.h:80
Generated by
1.9.8