ROOT logo
#ifndef HGEANTMEDIA_H
#define HGEANTMEDIA_H

#include "TNamed.h"
#include "TString.h"
#include <map>
using namespace std;

class HGeantMedia : public TNamed {
private:
  map<Int_t, TString> media;         // List of GEANT media 
  map<Int_t,TString>::iterator iter; //! Iterator

public:
  HGeantMedia(const Char_t* name ="GeantMedia", const Char_t* title  ="List of Geant media") {}
  ~HGeantMedia(void) {}

  void addMedium(Int_t, const Char_t*);
  TString getMediumName(Int_t id);
  Int_t getMediumId(const TString&);
  void print();

  ClassDef(HGeantMedia,1) // Map of GEANT media
};

#endif  /*! HGEANTMEDIA_H */
 hgeantmedia.h:1
 hgeantmedia.h:2
 hgeantmedia.h:3
 hgeantmedia.h:4
 hgeantmedia.h:5
 hgeantmedia.h:6
 hgeantmedia.h:7
 hgeantmedia.h:8
 hgeantmedia.h:9
 hgeantmedia.h:10
 hgeantmedia.h:11
 hgeantmedia.h:12
 hgeantmedia.h:13
 hgeantmedia.h:14
 hgeantmedia.h:15
 hgeantmedia.h:16
 hgeantmedia.h:17
 hgeantmedia.h:18
 hgeantmedia.h:19
 hgeantmedia.h:20
 hgeantmedia.h:21
 hgeantmedia.h:22
 hgeantmedia.h:23
 hgeantmedia.h:24
 hgeantmedia.h:25
 hgeantmedia.h:26