ATLAS Offline Software
GeoMaterialConverter.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 // GeoMaterialConverter.h, (c) ATLAS Detector software
8 
9 #ifndef TRKDETDESCRGEOMODELCNV_GEOMATERIALCONVERTER_H
10 #define TRKDETDESCRGEOMODELCNV_GEOMATERIALCONVERTER_H
11 // Trk
12 #include "TrkGeometry/Material.h"
13 // STL
14 #include <iostream>
15 
16 class GeoMaterial;
17 
18 namespace Trk {
19 
31 
32  public:
34  GeoMaterialConverter() = default;
35 
37  ~GeoMaterialConverter() = default;
38 
41  static Material convert(const GeoMaterial* gm);
42 
45  static bool dummy_material(const GeoMaterial*);
46 };
47 
48 } // end of namespace Trk
49 
50 #endif
Trk::GeoMaterialConverter::GeoMaterialConverter
GeoMaterialConverter()=default
Default constructor.
Trk::GeoMaterialConverter::convert
static Material convert(const GeoMaterial *gm)
Single conversion , input type GeoMaterial - output type Trk::MaterialProperties.
Definition: GeoMaterialConverter.cxx:18
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::GeoMaterialConverter::~GeoMaterialConverter
~GeoMaterialConverter()=default
Destructor.
Trk::GeoMaterialConverter
Definition: GeoMaterialConverter.h:30
Trk::Material
Definition: Material.h:116
Trk::GeoMaterialConverter::dummy_material
static bool dummy_material(const GeoMaterial *)
hardcoded dummy materials : TODO : find generic criterium ( density ? radiation length ?...
Definition: GeoMaterialConverter.cxx:39
Material.h