/search.css" rel="stylesheet" type="text/css"/> /search.js">
#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>
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.
{ out.clear(); string::size_type pos = 0, siz = src.size(); while (pos < siz) { string::size_type found = src.find(del,pos); if (found == string::npos) { out.push_back(src.substr(pos,siz-pos)); break; } out.push_back(src.substr(pos,found-pos)); pos = found+1; } }