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