Belle II Software  release-05-02-19
DensityScalerModule.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2019 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Martin Ritter *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 #pragma once
11 
12 #include <framework/core/Module.h>
13 #include <set>
14 
15 namespace Belle2 {
30  class DensityScalerModule : public Module {
31  public:
37  virtual void initialize() override;
38  private:
43  std::map<std::string, double> m_scaling;
45  std::set<std::string> m_ignoredMaterials;
46  };
48 }
Belle2::DensityScalerModule::m_scaling
std::map< std::string, double > m_scaling
The scale factor for each geometry component that should be scaled.
Definition: DensityScalerModule.h:51
Belle2::DensityScalerModule::m_ignoredMaterials
std::set< std::string > m_ignoredMaterials
Set of material names to not scale.
Definition: DensityScalerModule.h:53
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::DensityScalerModule::initialize
virtual void initialize() override
Set the scaling.
Belle2::DensityScalerModule::DensityScalerModule
DensityScalerModule()
Constructor: Sets the description, the properties and the parameters of the module.
Definition: DensityScalerModule.cc:21