EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
EicGeoMedia.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file EicGeoMedia.h
1 
2 //
3 // A renamed exerpt of FairGeoMedia.h;
4 //
5 
6 #ifndef _EIC_GEO_MEDIA_
7 #define _EIC_GEO_MEDIA_
8 
9 #include "TNamed.h"
10 #include "TString.h"
11 
12 class EicGeoMedium;
13 class TList;
14 
15 class EicGeoMedia : public TNamed
16 {
17  private:
18  TList* media;
19  Int_t nMed; // number of defined media
20 
21  public:
22  EicGeoMedia();
23  ~EicGeoMedia();
24 
25  void addMedium(EicGeoMedium* m);
26  EicGeoMedium* getMedium(const char*);
27  TList* getListOfMedia() {return media;}
28  void read(std::fstream&);
29  void print();
30 
31  Int_t createMedium(EicGeoMedium*);
32 
33  ClassDef(EicGeoMedia,2)
34 };
35 
36 #endif