8#ifndef SUBDETECTOR_ROOT_GEO_H
9#define SUBDETECTOR_ROOT_GEO_H
13#include <TGeoVolume.h>
15#include <TGeoPhysicalNode.h>
17#include "Saxana/SAXProcessor.h"
18#include "Saxana/ProcessingConfigurator.h"
19#include "Processor/TGDMLProcessor.h"
40 virtual void ReadGdml(
const char *gdmlFile,
const char *setupName );
58 virtual TGeoNode*
GetNode(
const std::string& nn );
64 virtual TGeoPhysicalNode*
GetHit(
int i);
73 ProcessingConfigurator m_config;
virtual int GetHitsNum()
Get number of hits in HitsArray;.
virtual TGeoPhysicalNode * GetHit(int i)
Get ith hit in HitsArray;.
virtual ~SubDetectorROOTGeo()
Destructor.
virtual void SetDetectorOn()
Set all physicalNodes in m_DeteorsArray visible;.
virtual TGeoVolume * GetLogicalVolume(const std::string &vn)
Get a logical volume by name;.
virtual void ReadGdml(const char *gdmlFile, const char *setupName)
Initialize the instance of ROOTGeo.
virtual TGeoNode * GetNode(const std::string &nn)
Get a node(physical volume) by name;.
TObjArray * m_DetectorsArray
virtual TGeoVolume * GetTopVolume()
Get the top(world) volume;.
virtual TGeoVolumeAssembly * GetAssemblyVolume(const std::string &an)
Get an assembly by name;.
TObjArray * m_2DHitsArray
virtual void SetChildNo(int childNo)
SubDetectorROOTGeo()
Constructor.
virtual int IsInitialized()
If the ROOT geometry of this subdetctor is initialized;.