ATLAS Offline Software
Loading...
Searching...
No Matches
HGTD_DetectorTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef HGTD_GEOMODEL_HGTD_DETECTORTOOL_H
6#define HGTD_GEOMODEL_HGTD_DETECTORTOOL_H
7
8#include "GaudiKernel/ServiceHandle.h"
9#include "GaudiKernel/ToolHandle.h"
14
15#include <string>
16
18
19namespace InDetDD {
20 class SiCommonItems;
21}
22
29 public:
30 // Standard Constructor
31 HGTD_DetectorTool(const std::string &type, const std::string &name, const IInterface *parent);
32
33 virtual StatusCode create() override final;
34 virtual StatusCode clear() override final;
35
36 // Register callback function on CondDB object
37 virtual StatusCode registerCallback ATLAS_NOT_THREAD_SAFE () override final;
38
39 // Callback function itself
40 virtual StatusCode align ATLAS_NOT_THREAD_SAFE (IOVSVC_CALLBACK_ARGS) override final;
41
42 private:
43
44 StringProperty m_detectorName{this, "DetectorName", "HGTD"};
45 BooleanProperty m_alignable{this, "Alignable", false};
46
49
51
53
55};
56
57#endif // HGTD_GEOMODEL_HGTD_DETECTORTOOL_H
#define IOVSVC_CALLBACK_ARGS
short hand for IOVSvc call back argument list, to be used when no access to formal arguments is neede...
Definition IOVSvcDefs.h:24
Definition of the abstract IRDBAccessSvc interface.
The Detector manager has methods to retrieve the Identifier helper and methods to retrieve the detect...
const HGTD_DetectorManager * m_detectorManager
HGTD_GeoModelAthenaComps m_athenaComps
ServiceHandle< IGeoDbTagSvc > m_geoDbTagSvc
StringProperty m_detectorName
ServiceHandle< IRDBAccessSvc > m_rdbAccessSvc
virtual StatusCode create() override final
HGTD_DetectorTool(const std::string &type, const std::string &name, const IInterface *parent)
virtual StatusCode clear() override final
BooleanProperty m_alignable
virtual StatusCode registerCallback ATLAS_NOT_THREAD_SAFE() override final
Class to hold various Athena components.
Helper class to concentrate common items, such as the pointer to the IdHelper, the lorentzAngle tool ...
Message Stream Member.
#define private