Commit 1a5a9d60 authored by Javier Galan's avatar Javier Galan
Browse files

GdmlPreprocessor::GetGeoManager method added

parent 03fda0bd
......@@ -11,6 +11,9 @@
//
class GdmlPreprocessor : public TRestMetadata {
private:
TGeoManager* fGeo;
public:
GdmlPreprocessor() {}
~GdmlPreprocessor() {}
......@@ -29,6 +32,12 @@ class GdmlPreprocessor : public TRestMetadata {
void Load(string file);
TGeoManager* GetGeoManager(string gdmlfile) {
Load(gdmlfile);
fGeo = TGeoManager::Import(GetOutputGDMLFile().c_str());
return fGeo;
}
TGeoManager* CreateGeoM();
void InitFromConfigFile() {}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment