FairRoot
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
FairGeoMedia.h
Go to the documentation of this file.
1
/********************************************************************************
2
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3
* *
4
* This software is distributed under the terms of the *
5
* GNU Lesser General Public Licence (LGPL) version 3, *
6
* copied verbatim in the file "LICENSE" *
7
********************************************************************************/
8
#ifndef FAIRGEOMEDIA_H
9
#define FAIRGEOMEDIA_H
10
11
#include <Rtypes.h>
// for FairGeoMedia::Class, etc
12
#include <TNamed.h>
// for TNamed
13
#include <TString.h>
// for TString
14
#include <iosfwd>
// for fstream
15
16
class
FairGeoMedium
;
17
class
TList;
18
23
class
FairGeoMedia
:
public
TNamed
24
{
25
private
:
26
TList* media;
27
TString inputFile;
28
TString author;
29
TString description;
30
public
:
31
FairGeoMedia
();
32
~FairGeoMedia
();
33
void
setInputFile
(
const
char
* file) { inputFile = file; }
34
const
char
*
getInputFile
() {
return
inputFile; }
35
void
addMedium
(
FairGeoMedium
* m);
36
FairGeoMedium
*
getMedium
(
const
char
*);
37
TList*
getListOfMedia
() {
return
media; }
38
void
read
(std::fstream&);
39
void
print
();
40
void
list
();
41
void
write
(std::fstream&);
42
void
setAuthor
(TString& s) { author = s; }
43
void
setDescription
(TString& s) { description = s; }
44
TString&
getAuthor
() {
return
author; }
45
TString&
getDescription
() {
return
description; }
46
47
private
:
48
FairGeoMedia
(
const
FairGeoMedia
&);
49
FairGeoMedia
& operator=(
const
FairGeoMedia
&);
50
51
ClassDef(
FairGeoMedia
, 0);
52
};
53
54
#endif
/* !FAIRGEOMEDIA_H */
FairGeoMedia::list
void list()
Definition:
FairGeoMedia.cxx:63
FairGeoMedia::FairGeoMedia
FairGeoMedia()
Definition:
FairGeoMedia.cxx:31
FairGeoMedia::getListOfMedia
TList * getListOfMedia()
Definition:
FairGeoMedia.h:37
FairGeoMedia::addMedium
void addMedium(FairGeoMedium *m)
Definition:
FairGeoMedia.cxx:57
FairGeoMedia::getAuthor
TString & getAuthor()
Definition:
FairGeoMedia.h:44
FairGeoMedia::~FairGeoMedia
~FairGeoMedia()
Definition:
FairGeoMedia.cxx:41
FairGeoMedia::setDescription
void setDescription(TString &s)
Definition:
FairGeoMedia.h:43
FairGeoMedium
Definition:
FairGeoMedium.h:19
FairGeoMedia::getMedium
FairGeoMedium * getMedium(const char *)
Definition:
FairGeoMedia.cxx:51
FairGeoMedia::read
void read(std::fstream &)
Definition:
FairGeoMedia.cxx:107
FairGeoMedia::setInputFile
void setInputFile(const char *file)
Definition:
FairGeoMedia.h:33
FairGeoMedia::write
void write(std::fstream &)
Definition:
FairGeoMedia.cxx:133
FairGeoMedia::getDescription
TString & getDescription()
Definition:
FairGeoMedia.h:45
FairGeoMedia::setAuthor
void setAuthor(TString &s)
Definition:
FairGeoMedia.h:42
FairGeoMedia
Definition:
FairGeoMedia.h:23
FairGeoMedia::getInputFile
const char * getInputFile()
Definition:
FairGeoMedia.h:34
FairGeoMedia::print
void print()
Definition:
FairGeoMedia.cxx:75
FairRoot
geobase
FairGeoMedia.h
Generated on Mon Mar 8 2021 12:14:06 for FairRoot by
1.8.5