Mixed Data Coincidence Analysis Software 1.0
A program to analyze files produced by the EventMixer software.
ElementLookupTable.hh
Go to the documentation of this file.
00001 
00010 using namespace std;
00011 #ifndef STRING
00012 #define STRING //!<Inclusion guard
00013 #include <string>
00014 #endif
00015 
00016 #ifndef MAP
00017 #define MAP //!<Inclusion guard.
00018 #include <map>
00019 #endif
00020 
00021 #ifndef ELEMENTLOOKUPTABLE_H
00022 #define ELEMENTLOOKUPTABLE_H
00023 
00027 class ElementLookupTable
00028 {
00029  public:
00030   ElementLookupTable(); 
00031   unsigned short int lookupElement(string elementToLookup); 
00032   string lookupElement(unsigned short int elementToLookup); 
00033  protected:
00034   void stringToUpper(string& s 
00035                      ); 
00036   map<string, unsigned short int> myTable; 
00037   map<unsigned short int, string> myReversedTable; 
00038 };
00039 #endif
 All Classes Files Functions Variables Defines

Back to the main page of the Precalibrated Ion Beam Identification Detector project

Created by Rikard Lundmark