| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

DayaBay::Calibration::Location Namespace Reference


Enumerations

enum  Location_t {
  kUnknown = 0, kAcuA_Center = 1, kAcuB_GdlsEdge = 2, kAcuC_GammaCatcher = 3,
  kAdWallUpper = 4, kAdWallCenter = 5, kAdWallLower = 6
}

Functions

const char * AsString (Location_t site)
Location_t FromString (const char *str)

Enumeration Type Documentation

enum DayaBay::Calibration::Location::Location_t

Enumerator:
kUnknown 
kAcuA_Center 
kAcuB_GdlsEdge 
kAcuC_GammaCatcher 
kAdWallUpper 
kAdWallCenter 
kAdWallLower 

Definition at line 36 of file Calibration.h.

00036                       {
00037         kUnknown           = 0, 
00038         kAcuA_Center       = 1,
00039         kAcuB_GdlsEdge     = 2,
00040         kAcuC_GammaCatcher = 3,
00041         kAdWallUpper       = 4, 
00042         kAdWallCenter         = 5,
00043         kAdWallLower       = 6 
00044         /*
00045           kIwsA          = 7,
00046           kIwsB          = 8,
00047           kIwsC          = 9,
00048           kOwsA          = 10,
00049           kOwsB          = 11,
00050           kOwsC          = 12,
00051           kRpcA          = 13
00052         */      
00053       };


Function Documentation

const char* DayaBay::Calibration::Location::AsString ( Location_t  site  ) 

Location::Location_t DayaBay::Calibration::Location::FromString ( const char *  str  ) 

Definition at line 56 of file Calibration.cc.

00057 {
00058     string s = str;
00059 
00060     for (int ind=1; locationNames[ind]; ++ind) {
00061       if (s == locationNames[ind]) return (Location::Location_t)(ind);
00062     }
00063     return kUnknown;
00064 }

| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:14:49 2011 for Conventions by doxygen 1.4.7