Belle II Software light-2406-ragdoll
DensityScalerModule.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8#pragma once
9
10#include <framework/core/Module.h>
11#include <set>
12
13namespace Belle2 {
28 class DensityScalerModule : public Module {
29 public:
35 virtual void initialize() override;
36 private:
41 std::map<std::string, double> m_scaling;
43 std::set<std::string> m_ignoredMaterials;
44 };
46}
Scale density of simulation/reconstruction geometry.
virtual void initialize() override
Set the scaling.
std::map< std::string, double > m_scaling
The scale factor for each geometry component that should be scaled.
DensityScalerModule()
Constructor: Sets the description, the properties and the parameters of the module.
std::set< std::string > m_ignoredMaterials
Set of material names to not scale.
Base class for Modules.
Definition: Module.h:72
Abstract base class for different kinds of events.
Definition: ClusterUtils.h:24