00001 //<<<<<< INCLUDES >>>>>> 00002 00003 #include "Iguana/Controls/interface/IgG4ToSoMaterialMap.h" 00004 #include <classlib/utils/DebugAids.h> 00005 #include <fstream> 00006 #include <string> 00007 #include <iostream> 00008 #include <sstream> 00009 00010 00011 //<<<<<< PRIVATE DEFINES >>>>>> 00012 //<<<<<< PRIVATE CONSTANTS >>>>>> 00013 //<<<<<< PRIVATE TYPES >>>>>> 00014 //<<<<<< PRIVATE VARIABLE DEFINITIONS >>>>>> 00015 //<<<<<< PUBLIC VARIABLE DEFINITIONS >>>>>> 00016 //<<<<<< CLASS STRUCTURE INITIALIZATION >>>>>> 00017 //<<<<<< PRIVATE FUNCTION DEFINITIONS >>>>>> 00018 //<<<<<< PUBLIC FUNCTION DEFINITIONS >>>>>> 00019 //<<<<<< MEMBER FUNCTION DEFINITIONS >>>>>> 00020 00021 IgG4ToSoMaterialMap::IgG4ToSoMaterialMap (void) 00022 { 00023 std::string materialList; 00024 00025 char *tmpMaterialList = getenv ("MATERIAL_CONFIG"); 00026 if ( tmpMaterialList == 0 ) 00027 { 00028 materialList = "./materials.map"; 00029 } 00030 else 00031 { 00032 materialList = tmpMaterialList; 00033 } 00034 00035 defaultMappings (); 00036 std::ifstream mlStream (materialList.c_str ()); 00037 00038 if (mlStream) 00039 { 00040 while (mlStream.eof () != true) 00041 { 00042 std::stringbuf tmpBuf1; 00043 std::stringbuf tmpBuf2; 00044 00045 std::string g4Mat; 00046 std::string soMat; 00047 00048 mlStream.get (tmpBuf1,'='); 00049 mlStream.ignore (1); 00050 mlStream >> std::ws; 00051 g4Mat = tmpBuf1.str (); 00052 mlStream.get (tmpBuf2,'\n'); 00053 mlStream.ignore (1); 00054 soMat = tmpBuf2.str (); 00055 00056 int i = soMat.size (); 00057 while ( soMat[i-1] == ' ' && i-1 >= 0) 00058 i--; 00059 00060 soMat.erase (i, soMat.size ()); 00061 00062 if ( soMat != "" && soMat[0] !='#') 00063 { 00064 std::cerr << g4Mat << "->" << soMat << std::endl; 00065 m_g4ToSoMap[g4Mat] = soMat; 00066 } 00067 } 00068 } 00069 } 00070 00071 00072 std::string & 00073 IgG4ToSoMaterialMap::operator[] (const char *name) 00074 { 00075 return m_g4ToSoMap [name]; 00076 } 00077 00078 IgG4ToSoMaterialMap::MaterialMap::iterator 00079 IgG4ToSoMaterialMap::begin (void) 00080 { 00081 return m_g4ToSoMap.begin (); 00082 } 00083 00084 IgG4ToSoMaterialMap::MaterialMap::iterator 00085 IgG4ToSoMaterialMap::end (void) 00086 { 00087 return m_g4ToSoMap.end (); 00088 } 00089 00090 IgG4ToSoMaterialMap::MaterialMap::iterator 00091 IgG4ToSoMaterialMap::find (const char *key) 00092 { 00093 return m_g4ToSoMap.find (key); 00094 } 00095 00096 void 00097 IgG4ToSoMaterialMap::defaultMappings (void) 00098 { 00099 m_g4ToSoMap["80% Argon + 20% CO_2"]= "air"; 00100 m_g4ToSoMap["AISI-1006-Steel"]= "iron"; 00101 m_g4ToSoMap["AISI-1045-Steel"]= "iron"; 00102 m_g4ToSoMap["AQBB borated concre"]= "concrete"; 00103 m_g4ToSoMap["Air"]= "air"; 00104 m_g4ToSoMap["Al support"]= "aluminium"; 00105 m_g4ToSoMap["Al-MMC"]= "aluminium"; 00106 m_g4ToSoMap["Al-silicate + Zi"]= "aluminium"; 00107 m_g4ToSoMap["Al_2 O_3"]= "aluminium"; 00108 m_g4ToSoMap["Alumina"]= "aluminium"; 00109 m_g4ToSoMap["Aluminium"]= "aluminium"; 00110 m_g4ToSoMap["Aluminium Pix_b"]= "aluminium"; 00111 m_g4ToSoMap["Aluminium honeycomb"]= "aluminium"; 00112 m_g4ToSoMap["Aluminium silicate"]= "aluminium"; 00113 m_g4ToSoMap["Aluminized Mylar"]= "aluminium"; 00114 m_g4ToSoMap["Antimony"]= "default"; 00115 m_g4ToSoMap["Ar CO_2 gas 50:50"]= "default"; 00116 m_g4ToSoMap["Ar(40%)+Ethane(60%)"]= "default"; 00117 m_g4ToSoMap["Ar/Cu mixt. for Cors"]= "copper"; 00118 m_g4ToSoMap["Ar/Cu mixture for EM"]= "copper"; 00119 m_g4ToSoMap["Ar/Cu mixture for HD"]= "copper"; 00120 m_g4ToSoMap["Ar/Pb mixture for EM"]= "lead"; 00121 m_g4ToSoMap["Ar/W Catcher section"]= "aluminium"; 00122 m_g4ToSoMap["Ar/W Hadron section"]= "aluminium"; 00123 m_g4ToSoMap["Ar/W mixt. for E.M."]= "aluminium"; 00124 m_g4ToSoMap["Argon"]= "default"; 00125 m_g4ToSoMap["Argon 50% CF_4 CO_2"]= "default"; 00126 m_g4ToSoMap["Argon CF_4 CO_2"]= "default"; 00127 m_g4ToSoMap["Arsenic"]= "default"; 00128 m_g4ToSoMap["BET2a concrete +Poly"]= "concrete"; 00129 m_g4ToSoMap["BET2b concrete +Poly"]= "concrete"; 00130 m_g4ToSoMap["B_2 O_3"]= "default"; 00131 m_g4ToSoMap["Ba O"]= "default"; 00132 m_g4ToSoMap["Bakelite"]= "default"; 00133 m_g4ToSoMap["Barite"]= "default"; 00134 m_g4ToSoMap["Barium"]= "default"; 00135 m_g4ToSoMap["Barium sulfate"]= "default"; 00136 m_g4ToSoMap["Beryllia"]= "default"; 00137 m_g4ToSoMap["Beryllium"]= "default"; 00138 m_g4ToSoMap["Bi_4 Ge_3 O_12"]= "default"; 00139 m_g4ToSoMap["Bismuth"]= "default"; 00140 m_g4ToSoMap["Bor 10"]= "default"; 00141 m_g4ToSoMap["Bor 11"]= "default"; 00142 m_g4ToSoMap["Borated Polyethyl"]= "default"; 00143 m_g4ToSoMap["Boron"]= "default"; 00144 m_g4ToSoMap["Boron-Barite"]= "default"; 00145 m_g4ToSoMap["Boron_frits-Lumnite"]= "default"; 00146 m_g4ToSoMap["Bromine"]= "default"; 00147 m_g4ToSoMap["C F_4"]= "default"; 00148 m_g4ToSoMap["C O_2"]= "default"; 00149 m_g4ToSoMap["C6F14"]= "default"; 00150 m_g4ToSoMap["CF_4 CO_2 50:50"]= "default"; 00151 m_g4ToSoMap["CO2Ar Freon"]= "defaultGas"; 00152 m_g4ToSoMap["CSC Electronics"]= "default"; 00153 m_g4ToSoMap["CT Al cable"]= "aluminium"; 00154 m_g4ToSoMap["CT Cu cable"]= "copper"; 00155 m_g4ToSoMap["C_New Air"]= "air"; 00156 m_g4ToSoMap["Ca C O_3"]= "default"; 00157 m_g4ToSoMap["Ca O"]= "default"; 00158 m_g4ToSoMap["Cable_0"]= "cable"; 00159 m_g4ToSoMap["Cable_MSGC_2"]= "cable"; 00160 m_g4ToSoMap["Cable_MSGC_3"]= "cable"; 00161 m_g4ToSoMap["Cable_Si_1"]= "cable"; 00162 m_g4ToSoMap["Cables"]= "cable"; 00163 m_g4ToSoMap["Cadmium"]= "default"; 00164 m_g4ToSoMap["Calcium"]= "default"; 00165 m_g4ToSoMap["Carbon"]= "carbon"; 00166 m_g4ToSoMap["Carbon fib.str."]= "default"; 00167 m_g4ToSoMap["Carbon fibre st_b"]= "default"; 00168 m_g4ToSoMap["Carbon fibre str."]= "default"; 00169 m_g4ToSoMap["Ce F_3"]= "default"; 00170 m_g4ToSoMap["Ceramic"]= "default"; 00171 m_g4ToSoMap["Cerium"]= "default"; 00172 m_g4ToSoMap["Cesium"]= "default"; 00173 m_g4ToSoMap["Chlorine"]= "default"; 00174 m_g4ToSoMap["Chromium"]= "default"; 00175 m_g4ToSoMap["Cobalt"]= "default"; 00176 m_g4ToSoMap["Coil average"]= "aluminium"; 00177 m_g4ToSoMap["Colmanite Barite"]= "default"; 00178 m_g4ToSoMap["Connector"]= "aluminium"; 00179 m_g4ToSoMap["Coolant"]= "water"; 00180 m_g4ToSoMap["Copper"]= "copper"; 00181 m_g4ToSoMap["Crack average"]= "default"; 00182 m_g4ToSoMap["Cu/Quartz"]= "copper"; 00183 m_g4ToSoMap["Cu/Sci spaghetti mix"]= "copper"; 00184 m_g4ToSoMap["Cu/Scintillator/PolB"]= "copper"; 00185 m_g4ToSoMap["DTBX gas"]= "air"; 00186 m_g4ToSoMap["Dead_Argon CF_4 CO_2"]= "default"; 00187 m_g4ToSoMap["Deuterium"]= "default"; 00188 m_g4ToSoMap["Doped Quartz"]= "default"; 00189 m_g4ToSoMap["Double-sided MSGC el"]= "default"; 00190 m_g4ToSoMap["Double-sided MSGCsub"]= "default"; 00191 m_g4ToSoMap["Double-sided Si elec"]= "default"; 00192 m_g4ToSoMap["DropsPolyethylene"]= "default"; 00193 m_g4ToSoMap["EAPD_Silicon"]= "default"; 00194 m_g4ToSoMap["E_Air"]= "air"; 00195 m_g4ToSoMap["E_Aluminium"]= "aluminium"; 00196 m_g4ToSoMap["E_CablPP1"]= "cable"; 00197 m_g4ToSoMap["E_CablPP2"]= "cable"; 00198 m_g4ToSoMap["E_CablPP3"]= "cable"; 00199 m_g4ToSoMap["E_CablPP4"]= "cable"; 00200 m_g4ToSoMap["E_Cables"]= "cable"; 00201 m_g4ToSoMap["E_Carbon Fibre"]= "default"; 00202 m_g4ToSoMap["E_Copper"]= "copper"; 00203 m_g4ToSoMap["E_Epoxy"]= "default"; 00204 m_g4ToSoMap["E_G10"]= "default"; 00205 m_g4ToSoMap["E_Iron"]= "iron"; 00206 m_g4ToSoMap["E_Lead"]= "lead"; 00207 m_g4ToSoMap["E_PbWO4"]= "lead"; 00208 m_g4ToSoMap["E_Polythene"]= "default"; 00209 m_g4ToSoMap["E_Rohacell"]= "default"; 00210 m_g4ToSoMap["E_Silicon"]= "silicon"; 00211 m_g4ToSoMap["E_Water"]= "water"; 00212 m_g4ToSoMap["Ec_Cable_1"]= "cable"; 00213 m_g4ToSoMap["Epoxy"]= "default"; 00214 m_g4ToSoMap["Ethane"]= "default"; 00215 m_g4ToSoMap["Fe_2 O_3"]= "iron"; 00216 m_g4ToSoMap["Fibre_Ribbon"]= "default"; 00217 m_g4ToSoMap["Fibre_connector"]= "default"; 00218 m_g4ToSoMap["Fluorine"]= "default"; 00219 m_g4ToSoMap["Flushing gas"]= "default"; 00220 m_g4ToSoMap["Foam"]= "default"; 00221 m_g4ToSoMap["Freon-12"]= "default"; 00222 m_g4ToSoMap["FrontEnd Electronics"]= "default"; 00223 m_g4ToSoMap["G10"]= "default"; 00224 m_g4ToSoMap["G_conntr"]= "default"; 00225 m_g4ToSoMap["Gallium"]= "default"; 00226 m_g4ToSoMap["Gas"]= "air"; 00227 m_g4ToSoMap["Germanium"]= "default"; 00228 m_g4ToSoMap["Glass"]= "default"; 00229 m_g4ToSoMap["Gold"]= "gold"; 00230 m_g4ToSoMap["Graph.Epoxy Sup."]= "default"; 00231 m_g4ToSoMap["Graphite Epoxy suprt"]= "default"; 00232 m_g4ToSoMap["HFE"]= "default"; 00233 m_g4ToSoMap["HV Light Guides"]= "default"; 00234 m_g4ToSoMap["HV_Cu/QFib_mx."]= "default"; 00235 m_g4ToSoMap["H_Air"]= "air"; 00236 m_g4ToSoMap["H_Aluminium"]= "aluminium"; 00237 m_g4ToSoMap["H_Brass"]= "brass"; 00238 m_g4ToSoMap["H_Iron"]= "iron"; 00239 m_g4ToSoMap["H_Polystyrene"]= "default"; 00240 m_g4ToSoMap["H_Scintillator"]= "default"; 00241 m_g4ToSoMap["Hcal average"]= "default"; 00242 m_g4ToSoMap["Hcal sci"]= "default"; 00243 m_g4ToSoMap["Helium"]= "air"; 00244 m_g4ToSoMap["Hexel for CSC"]= "default"; 00245 m_g4ToSoMap["High Tension cables"]= "cable"; 00246 m_g4ToSoMap["Honeycomb"]= "default"; 00247 m_g4ToSoMap["Hybrids"]= "default"; 00248 m_g4ToSoMap["Hydrogen"]= "default"; 00249 m_g4ToSoMap["ICB"]= "default"; 00250 m_g4ToSoMap["Indium"]= "default"; 00251 m_g4ToSoMap["Insulation"]= "default"; 00252 m_g4ToSoMap["Iodine"]= "default"; 00253 m_g4ToSoMap["Iron"]= "iron"; 00254 m_g4ToSoMap["Isobutane"]= "default"; 00255 m_g4ToSoMap["K_2 O"]= "default"; 00256 m_g4ToSoMap["Kapton"]= "default"; 00257 m_g4ToSoMap["Kr/Cu mixture for HD"]= "copper"; 00258 m_g4ToSoMap["Kr/Pb mixture for EM"]= "lead"; 00259 m_g4ToSoMap["Kr/Pb mixture for HD"]= "lead"; 00260 m_g4ToSoMap["Krypton"]= "default"; 00261 m_g4ToSoMap["Lanthanum"]= "default"; 00262 m_g4ToSoMap["Lead"]= "lead"; 00263 m_g4ToSoMap["LeadBPolymer"]= "lead"; 00264 m_g4ToSoMap["LeadLoadedPolymerCon"]= "lead"; 00265 m_g4ToSoMap["Limonite"]= "default"; 00266 m_g4ToSoMap["Limonite Iron"]= "default"; 00267 m_g4ToSoMap["Limonite magetite"]= "default"; 00268 m_g4ToSoMap["Liquid Ar Detector"]= "default"; 00269 m_g4ToSoMap["Liquid Argon"]= "default"; 00270 m_g4ToSoMap["Liquid Kr Detector"]= "default"; 00271 m_g4ToSoMap["Liquid Krypton"]= "default"; 00272 m_g4ToSoMap["Lithium"]= "default"; 00273 m_g4ToSoMap["Lithium Polyethyl."]= "default"; 00274 m_g4ToSoMap["Low Tension cables"]= "default"; 00275 m_g4ToSoMap["Lucite"]= "default"; 00276 m_g4ToSoMap["ME_free_space"]= "default"; 00277 m_g4ToSoMap["MSGC cooling pipe"]= "default"; 00278 m_g4ToSoMap["MSGC-Average"]= "default"; 00279 m_g4ToSoMap["MS_Al36"]= "aluminium"; 00280 m_g4ToSoMap["MS_Al48"]= "aluminium"; 00281 m_g4ToSoMap["MS_Al60"]= "aluminium"; 00282 m_g4ToSoMap["MS_Al_cable"]= "aluminium"; 00283 m_g4ToSoMap["MS_Cu60"]= "copper"; 00284 m_g4ToSoMap["MS_Cu_cable"]= "copper"; 00285 m_g4ToSoMap["MS_cntr"]= "default"; 00286 m_g4ToSoMap["MS_cntrl_cable"]= "default"; 00287 m_g4ToSoMap["M_Aluminium"]= "aluminium"; 00288 m_g4ToSoMap["M_Argon 50% CF_4 CO_2"]= "default"; 00289 m_g4ToSoMap["M_Argon CF_4 CO_2"]= "default"; 00290 m_g4ToSoMap["M_B_Air"]= "air"; 00291 m_g4ToSoMap["M_Cables"]= "cable"; 00292 m_g4ToSoMap["M_Copper"]= "copper"; 00293 m_g4ToSoMap["M_DTBX Gas"]= "default"; 00294 m_g4ToSoMap["M_Electronics averag"]= "default"; 00295 m_g4ToSoMap["M_F_Air"]= "air"; 00296 m_g4ToSoMap["M_NEMA FR4 plate"]= "default"; 00297 m_g4ToSoMap["M_NEMA G10 plate"]= "default"; 00298 m_g4ToSoMap["M_RPC_Bakelite"]= "default"; 00299 m_g4ToSoMap["M_RPC_Gas"]= "default"; 00300 m_g4ToSoMap["M_Steel-008"]= "iron"; 00301 m_g4ToSoMap["M_Thick_Steel-008"]= "iron"; 00302 m_g4ToSoMap["M_YokeSteel"]= "iron"; 00303 m_g4ToSoMap["M_honeycomb"]= "default"; 00304 m_g4ToSoMap["Magetite"]= "default"; 00305 m_g4ToSoMap["Magnesium"]= "default"; 00306 m_g4ToSoMap["Magnet Conductor"]= "default"; 00307 m_g4ToSoMap["MagnetiteBoron"]= "default"; 00308 m_g4ToSoMap["MagnetiteConc"]= "default"; 00309 m_g4ToSoMap["Manganese"]= "default"; 00310 m_g4ToSoMap["Marble"]= "default"; 00311 m_g4ToSoMap["Methane"]= "default"; 00312 m_g4ToSoMap["Mg O"]= "default"; 00313 m_g4ToSoMap["Mg-MMC"]= "default"; 00314 m_g4ToSoMap["Mn O"]= "default"; 00315 m_g4ToSoMap["Molybdenum"]= "default"; 00316 m_g4ToSoMap["Muon Al"]= "aluminium"; 00317 m_g4ToSoMap["Muon average"]= "default"; 00318 m_g4ToSoMap["Mylar"]= "default"; 00319 m_g4ToSoMap["NEMA FR4 plate"]= "default"; 00320 m_g4ToSoMap["NEMA G10 plate"]= "default"; 00321 m_g4ToSoMap["Na_2 O"]= "default"; 00322 m_g4ToSoMap["Ne30_DME70"]= "default"; 00323 m_g4ToSoMap["Neodymium"]= "default"; 00324 m_g4ToSoMap["Neon"]= "default"; 00325 m_g4ToSoMap["Ni_2 O_3"]= "iron"; 00326 m_g4ToSoMap["Nickel"]= "iron"; 00327 m_g4ToSoMap["Niobium"]= "default"; 00328 m_g4ToSoMap["Nitrogen"]= "default"; 00329 m_g4ToSoMap["Nomex"]= "default"; 00330 m_g4ToSoMap["Nomex for CSC"]= "default"; 00331 m_g4ToSoMap["Noryl"]= "default"; 00332 m_g4ToSoMap["O_Hybrid"]= "air"; 00333 m_g4ToSoMap["Optical fibre"]= "default"; 00334 m_g4ToSoMap["Outer_pipes"]= "default"; 00335 m_g4ToSoMap["Oxygen"]= "air"; 00336 m_g4ToSoMap["P_pipes"]= "aluminium"; 00337 m_g4ToSoMap["Palladium"]= "default"; 00338 m_g4ToSoMap["Pb W O_4"]= "lead"; 00339 m_g4ToSoMap["Pb/Sci spaghetti mix"]= "lead"; 00340 m_g4ToSoMap["Peek"]= "default"; 00341 m_g4ToSoMap["Phosphor"]= "default"; 00342 m_g4ToSoMap["PhotoCathode"]= "default"; 00343 m_g4ToSoMap["Pigtails"]= "default"; 00344 m_g4ToSoMap["Pipe with Water"]= "water"; 00345 m_g4ToSoMap["Pipe with gas"]= "air"; 00346 m_g4ToSoMap["Pix_Bar_Baseplate"]= "default"; 00347 m_g4ToSoMap["Pix_Bar_Cable"]= "cable"; 00348 m_g4ToSoMap["Pix_Bar_Cable1"]= "cable"; 00349 m_g4ToSoMap["Pix_Bar_Cable2"]= "cable"; 00350 m_g4ToSoMap["Pix_Bar_Cable3"]= "cable"; 00351 m_g4ToSoMap["Pix_Bar_Conn1"]= "aluminium"; 00352 m_g4ToSoMap["Pix_Bar_Conn2"]= "aluminium"; 00353 m_g4ToSoMap["Pix_Bar_Conn3"]= "aluminium"; 00354 m_g4ToSoMap["Pix_Bar_Cool"]= "default"; 00355 m_g4ToSoMap["Pix_Bar_Ring_CF"]= "default"; 00356 m_g4ToSoMap["Pix_Bar_Ring_HC"]= "default"; 00357 m_g4ToSoMap["Pix_Bar_Services"]= "default"; 00358 m_g4ToSoMap["Pix_Bar_Water"]= "water"; 00359 m_g4ToSoMap["Pix_Fwd_Base"]= "default"; 00360 m_g4ToSoMap["Pix_Fwd_Blade"]= "default"; 00361 m_g4ToSoMap["Pix_Fwd_Bypass"]= "default"; 00362 m_g4ToSoMap["Pix_Fwd_Cool"]= "default"; 00363 m_g4ToSoMap["Pix_Fwd_HDI"]= "default"; 00364 m_g4ToSoMap["Pix_Fwd_Iring"]= "default"; 00365 m_g4ToSoMap["Pix_Fwd_Oring"]= "default"; 00366 m_g4ToSoMap["Pix_Fwd_PortCard"]= "default"; 00367 m_g4ToSoMap["Pix_Fwd_Ring"]= "default"; 00368 m_g4ToSoMap["Pix_Fwd_Services_1"]= "default"; 00369 m_g4ToSoMap["Pix_Fwd_Services_2"]= "default"; 00370 m_g4ToSoMap["Pix_Fwd_Services_3"]= "default"; 00371 m_g4ToSoMap["Pix_Fwd_Strut"]= "default"; 00372 m_g4ToSoMap["Pix_Fwd_VHDI"]= "default"; 00373 m_g4ToSoMap["Plexiglas"]= "default"; 00374 m_g4ToSoMap["Polycarbonate"]= "default"; 00375 m_g4ToSoMap["Polyethylene"]= "default"; 00376 m_g4ToSoMap["Polymer Concrete"]= "default"; 00377 m_g4ToSoMap["Polystyrene"]= "default"; 00378 m_g4ToSoMap["Polyvinylchloride"]= "default"; 00379 m_g4ToSoMap["Potassium"]= "default"; 00380 m_g4ToSoMap["Praseodymium"]= "default"; 00381 m_g4ToSoMap["Px_cool_pipe"]= "default"; 00382 m_g4ToSoMap["Quartz"]= "default"; 00383 m_g4ToSoMap["Quartz support"]= "default"; 00384 m_g4ToSoMap["QuartzBundle"]= "default"; 00385 m_g4ToSoMap["QuartzFibers"]= "default"; 00386 m_g4ToSoMap["RPC Gas"]= "default"; 00387 m_g4ToSoMap["Rhodium"]= "default"; 00388 m_g4ToSoMap["Rohacell"]= "default"; 00389 m_g4ToSoMap["Rubidium"]= "default"; 00390 m_g4ToSoMap["Ruthenium"]= "default"; 00391 m_g4ToSoMap["SITRA-Average"]= "default"; 00392 m_g4ToSoMap["SMD_metal"]= "default"; 00393 m_g4ToSoMap["S_2 O_3"]= "default"; 00394 m_g4ToSoMap["Scandium"]= "default"; 00395 m_g4ToSoMap["Scintillator"]= "default"; 00396 m_g4ToSoMap["Selenium"]= "default"; 00397 m_g4ToSoMap["Serpentine - Iron"]= "iron"; 00398 m_g4ToSoMap["Serpentine 2"]= "iron"; 00399 m_g4ToSoMap["Si O_2"]= "silicon"; 00400 m_g4ToSoMap["Si cooling pipe"]= "aluminium"; 00401 m_g4ToSoMap["Silica"]= "silicon"; 00402 m_g4ToSoMap["Silicon"]= "silicon"; 00403 m_g4ToSoMap["Silicon Detector"]= "silicon"; 00404 m_g4ToSoMap["Siliecal"]= "default"; 00405 m_g4ToSoMap["Silver"]= "iron"; 00406 m_g4ToSoMap["Single-sided MSGC el"]= "default"; 00407 m_g4ToSoMap["Single-sided MSGCsub"]= "default"; 00408 m_g4ToSoMap["Single-sided Si elec"]= "silicon"; 00409 m_g4ToSoMap["Sodium"]= "default"; 00410 m_g4ToSoMap["StainlessSteel"]= "iron"; 00411 m_g4ToSoMap["Stand.Concrete"]= "default"; 00412 m_g4ToSoMap["Standard Serpentine"]= "aluminium"; 00413 m_g4ToSoMap["Steel-008"]= "iron"; 00414 m_g4ToSoMap["Steel-light"]= "iron"; 00415 m_g4ToSoMap["Strontium"]= "default"; 00416 m_g4ToSoMap["Sulfur"]= "default"; 00417 m_g4ToSoMap["Super Conductor"]= "default"; 00418 m_g4ToSoMap["TEC_Cool"]= "default"; 00419 m_g4ToSoMap["TEC_FixServ"]= "default"; 00420 m_g4ToSoMap["TEC_Fixframe"]= "default"; 00421 m_g4ToSoMap["TEC_ICC11"]= "default"; 00422 m_g4ToSoMap["TEC_ICC12"]= "default"; 00423 m_g4ToSoMap["TEC_ICC13"]= "default"; 00424 m_g4ToSoMap["TEC_ICC14"]= "default"; 00425 m_g4ToSoMap["TEC_ICC15"]= "default"; 00426 m_g4ToSoMap["TEC_ICC16"]= "default"; 00427 m_g4ToSoMap["TEC_ICC17"]= "default"; 00428 m_g4ToSoMap["TEC_ICC1B1"]= "default"; 00429 m_g4ToSoMap["TEC_ICC1B2"]= "default"; 00430 m_g4ToSoMap["TEC_ICC1B3"]= "default"; 00431 m_g4ToSoMap["TEC_ICC1B4"]= "default"; 00432 m_g4ToSoMap["TEC_ICC21"]= "default"; 00433 m_g4ToSoMap["TEC_ICC22"]= "default"; 00434 m_g4ToSoMap["TEC_ICC23"]= "default"; 00435 m_g4ToSoMap["TEC_ICC24"]= "default"; 00436 m_g4ToSoMap["TEC_ICC25"]= "default"; 00437 m_g4ToSoMap["TEC_ICC26"]= "default"; 00438 m_g4ToSoMap["TEC_ICC27"]= "default"; 00439 m_g4ToSoMap["TEC_ICC2B1"]= "default"; 00440 m_g4ToSoMap["TEC_ICC2B2"]= "default"; 00441 m_g4ToSoMap["TEC_ICC2B3"]= "default"; 00442 m_g4ToSoMap["TEC_ICC2B4"]= "default"; 00443 m_g4ToSoMap["TEC_Nomex"]= "default"; 00444 m_g4ToSoMap["TEC_OptoCon"]= "default"; 00445 m_g4ToSoMap["TEC_OptoH"]= "default"; 00446 m_g4ToSoMap["TEC_PetalCon"]= "default"; 00447 m_g4ToSoMap["TEC_PitchAdapter"]= "default"; 00448 m_g4ToSoMap["TEC_Side_Wafer"]= "default"; 00449 m_g4ToSoMap["TEC_Wafer"]= "default"; 00450 m_g4ToSoMap["TEC_ax_cable"]= "default"; 00451 m_g4ToSoMap["TEC_ele1"]= "default"; 00452 m_g4ToSoMap["TEC_ele2"]= "default"; 00453 m_g4ToSoMap["TEC_ele3"]= "default"; 00454 m_g4ToSoMap["TEC_ele4"]= "default"; 00455 m_g4ToSoMap["TEC_ele5"]= "default"; 00456 m_g4ToSoMap["TEC_ele6"]= "default"; 00457 m_g4ToSoMap["TEC_ele7"]= "default"; 00458 m_g4ToSoMap["TEC_frame_side"]= "default"; 00459 m_g4ToSoMap["TEC_frame_top"]= "default"; 00460 m_g4ToSoMap["TEC_periscopes"]= "default"; 00461 m_g4ToSoMap["TEC_petal"]= "default"; 00462 m_g4ToSoMap["TEC_rad_cable"]= "default"; 00463 m_g4ToSoMap["TEC_rods"]= "default"; 00464 m_g4ToSoMap["TEC_tiltmeter"]= "default"; 00465 m_g4ToSoMap["TEC_wheel_CF"]= "default"; 00466 m_g4ToSoMap["TEC_wheel_Nomex"]= "default"; 00467 m_g4ToSoMap["TEC_wheelinsert"]= "default"; 00468 m_g4ToSoMap["TIB_CCUM"]= "default"; 00469 m_g4ToSoMap["TIB_CF"]= "default"; 00470 m_g4ToSoMap["TIB_ICC1"]= "default"; 00471 m_g4ToSoMap["TIB_ICC2"]= "default"; 00472 m_g4ToSoMap["TIB_ICC_ledge1"]= "default"; 00473 m_g4ToSoMap["TIB_ICC_ledge2"]= "default"; 00474 m_g4ToSoMap["TIB_PA_rphi"]= "default"; 00475 m_g4ToSoMap["TIB_PA_ster"]= "default"; 00476 m_g4ToSoMap["TIB_Rib_in1"]= "default"; 00477 m_g4ToSoMap["TIB_Rib_in2"]= "default"; 00478 m_g4ToSoMap["TIB_Rib_in3"]= "default"; 00479 m_g4ToSoMap["TIB_Rib_in4"]= "default"; 00480 m_g4ToSoMap["TIB_Silicon"]= "silicon"; 00481 m_g4ToSoMap["TIB_Wafer"]= "default"; 00482 m_g4ToSoMap["TIB_cab_rad1"]= "cable"; 00483 m_g4ToSoMap["TIB_cab_rad2"]= "cable"; 00484 m_g4ToSoMap["TIB_cab_rad3"]= "cable"; 00485 m_g4ToSoMap["TIB_cab_rad4"]= "cable"; 00486 m_g4ToSoMap["TIB_cables_ax"]= "cable"; 00487 m_g4ToSoMap["TIB_cables_ax_out"]= "cable"; 00488 m_g4ToSoMap["TIB_cent_supp"]= "default"; 00489 m_g4ToSoMap["TIB_connector"]= "aluminium"; 00490 m_g4ToSoMap["TIB_cylinder"]= "default"; 00491 m_g4ToSoMap["TIB_disk"]= "default"; 00492 m_g4ToSoMap["TIB_ele1"]= "default"; 00493 m_g4ToSoMap["TIB_ele2"]= "default"; 00494 m_g4ToSoMap["TIB_ele3"]= "default"; 00495 m_g4ToSoMap["TIB_ele4"]= "default"; 00496 m_g4ToSoMap["TIB_ledge_bds"]= "default"; 00497 m_g4ToSoMap["TIB_ledge_bss"]= "default"; 00498 m_g4ToSoMap["TIB_ledge_hybrid"]= "default"; 00499 m_g4ToSoMap["TIB_ledge_side"]= "default"; 00500 m_g4ToSoMap["TIB_mod_cool"]= "default"; 00501 m_g4ToSoMap["TIB_mod_spacer1"]= "default"; 00502 m_g4ToSoMap["TIB_mod_spacer2"]= "default"; 00503 m_g4ToSoMap["TIB_mother_cable"]= "default"; 00504 m_g4ToSoMap["TIB_outer_supp"]= "default"; 00505 m_g4ToSoMap["TIB_rail"]= "default"; 00506 m_g4ToSoMap["TIB_rib0"]= "default"; 00507 m_g4ToSoMap["TIB_rib1"]= "default"; 00508 m_g4ToSoMap["TIB_rib2"]= "default"; 00509 m_g4ToSoMap["TIB_rib3"]= "default"; 00510 m_g4ToSoMap["TIB_rib4"]= "default"; 00511 m_g4ToSoMap["TIB_sid_rail1"]= "default"; 00512 m_g4ToSoMap["TIB_sid_rail2"]= "default"; 00513 m_g4ToSoMap["TID_CF"]= "default"; 00514 m_g4ToSoMap["TID_Connector"]= "aluminium"; 00515 m_g4ToSoMap["TID_Cool_Manifold"]= "default"; 00516 m_g4ToSoMap["TID_Cool_insert"]= "default"; 00517 m_g4ToSoMap["TID_Cool_ring"]= "default"; 00518 m_g4ToSoMap["TID_ICB1"]= "default"; 00519 m_g4ToSoMap["TID_ICB2"]= "default"; 00520 m_g4ToSoMap["TID_ICB3"]= "default"; 00521 m_g4ToSoMap["TID_ICC1"]= "default"; 00522 m_g4ToSoMap["TID_ICC2"]= "default"; 00523 m_g4ToSoMap["TID_Nomex"]= "default"; 00524 m_g4ToSoMap["TID_PitchAdapter"]= "default"; 00525 m_g4ToSoMap["TID_Side_Wafer"]= "default"; 00526 m_g4ToSoMap["TID_Wafer"]= "default"; 00527 m_g4ToSoMap["TID_Wheel_Fixation"]= "default"; 00528 m_g4ToSoMap["TID_ax_cable"]= "cable"; 00529 m_g4ToSoMap["TID_ele1"]= "default"; 00530 m_g4ToSoMap["TID_ele2"]= "default"; 00531 m_g4ToSoMap["TID_ele3"]= "default"; 00532 m_g4ToSoMap["TID_frame_side"]= "default"; 00533 m_g4ToSoMap["TID_frame_top"]= "default"; 00534 m_g4ToSoMap["TID_in_cable"]= "cable"; 00535 m_g4ToSoMap["TID_mech"]= "default"; 00536 m_g4ToSoMap["TIE_Connector"]= "aluminium"; 00537 m_g4ToSoMap["TIE_Fixframe"]= "default"; 00538 m_g4ToSoMap["TIE_ICC1"]= "default"; 00539 m_g4ToSoMap["TIE_ICC2"]= "default"; 00540 m_g4ToSoMap["TIE_ICC3"]= "default"; 00541 m_g4ToSoMap["TIE_PitchAdapter"]= "default"; 00542 m_g4ToSoMap["TIE_Side_Wafer"]= "default"; 00543 m_g4ToSoMap["TIE_Wafer"]= "default"; 00544 m_g4ToSoMap["TIE_ax_cable"]= "cable"; 00545 m_g4ToSoMap["TIE_ele1"]= "default"; 00546 m_g4ToSoMap["TIE_ele2"]= "default"; 00547 m_g4ToSoMap["TIE_ele3"]= "default"; 00548 m_g4ToSoMap["TIE_frame_light"]= "default"; 00549 m_g4ToSoMap["TIE_frame_light_back"]= "default"; 00550 m_g4ToSoMap["TIE_in_cable"]= "default"; 00551 m_g4ToSoMap["TIE_mech"]= "default"; 00552 m_g4ToSoMap["TIE_petal"]= "default"; 00553 m_g4ToSoMap["TIE_rad_cable"]= "default"; 00554 m_g4ToSoMap["TOB_Aluminium"]= "aluminium"; 00555 m_g4ToSoMap["TOB_Brass"]= "brass"; 00556 m_g4ToSoMap["TOB_CCUM1"]= "default"; 00557 m_g4ToSoMap["TOB_CCUM2"]= "default"; 00558 m_g4ToSoMap["TOB_CCUM3"]= "default"; 00559 m_g4ToSoMap["TOB_CF_Str"]= "default"; 00560 m_g4ToSoMap["TOB_CONN1"]= "default"; 00561 m_g4ToSoMap["TOB_CONN2"]= "default"; 00562 m_g4ToSoMap["TOB_CONN3"]= "default"; 00563 m_g4ToSoMap["TOB_CuNi"]= "copper"; 00564 m_g4ToSoMap["TOB_Epoxy"]= "default"; 00565 m_g4ToSoMap["TOB_ICB"]= "default"; 00566 m_g4ToSoMap["TOB_ICC1"]= "default"; 00567 m_g4ToSoMap["TOB_ICC2"]= "default"; 00568 m_g4ToSoMap["TOB_ICC3"]= "default"; 00569 m_g4ToSoMap["TOB_ICC4"]= "default"; 00570 m_g4ToSoMap["TOB_ICC5"]= "default"; 00571 m_g4ToSoMap["TOB_ICC6"]= "default"; 00572 m_g4ToSoMap["TOB_Nomex"]= "default"; 00573 m_g4ToSoMap["TOB_PA_rphi"]= "default"; 00574 m_g4ToSoMap["TOB_PA_ster"]= "default"; 00575 m_g4ToSoMap["TOB_Silicon"]= "silicon"; 00576 m_g4ToSoMap["TOB_Wafer"]= "default"; 00577 m_g4ToSoMap["TOB_ax_cable"]= "cable"; 00578 m_g4ToSoMap["TOB_cool_DS"]= "default"; 00579 m_g4ToSoMap["TOB_cool_SS"]= "default"; 00580 m_g4ToSoMap["TOB_cool_solder"]= "default"; 00581 m_g4ToSoMap["TOB_coolmanifold1"]= "default"; 00582 m_g4ToSoMap["TOB_coolmanifold2"]= "default"; 00583 m_g4ToSoMap["TOB_coolmanifold3"]= "default"; 00584 m_g4ToSoMap["TOB_coolmanifold4"]= "default"; 00585 m_g4ToSoMap["TOB_coolmanifold5"]= "default"; 00586 m_g4ToSoMap["TOB_coolmanifold6"]= "default"; 00587 m_g4ToSoMap["TOB_ele10"]= "default"; 00588 m_g4ToSoMap["TOB_ele5"]= "default"; 00589 m_g4ToSoMap["TOB_ele6"]= "default"; 00590 m_g4ToSoMap["TOB_ele7"]= "default"; 00591 m_g4ToSoMap["TOB_ele8"]= "default"; 00592 m_g4ToSoMap["TOB_ele9"]= "default"; 00593 m_g4ToSoMap["TOB_frame_ele"]= "default"; 00594 m_g4ToSoMap["TOB_hybrid_supp"]= "default"; 00595 m_g4ToSoMap["TOB_middle_ribs"]= "default"; 00596 m_g4ToSoMap["TOB_mod_cool_1"]= "default"; 00597 m_g4ToSoMap["TOB_mod_cool_2"]= "default"; 00598 m_g4ToSoMap["TOB_mod_cool_3"]= "default"; 00599 m_g4ToSoMap["TOB_mod_cool_4"]= "default"; 00600 m_g4ToSoMap["TOB_optfib_DS"]= "default"; 00601 m_g4ToSoMap["TOB_optfib_SS"]= "default"; 00602 m_g4ToSoMap["TOB_plate_A"]= "default"; 00603 m_g4ToSoMap["TOB_plate_B"]= "default"; 00604 m_g4ToSoMap["TOB_plate_C"]= "default"; 00605 m_g4ToSoMap["TOB_rad_cable1"]= "cable"; 00606 m_g4ToSoMap["TOB_rad_cable2"]= "cable"; 00607 m_g4ToSoMap["TOB_rad_cable3"]= "cable"; 00608 m_g4ToSoMap["TOB_rad_cable4"]= "cable"; 00609 m_g4ToSoMap["TOB_rad_cable5"]= "cable"; 00610 m_g4ToSoMap["TOB_rad_cable6"]= "cable"; 00611 m_g4ToSoMap["TOB_rail"]= "iron"; 00612 m_g4ToSoMap["TOB_rib1"]= "default"; 00613 m_g4ToSoMap["TOB_rib2"]= "default"; 00614 m_g4ToSoMap["TOB_rib3"]= "default"; 00615 m_g4ToSoMap["TOB_rib4"]= "default"; 00616 m_g4ToSoMap["TOB_rib5"]= "default"; 00617 m_g4ToSoMap["TOB_rib6"]= "default"; 00618 m_g4ToSoMap["TOB_rod"]= "default"; 00619 m_g4ToSoMap["TOB_sid_rail1"]= "iron"; 00620 m_g4ToSoMap["TOB_sid_rail2"]= "iron"; 00621 m_g4ToSoMap["TRAK_Average"]= "default"; 00622 m_g4ToSoMap["T_Air"]= "air"; 00623 m_g4ToSoMap["T_Argon CF_4 CO_2"]= "air"; 00624 m_g4ToSoMap["T_Bronze"]= "copper"; 00625 m_g4ToSoMap["T_Carbon fibre str."]= "default"; 00626 m_g4ToSoMap["T_FR4"]= "default"; 00627 m_g4ToSoMap["T_Foam"]= "default"; 00628 m_g4ToSoMap["T_Kapton"]= "default"; 00629 m_g4ToSoMap["T_MSGC-Average"]= "default"; 00630 m_g4ToSoMap["T_OPC"]= "default"; 00631 m_g4ToSoMap["T_OP_cable"]= "cable"; 00632 m_g4ToSoMap["T_PIXEL-Average"]= "default"; 00633 m_g4ToSoMap["T_Pix_Bar_Det"]= "default"; 00634 m_g4ToSoMap["T_Pix_Bar_Hybrid"]= "default"; 00635 m_g4ToSoMap["T_Pix_Bar_Readout"]= "default"; 00636 m_g4ToSoMap["T_Pix_Fwd_Det"]= "default"; 00637 m_g4ToSoMap["T_Pix_Fwd_Readout"]= "default"; 00638 m_g4ToSoMap["T_SITRA-Average"]= "default"; 00639 m_g4ToSoMap["T_Silicon"]= "silicon"; 00640 m_g4ToSoMap["T_Silicon Detector"]= "silicon"; 00641 m_g4ToSoMap["Technetium"]= "default"; 00642 m_g4ToSoMap["Teflon"]= "default"; 00643 m_g4ToSoMap["Tellurium"]= "default"; 00644 m_g4ToSoMap["Thick_Copper"]= "copper"; 00645 m_g4ToSoMap["Thick_MagnetiteConc"]= "concrete"; 00646 m_g4ToSoMap["Thick_Stand.Concrete"]= "concrete"; 00647 m_g4ToSoMap["Ti_2 O_3"]= "aluminium"; 00648 m_g4ToSoMap["Tin"]= "aluminium"; 00649 m_g4ToSoMap["Titanium"]= "aluminium"; 00650 m_g4ToSoMap["Tk_CCU_board"]= "default"; 00651 m_g4ToSoMap["Tk_CF_supp"]= "default"; 00652 m_g4ToSoMap["Tk_CF_supp_sili"]= "default"; 00653 m_g4ToSoMap["Tk_Cable_1"]= "cable"; 00654 m_g4ToSoMap["Tk_IO_board"]= "default"; 00655 m_g4ToSoMap["Tk_Opt_Ribbon"]= "default"; 00656 m_g4ToSoMap["Tk_SO_FC_A"]= "default"; 00657 m_g4ToSoMap["Tk_SO_FC_B"]= "default"; 00658 m_g4ToSoMap["Tk_SO_FC_C"]= "default"; 00659 m_g4ToSoMap["Tk_SO_FC_D"]= "default"; 00660 m_g4ToSoMap["Tk_SO_FC_E"]= "default"; 00661 m_g4ToSoMap["Tk_SO_FC_F"]= "default"; 00662 m_g4ToSoMap["Tk_SO_FC_G"]= "default"; 00663 m_g4ToSoMap["Tk_cool_pipe"]= "aluminium"; 00664 m_g4ToSoMap["Tk_op_boxes"]= "default"; 00665 m_g4ToSoMap["Tk_panels_in"]= "default"; 00666 m_g4ToSoMap["Tk_panels_mid1"]= "default"; 00667 m_g4ToSoMap["Tk_panels_mid2"]= "default"; 00668 m_g4ToSoMap["Tk_panels_mid3"]= "default"; 00669 m_g4ToSoMap["Tk_panels_out"]= "default"; 00670 m_g4ToSoMap["Tk_panels_up"]= "default"; 00671 m_g4ToSoMap["Tk_square_bundles"]= "default"; 00672 m_g4ToSoMap["Tk_support"]= "default"; 00673 m_g4ToSoMap["Transmission line"]= "default"; 00674 m_g4ToSoMap["Tungsten"]= "default"; 00675 m_g4ToSoMap["Uranium"]= "default"; 00676 m_g4ToSoMap["V_Air"]= "air"; 00677 m_g4ToSoMap["V_Iron"]= "iron"; 00678 m_g4ToSoMap["V_Quartz"]= "glass"; 00679 m_g4ToSoMap["Vacuum"]= "vacuum"; 00680 m_g4ToSoMap["Vanadium"]= "default"; 00681 m_g4ToSoMap["Vcal C4H10"]= "default"; 00682 m_g4ToSoMap["Vcal CO2"]= "air"; 00683 m_g4ToSoMap["Vcal average"]= "default"; 00684 m_g4ToSoMap["W/Sci spaghetti mix"]= "default"; 00685 m_g4ToSoMap["Water"]= "water"; 00686 m_g4ToSoMap["Wood"]= "wood"; 00687 m_g4ToSoMap["Xenon"]= "defaultGas"; 00688 m_g4ToSoMap["YokeSteel"]= "iron"; 00689 m_g4ToSoMap["Yttrium"]= "default"; 00690 m_g4ToSoMap["Zinc"]= "default"; 00691 m_g4ToSoMap["Zirconium"]= "default"; 00692 m_g4ToSoMap["active_screen"]= "default"; 00693 m_g4ToSoMap["c_Peek"]= "default"; 00694 }