EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MaterialWiper.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file MaterialWiper.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2019 CERN for the benefit of the Acts project
4 //
5 // This Source Code Form is subject to the terms of the Mozilla Public
6 // License, v. 2.0. If a copy of the MPL was not distributed with this
7 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 
10 // MaterialWiper.hpp, Acts project
12 
13 #pragma once
14 
18 
19 // @note This file will go into the acts-core
20 namespace Acts {
21 
27  public:
31  void decorate(Surface& surface) const final {
32  surface.assignSurfaceMaterial(nullptr);
33  }
34 
38  virtual void decorate(TrackingVolume& volume) const final {
39  volume.assignVolumeMaterial(nullptr);
40  }
41 };
42 
43 } // namespace Acts