Skip to content
Snippets Groups Projects

FIND_DECAY and FIND_MCDECAY functor

Merged Tommaso Fulghesu requested to merge tfulghes-finddecay-functor into master
3 files
+ 7
7
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -21,13 +21,13 @@
* @brief Definitions of functors related to the decay chain.
*/
namespace Functors::Decay {
template <bool MC = false>
template <int MC = 0>
struct FindDecay;
/** @brief Use the DecayFinder algorithm to get the information related to the decay chain. */
template<>
struct FindDecay<false> : public Function {
struct FindDecay<0> : public Function {
FindDecay( std::string decay_desc, std::string tool_name = "DecayFinder" )
: m_decay_desc{std::move( decay_desc )}, m_tool_name{std::move( tool_name )} {}
@@ -51,7 +51,7 @@ namespace Functors::Decay {
/** @brief Use the DecayFinder algorithm to get the information related to the decay chain. */
template<>
struct FindDecay<true> : public Function {
struct FindDecay<1> : public Function {
FindDecay( std::string decay_desc, std::string tool_name = "MCDecayFinder" )
: m_decay_desc{std::move( decay_desc )}, m_tool_name{std::move( tool_name )} {}
Loading