8#ifndef SUBDETECTOR_ROOT_GEO_H
9#define SUBDETECTOR_ROOT_GEO_H
13#include <TGeoVolume.h>
16#include "Saxana/SAXProcessor.h"
17#include "Saxana/ProcessingConfigurator.h"
18#include "Processor/TGDMLProcessor.h"
39 void ReadGdml(
const char *gdmlFile,
const char *setupName );
57 TGeoNode*
GetNode(
const std::string& nn );
62 ProcessingConfigurator m_config;
TGeoNode * GetNode(const std::string &nn)
Get a node(physical volume) by name;.
TGeoVolume * GetTopVolume()
Get the top(world) volume;.
TGeoVolume * GetLogicalVolume(const std::string &vn)
Get a logical volume by name;.
virtual ~SubDetectorROOTGeo()
Destructor.
int IsInitialized()
If the ROOT geometry of this subdetctor is initialized;.
void ReadGdml(const char *gdmlFile, const char *setupName)
Initialize the instance of ROOTGeo.
void SetChildNo(int childNo)
TGeoVolumeAssembly * GetAssemblyVolume(const std::string &an)
Get an assembly by name;.
SubDetectorROOTGeo()
Constructor.