Geant4 VMC Version 6.8
Loading...
Searching...
No Matches
TG4ScoreWeightCalculator.h
Go to the documentation of this file.
1#ifndef TG4_SCORE_WEIGHT_CALCULATOR_H
2#define TG4_SCORE_WEIGHT_CALCULATOR_H
3
4//------------------------------------------------
5// The Geant4 Virtual Monte Carlo package
6// Copyright (C) 2014 - 2018 Ivana Hrivnacova
7// All rights reserved.
8//
9// For the licensing terms see geant4_vmc/LICENSE.
10// Contact: root-vmc@cern.ch
11//-------------------------------------------------
12
17
18#include <Rtypes.h>
19
20#include <functional>
21
22using TG4ScoreWeightCalculator = std::function<Double_t(Int_t pdg, Double_t ekin)>;
23
24#endif // TG4_SCORE_WEIGHT_CALCULATOR_H
std::function< Double_t(Int_t pdg, Double_t ekin)> TG4ScoreWeightCalculator