#include #include #include #include #include #include #include #include #include #include #include "IGeomVisitor.hxx" #include "IGeomModuleBase.hxx" #include "IOADatabase.hxx" #include "IGeomIdManager.hxx" //**************************************************************** COMET::IGeomModuleBase::IGeomModuleBase(COMET::IGeomModuleBase::EmoduleOrientation orientation) : //**************************************************************** fModulePath(""), fModuleGeomId(0), fOrientation(orientation){ } //**************************************************************** COMET::IGeomModuleBase::IGeomModuleBase(std::string thePath) : //**************************************************************** fModulePath(thePath), fModuleGeomId(0), fOrientation(kWrong) { setUpNames(); pathToOrientation(thePath); SetPath(thePath.c_str()); Fill(); } //**************************************************************** COMET::IGeomModuleBase::~IGeomModuleBase(){} //**************************************************************** //**************************************************************** void COMET::IGeomModuleBase::SetPath(const char* path){ //**************************************************************** fModulePath = path; gGeoManager->cd(path); COMET::IOADatabase::Get().GeomId().FindGeometryId(fModuleGeomId); //fModuleNodeID = gGeoManager->GetNodeId(); }