Hammer  1.0.0
Helicity Amplitude Module for Matrix Element Reweighting
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FFCLNBase.cc
Go to the documentation of this file.
1 ///
2 /// @file FFCLNBase.cc
3 /// @brief Hammer base class for CLN 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++ -*-
13 #include "Hammer/Particle.hh"
14 
15 using namespace std;
16 
17 namespace Hammer {
18 
19  FFCLNBase::FFCLNBase() {
20  setGroup("CLN");
21  }
22 
23  void FFCLNBase::eval(const Particle& parent, const ParticleList& daughters, const ParticleList&) {
24  // Momenta
25  const FourMomentum& pBmes = parent.momentum();
26  const FourMomentum& pDstarmes = daughters[0].momentum();
27  // const FourMomentum& pTau = daughters[2].momentum();
28 
29 
30  // kinematic objects
31  const double Mb = pBmes.mass();
32  const double Mc = pDstarmes.mass();
33  // const double Mt = pTau.mass();
34  const double Sqq = pow(Mb, 2.) + pow(Mc, 2.) - 2. * (pBmes * pDstarmes);
35 
36  evalAtPSPoint({Sqq}, {Mb, Mc});
37  }
38 
39  void FFCLNBase::addRefs() const {
40  if(!getSettingsHandler()->checkReference("Caprini:1997mu")){
41  string ref =
42  "@article{Caprini:1997mu,\n"
43  " author = \"Caprini, Irinel and Lellouch, Laurent and Neubert, Matthias\",\n"
44  " title = \"{Dispersive bounds on the shape of anti-B --> D(*) lepton anti-neutrino form-factors}\",\n"
45  " journal = \"Nucl. Phys.\",\n"
46  " volume = \"B530\",\n"
47  " year = \"1998\",\n"
48  " pages = \"153-181\",\n"
49  " doi = \"10.1016/S0550-3213(98)00350-2\",\n"
50  " eprint = \"hep-ph/9712417\",\n"
51  " archivePrefix = \"arXiv\",\n"
52  " primaryClass = \"hep-ph\",\n"
53  " reportNumber = \"CERN-TH-97-091, CPT-97-P3480\",\n"
54  " SLACcitation = \"%%CITATION = HEP-PH/9712417;%%\"\n"
55  "}\n";
56  getSettingsHandler()->addReference("Caprini:1997mu", ref);
57  }
58  }
59 
60 }
Hammer base class for CLN form factors.
double mass() const
returns the invariant mass if the invariant mass squared is negative returns
std::vector< Particle > ParticleList
Definition: Particle.fhh:20
Particle class.
Definition: Particle.hh:30
const FourMomentum & momentum() const
Definition: Particle.cc:56
Hammer particle class.
4-momentum class
Definition: FourMomentum.hh:30