8#ifndef SUBDETECTOR_ROOT_GEO_H
9#define SUBDETECTOR_ROOT_GEO_H
14#include <TGeoVolume.h>
16#include "Saxana/ProcessingConfigurator.h"
17#include "Saxana/SAXProcessor.h"
19#include "Processor/TGDMLProcessor.h"
38 void ReadGdml(
const char* gdmlFile,
const char* setupName );
56 TGeoNode*
GetNode(
const std::string& nn );
60 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.