#include "TH2DE.h"
#include "DetDesc/ILVolume.h"
#include "DetDesc/IPVolume.h"
#include "DetDesc/IDetectorElement.h"
#include "DetDesc/IGeometryInfo.h"
#include "G4TouchableHistory.hh"
#include "G4VPhysicalVolume.hh"
#include <sstream>
Include dependency graph for TH2DE.cc:
Go to the source code of this file.
Functions | |
static void | split (vector< string > &out, const string &src, char del) |
static string | dumpstr (const G4TouchableHistory *g4hist) |
static void split | ( | vector< string > & | out, | |
const string & | src, | |||
char | del | |||
) | [static] |
Definition at line 29 of file TH2DE.cc.
00030 { 00031 out.clear(); 00032 string::size_type pos = 0, siz = src.size(); 00033 while (pos < siz) { 00034 string::size_type found = src.find(del,pos); 00035 if (found == string::npos) { 00036 out.push_back(src.substr(pos,siz-pos)); 00037 break; 00038 } 00039 out.push_back(src.substr(pos,found-pos)); 00040 pos = found+1; 00041 } 00042 }
static string dumpstr | ( | const G4TouchableHistory * | g4hist | ) | [static] |