|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #ifndef DETDESCRDBENVELOPESVC_H
9 #define DETDESCRDBENVELOPESVC_H
49 {
return m_rz[region]; }
102 #endif // DETDESCRDBENVELOPESVC_H
FallbackDoubleVector m_fallbackZ[AtlasDetDescr::fNumAtlasRegions]
std::vector< RZPair > RZPairVector
DetDescrDBEnvelopeSvc(const std::string &name, ISvcLocator *svc)
public AthService constructor
bool m_allowFallback
fallback solution, in case something goes wrong with the DB
StatusCode finalize()
AthService finalize method.
Definition of the abstract IRDBAccessSvc interface.
::StatusCode StatusCode
StatusCode definition for legacy code.
std::string m_atlasNode
main DDDB node for the ATLAS detector
const RZPairVector & getRZBoundary(AtlasDetDescr::AtlasRegion region) const
return a vector of (r,z) pairs, defining the respective envelope
StatusCode fallbackRZBoundary(FallbackDoubleVector &r, FallbackDoubleVector &z, RZPairVector &rzVec)
use the fallback approach (python arguments) to set the (r,z) values
StatusCode initialize()
AthService initialize method.
std::vector< double > FallbackDoubleVector
datatype used for fallback solution
AthROOTErrorHandlerSvc * svc
StatusCode retrieveRZBoundaryOptionalFallback(std::string &dbNode, FallbackDoubleVector &r, FallbackDoubleVector &z, RZPairVector &rzVec)
retrieve and store the (r,z) values locally for the given DB node.
ServiceHandle< IGeoModelSvc > m_geoModelSvc
ATLAS GeoModel.
std::string m_node[AtlasDetDescr::fNumAtlasRegions]
the names of the DB nodes for the respective AtlasRegion
std::string m_atlasVersionTag
RZPairVector m_rz[AtlasDetDescr::fNumAtlasRegions]
internal (r,z) representation, one RZPairVector for each AtlasRegion
StatusCode retrieveRZBoundary(std::string &node, RZPairVector &rzVec)
retrieve and store the (r,z) values locally for the given DB node
FallbackDoubleVector m_fallbackR[AtlasDetDescr::fNumAtlasRegions]
const RZPairVector & getRPositiveZBoundary(AtlasDetDescr::AtlasRegion region) const
return a vector of (r,z) pairs, defining the envelope on the z>0 region
ServiceHandle< IRDBAccessSvc > m_dbAccess
the DetectorDescription database access method
RZPairVector m_rposz[AtlasDetDescr::fNumAtlasRegions]
internal (r,z) representation for the positive z-side only, one RZPairVector for each AtlasRegion
~DetDescrDBEnvelopeSvc()
Destructor.
bool enableFallback()
enable fallback solution: