ATLAS Offline Software
DetectorDescription
GeoModel
GeoModelUtilities
GeoModelUtilities
StoredPhysVol.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
//-------------------------------------------------------------------------------------------//
6
// //
7
// Insert a volume into the detector store: //
8
// //
9
// Joe Boudreau October 2003 //
10
// //
11
//-------------------------------------------------------------------------------------------//
12
13
#ifndef STOREDPHYSVOL_H
14
#define STOREDPHYSVOL_H
15
17
#include "
GeoPrimitives/GeoPrimitives.h
"
18
19
#include "GeoModelKernel/GeoVPhysVol.h"
20
#ifndef BUILDVP1LIGHT
21
#include "
AthenaKernel/CLASS_DEF.h
"
22
#endif
23
#include <set>
24
#include <string>
25
26
class
GeoFullPhysVol;
27
class
StoredPhysVol
{
28
29
public
:
30
31
32
// ---------------------------For you: ----------------------------------------------------//
33
// //
34
// Standard Constructor //
35
StoredPhysVol
(GeoFullPhysVol* physVol);
//
36
// //
37
// Standard Destructor //
38
virtual
~StoredPhysVol
() =
default
;
//
39
// //
40
// Return the World physical volume: //
41
GeoFullPhysVol *
getPhysVol
();
//
42
const
GeoFullPhysVol *
getPhysVol
()
const
;
//
43
// //
44
// //
45
//-----------------------------------------------------------------------------------------//
46
47
private
:
48
49
GeoIntrusivePtr<GeoFullPhysVol>
m_physVol
{};
50
51
};
52
53
#ifndef BUILDVP1LIGHT
54
CLASS_DEF
(
StoredPhysVol
, 9877, 1)
55
#endif
56
57
#endif
58
59
60
StoredPhysVol::m_physVol
GeoIntrusivePtr< GeoFullPhysVol > m_physVol
Definition:
StoredPhysVol.h:49
StoredPhysVol::StoredPhysVol
StoredPhysVol(GeoFullPhysVol *physVol)
Constructor(s)
Definition:
StoredPhysVol.cxx:13
StoredPhysVol::~StoredPhysVol
virtual ~StoredPhysVol()=default
StoredPhysVol
Definition:
StoredPhysVol.h:27
GeoPrimitives.h
StoredPhysVol::getPhysVol
GeoFullPhysVol * getPhysVol()
Destructor.
Definition:
StoredPhysVol.cxx:20
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition:
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
CLASS_DEF.h
macros to associate a CLID to a type
Generated on Thu Nov 7 2024 21:26:38 for ATLAS Offline Software by
1.8.18