Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4MergeMode.hh File Reference
#include "globals.hh"
#include <functional>
#include <cmath>
Include dependency graph for G4MergeMode.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 G4Accumulables
 

Typedefs

template<typename T >
using G4MergeFunction = std::function< T(const T &, const T &)>
 

Enumerations

enum  G4MergeMode { G4MergeMode::kAddition, G4MergeMode::kMultiplication, G4MergeMode::kMaximum, G4MergeMode::kMinimum }
 

Functions

G4MergeMode G4Accumulables::GetMergeMode (const G4String &mergeModeName)
 
template<typename T >
G4MergeFunction< T > G4Accumulables::GetMergeFunction (G4MergeMode mergeMode)
 
template<G4bool >
G4MergeFunction< G4boolG4Accumulables::GetMergeFunction (G4MergeMode mergeMode)
 

Typedef Documentation

template<typename T >
using G4MergeFunction = std::function<T(const T&, const T&)>

Definition at line 49 of file G4MergeMode.hh.

Enumeration Type Documentation

enum G4MergeMode
strong
Enumerator
kAddition 
kMultiplication 
kMaximum 
kMinimum 

Definition at line 40 of file G4MergeMode.hh.

40  {
41  kAddition, // "Or" if boolean type
42  kMultiplication, // "And" if boolean type
43  kMaximum, // "Or" if boolean type
44  kMinimum // "And" if boolean type
45 };