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

In This Package:

STDetSwitch.cpp

Go to the documentation of this file.
00001 #include "Kernel/STDetSwitch.h"
00002 
00003 void STDetSwitch::flip(std::string aType, std::string& aString){
00004 
00005   std::string::size_type iChar = 0;
00006   std::string oldType;
00007   aType == "TT" ? oldType = "IT" : oldType = "TT";
00008 
00009   while ((iChar = aString.find(oldType)) != std::string::npos) {
00010     aString.replace(iChar, 2, aType);
00011   }
00012 
00013 }
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:03:13 2011 for LHCbKernel by doxygen 1.4.7