LDMX Software
|
Defines detector header information. More...
#include <DetectorHeader.h>
Public Member Functions | |
DetectorHeader (std::string name, int version, std::string description, std::string author) | |
Class constructor. | |
const std::string & | getName () |
Get the name of the detector. | |
int | getVersion () |
Get the version of the detector. | |
const std::string & | getDescription () |
Get a short description of the detector. | |
const std::string & | getAuthor () const |
Get the author of the detector (first and last name). | |
Private Attributes | |
std::string | name_ |
The name of the detector. | |
int | version_ |
The version of the detector. | |
std::string | description_ |
A short description of the detector. | |
std::string | author_ |
The name of the detector's author. | |
Defines detector header information.
Definition at line 21 of file DetectorHeader.h.
|
inline |
Class constructor.
name | The name of the detector. |
version | The version of the detector. |
description | A short description of the detector. |
author | The name of the detector's author (first and last name). |
Definition at line 30 of file DetectorHeader.h.
|
inline |
Get the author of the detector (first and last name).
Definition at line 59 of file DetectorHeader.h.
References author_.
|
inline |
Get a short description of the detector.
Definition at line 53 of file DetectorHeader.h.
References description_.
|
inline |
Get the name of the detector.
Definition at line 41 of file DetectorHeader.h.
References name_.
|
inline |
Get the version of the detector.
Definition at line 47 of file DetectorHeader.h.
References version_.
|
private |
The name of the detector's author.
Definition at line 80 of file DetectorHeader.h.
Referenced by getAuthor().
|
private |
A short description of the detector.
Definition at line 75 of file DetectorHeader.h.
Referenced by getDescription().
|
private |
|
private |
The version of the detector.
Definition at line 70 of file DetectorHeader.h.
Referenced by getVersion().