HYDRA_development_version
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
hgeommedia.h
Go to the documentation of this file.
1
#ifndef HGEOMMEDIA_H
2
#define HGEOMMEDIA_H
3
4
using namespace
std
;
5
#include "TNamed.h"
6
#include "TList.h"
7
8
class
HGeomMedium
;
9
10
class
HGeomMedia
:
public
TNamed {
11
private
:
12
TList*
media
;
// list of media
13
TString
inputFile
;
// name of input file or Oracle
14
TString
author
;
// author of the media version
15
TString
description
;
// description of the version
16
public
:
17
HGeomMedia
();
18
~
HGeomMedia
();
19
void
setInputFile
(
const
Char_t* file) { inputFile=file; }
20
const
Char_t*
getInputFile
() {
return
inputFile; }
21
void
addMedium(
HGeomMedium
* m);
22
HGeomMedium
* getMedium(
const
Char_t*);
23
TList*
getListOfMedia
() {
return
media;}
24
void
read(fstream&);
25
void
print();
26
void
list();
27
void
write(fstream&);
28
void
setAuthor
(TString& s) {author=s;}
29
void
setDescription
(TString& s) {description=s;}
30
TString&
getAuthor
() {
return
author;}
31
TString&
getDescription
() {
return
description;}
32
private
:
33
ClassDef(
HGeomMedia
,0)
// Class for materials and media
34
};
35
36
#endif
/* !HGEOMMEDIA_H */
HGeomMedia::setDescription
void setDescription(TString &s)
Definition:
hgeommedia.h:29
HGeomMedia::author
TString author
Definition:
hgeommedia.h:14
HGeomMedia::getListOfMedia
TList * getListOfMedia()
Definition:
hgeommedia.h:23
std
HGeomMedia::setInputFile
void setInputFile(const Char_t *file)
Definition:
hgeommedia.h:19
HGeomMedia::inputFile
TString inputFile
Definition:
hgeommedia.h:13
HGeomMedia::media
TList * media
Definition:
hgeommedia.h:12
HGeomMedium
Definition:
hgeommedium.h:9
HGeomMedia::getDescription
TString & getDescription()
Definition:
hgeommedia.h:31
HGeomMedia
Definition:
hgeommedia.h:10
HGeomMedia::setAuthor
void setAuthor(TString &s)
Definition:
hgeommedia.h:28
HGeomMedia::getInputFile
const Char_t * getInputFile()
Definition:
hgeommedia.h:20
HGeomMedia::description
TString description
Definition:
hgeommedia.h:15
HGeomMedia::getAuthor
TString & getAuthor()
Definition:
hgeommedia.h:30
simulation
hgeommedia.h
Generated on Fri Oct 9 2020 14:30:07 for HYDRA_development_version by
1.8.8