Hammer  1.0.0
Helicity Amplitude Module for Matrix Element Reweighting
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FFBLRBase.hh
Go to the documentation of this file.
1 ///
2 /// @file FFBLRBase.hh
3 /// @brief Hammer base class for BLR 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_BLR_BASE
13 #define HAMMER_FF_BLR_BASE
14 
16 
17 namespace Hammer {
18 
19  /// @brief Base class for BLR form factors
20  ///
21  /// @ingroup FormFactors
22  class FFBLRBase : public FFBLPRBase {
23 
24  public:
25  FFBLRBase();
26 
27  FFBLRBase(const FFBLRBase& other) = default;
28  FFBLRBase& operator=(const FFBLRBase& other) = delete;
29  FFBLRBase(FFBLRBase&& other) = delete;
30  FFBLRBase& operator=(FFBLRBase&& other) = delete;
31  virtual ~FFBLRBase() = 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
FFBLRBase & operator=(const FFBLRBase &other)=delete
virtual ~FFBLRBase()=default
void addRefs() const
Definition: FFBLRBase.cc:22
const std::vector< double > & masses() const
returns the particle masses of the current decay signature
Definition: ParticleData.cc:44
Base class for BLR form factors.
Definition: FFBLRBase.hh:22
virtual void evalAtPSPoint(const std::vector< double > &point, const std::vector< double > &masses={})=0
Hammer base class for BLPR form factors.
Base class for BLPR form factors.
Definition: FFBLPRBase.hh:22
virtual void defineSettings()=0
defines new settings for this class