Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
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
15
#include "
Acts/Geometry/TrackingVolume.hpp
"
16
#include "
Acts/Material/IMaterialDecorator.hpp
"
17
#include "
Acts/Surfaces/Surface.hpp
"
18
19
// @note This file will go into the acts-core
20
namespace
Acts {
21
26
class
MaterialWiper
:
public
IMaterialDecorator
{
27
public
:
31
void
decorate
(
Surface
&
surface
)
const
final
{
32
surface
.assignSurfaceMaterial(
nullptr
);
33
}
34
38
void
decorate
(
TrackingVolume
& volume)
const
final
{
39
volume.assignVolumeMaterial(
nullptr
);
40
}
41
};
42
43
}
// namespace Acts
acts
blob
sPHENIX
Examples
Run
Common
include
ActsExamples
Geometry
MaterialWiper.hpp
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:39
using
1.8.2 with
sPHENIX GitHub integration