Hammer  1.0.0
Helicity Amplitude Module for Matrix Element Reweighting
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FFLLSWBase.hh
Go to the documentation of this file.
1 ///
2 /// @file FFLLSWBase.hh
3 /// @brief Hammer base class for LLSW form factors
4 ///
5 
6 //**** This file is a part of the HAMMER library
7 //**** Copyright (C) 2016 - 2020 The HAMMER Collaboration
8 //**** HAMMER is licensed under version 3 of the GPL; see COPYING for details
9 //**** Please note the MCnet academic guidelines; see GUIDELINES for details
10 
11 // -*- C++ -*-
12 #ifndef HAMMER_FF_LLSW_BASE
13 #define HAMMER_FF_LLSW_BASE
14 
16 
17 namespace Hammer {
18 
19  /// @brief Base class for LLSW form factors
20  ///
21  /// @ingroup FormFactors
22  class FFLLSWBase : public FFBLPRBase {
23 
24  public:
25  FFLLSWBase();
26 
27  FFLLSWBase(const FFLLSWBase& other) = default;
28  FFLLSWBase& operator=(const FFLLSWBase& other) = delete;
29  FFLLSWBase(FFLLSWBase&& other) = delete;
30  FFLLSWBase& operator=(FFLLSWBase&& other) = delete;
31  virtual ~FFLLSWBase() = default;
32 
33  /// @brief
34  /// @param[in] point
35  /// @param[in] masses
36  /// @return
37  virtual void evalAtPSPoint(const std::vector<double>& point, const std::vector<double>& masses = {}) = 0;
38 
39  /// @brief
40  virtual void defineSettings() = 0;
41 
42 
43  protected:
44  void addRefs() const;
45 
46  };
47 
48 } // namespace Hammer
49 
50 #endif
Base class for LLSW form factors.
Definition: FFLLSWBase.hh:22
void addRefs() const
Definition: FFLLSWBase.cc:22
virtual void defineSettings()=0
defines new settings for this class
const std::vector< double > & masses() const
returns the particle masses of the current decay signature
Definition: ParticleData.cc:44
FFLLSWBase & operator=(const FFLLSWBase &other)=delete
Hammer base class for BLPR form factors.
Base class for BLPR form factors.
Definition: FFBLPRBase.hh:22
virtual ~FFLLSWBase()=default
virtual void evalAtPSPoint(const std::vector< double > &point, const std::vector< double > &masses={})=0