Skip to content
Snippets Groups Projects

PixelGeoModelXml package in master

Merged Stanislava Sevova requested to merge ssevova/athena:PixelGeoModelXml-master into master
Files
12
/*
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/
#ifndef PixelGeoModelXml_ITKPIXELDETECTORTOOL_H
#define PixelGeoModelXml_ITKPIXELDETECTORTOOL_H
//
// Create an Athena Tool; handle Athena services and Tools needed for
// building the Pixel geometry. Then create the geometry using the PixelDetectorFactory.
// This is the entry to the PixelGeoModelXml package.
//
#include "GeoModelUtilities/GeoModelTool.h"
#include "GaudiKernel/ServiceHandle.h"
#include "GaudiKernel/ToolHandle.h"
#include <string>
class IGeoModelSvc;
class IRDBAccessSvc;
class IGeoDbTagSvc;
class IGeometryDBSvc;
namespace InDetDD {
class PixelDetectorManager;
class AthenaComps;
class SiCommonItems;
}
class ITkPixelDetectorTool : public GeoModelTool {
public:
ITkPixelDetectorTool(const std::string &type, const std::string &name, const IInterface *parent);
virtual ~ITkPixelDetectorTool();
StatusCode create() override final;
StatusCode clear() override final;
StatusCode registerCallback() override final;
virtual StatusCode align(IOVSVC_CALLBACK_ARGS_P(I,keys)) override;
private:
std::string m_detectorName;
bool m_alignable;
std::string m_gmxFilename;
const InDetDD::PixelDetectorManager *m_manager;
InDetDD::AthenaComps *m_athenaComps;
InDetDD::SiCommonItems *m_commonItems;
ServiceHandle<IGeoModelSvc> m_geoModelSvc;
ServiceHandle<IRDBAccessSvc> m_rdbAccessSvc;
ServiceHandle<IGeometryDBSvc> m_geometryDBSvc;
ServiceHandle< IGeoDbTagSvc > m_geoDbTagSvc;
};
#endif // PixelGeoModelXml_ITKPIXELDETECTORTOOL_H
Loading