ATLAS Offline Software
Loading...
Searching...
No Matches
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
18
19#include "GeoModelKernel/GeoVPhysVol.h"
20#ifndef BUILDVP1LIGHT
22#endif
23#include <set>
24#include <string>
25
26class GeoFullPhysVol;
28
29public:
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
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
virtual ~StoredPhysVol()=default
StoredPhysVol(GeoFullPhysVol *physVol)
Constructor(s)
GeoIntrusivePtr< GeoFullPhysVol > m_physVol
GeoFullPhysVol * getPhysVol()
Destructor.