GeoModel - GeoModelCore
GeoLogVol.cxx
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include "GeoModelKernel/GeoLogVol.h"
6 
7 GeoLogVol::GeoLogVol (const std::string &Name, const GeoShape *Shape, const GeoMaterial *Material)
8  : m_name (Name)
9  , m_material (Material)
10  , m_shape (Shape)
11 {
12  m_material->ref ();
13  m_shape->ref ();
14 }
15 
16 GeoLogVol::~GeoLogVol()
17 {
18  m_material->unref ();
19  m_shape->unref ();
20 }
21 
This class describes a Shape. Shapes will be able to do the following things:
Definition: GeoShape.h:38
This class represents materials. A material is a collection of elements. In addition it has a density...
Definition: GeoMaterial.h:33