Hammer  1.0.0
Helicity Amplitude Module for Matrix Element Reweighting
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Hammer::RateBD1LepNu Class Reference

#include <RateBD1LepNu.hh>

+ Inheritance diagram for Hammer::RateBD1LepNu:
+ Collaboration diagram for Hammer::RateBD1LepNu:

Public Member Functions

 RateBD1LepNu ()
 
virtual ~RateBD1LepNu ()
 
- Public Member Functions inherited from Hammer::RateBase
 RateBase ()
 
 RateBase (const RateBase &other)=delete
 
RateBaseoperator= (const RateBase &other)=delete
 
 RateBase (RateBase &&other)=delete
 
RateBaseoperator= (RateBase &&other)=delete
 
virtual ~RateBase () noexcept=default
 
void init ()
 initializes the rate (defines settings associated to this rate, computes the rate tensor) More...
 
const std::string getPdgIdString ()
 returns string of pdg ids in the process More...
 
TensorgetTensor ()
 returns a reference to itself as a Tensor More...
 
const TensorgetTensor () const
 returns a reference to itself as a Tensor More...
 
const IntegrationBoundariesgetIntegrationBoundaries () const
 return the physical range of \( Q^2 \) for this process (to be used set the integration limits) More...
 
const EvaluationGridgetEvaluationPoints () const
 
void calcTensor ()
 evaluates the rate by computing the (rank N) rate tensor at different \( q^2 \) points using evalAtPSPoint on the integration points determined by Integrator and creating a rank N+1 tensor. More...
 
- Public Member Functions inherited from Hammer::ParticleData
 ParticleData ()
 default constructor More...
 
 ParticleData (const ParticleData &other)=default
 
ParticleDataoperator= (const ParticleData &other)=default
 
 ParticleData (ParticleData &&other)=default
 
ParticleDataoperator= (ParticleData &&other)=default
 
virtual ~ParticleData ()
 
virtual bool setSignatureIndex (size_t idx=0)
 select a specific signature to be the current signature More...
 
HashId id () const
 returns the unique ID of the current decay signature More...
 
HashId hadronicId () const
 returns the hadronic unique ID (parent + hadronic daughters) of the current decay signature More...
 
const std::vector< double > & masses () const
 returns the particle masses of the current decay signature More...
 
size_t numSignatures () const
 returns the number of available signatures More...
 
- Public Member Functions inherited from Hammer::SettingsConsumer
virtual void setSettingsHandler (SettingsHandler &sh)
 set link to settings repository handler. More...
 
void setSettingsHandler (const SettingsConsumer &other)
 
SettingsHandlergetSettingsHandler () const
 provide the pointer to the repository handler More...
 
WTerm setWeightTerm (WTerm group)
 
virtual void addRefs () const
 
 SettingsConsumer ()
 base constructor More...
 
 SettingsConsumer (const SettingsConsumer &)=default
 default copy constructor More...
 
SettingsConsumeroperator= (const SettingsConsumer &)=default
 
virtual ~SettingsConsumer ()
 virtual destructor More...
 

Protected Member Functions

virtual Tensor evalAtPSPoint (const std::vector< double > &point)
 evaluates the rate at a specific point in \( q^2 \) as a rank N Tensor More...
 
- Protected Member Functions inherited from Hammer::RateBase
LoggetLog () const
 logging facility More...
 
virtual void defineSettings ()
 defines new settings for this class More...
 
void addIntegrationBoundaries (const IntegrationBoundaries &boundaries)
 adds the \( q^2 \) integration limits for a specific signature to the \( q^2 \) range list. More...
 
void addTensor (Tensor &&tensor)
 adds the index labels for the amplitude tensor for a specific signature to the index labels signature list. More...
 
- Protected Member Functions inherited from Hammer::ParticleData
void addProcessSignature (PdgId parent, const std::vector< PdgId > &daughters, const std::vector< PdgId > &subDaughters={})
 adds a signature to the list by specifying the particles PDG codes. More...
 
- Protected Member Functions inherited from Hammer::SettingsConsumer
LoggetLog () const
 logging facility More...
 
void initSettings ()
 
void setPath (const std::string &path)
 provide the basic path for the settings defined by this class, as in "<path>:<setting>" More...
 
template<typename T >
void addSetting (const std::string &name, const T &defaultValue)
 template method to add a new setting More...
 
void removeSetting (const std::string &name)
 
template<typename T >
T * getSetting (const std::string &name) const
 template method to return a setting defined by this class More...
 
template<typename T >
T * getSetting (const std::string &otherPath, const std::string &name) const
 template method to return a setting defined by this class More...
 
bool isOn (const std::string &name) const
 method to check a boolean setting defined by this class More...
 
bool isOn (const std::string &otherPath, const std::string &name) const
 method to check a boolean setting by its name and path More...
 
template<typename T >
void updateVectorOfSettings (const std::vector< T > &values, const std::vector< std::string > &names, const std::string &path="", WTerm group=WTerm::COMMON)
 
template<typename T >
void updateVectorOfSettings (const std::map< std::string, T > &values, const std::string &path="", WTerm group=WTerm::COMMON)
 

Additional Inherited Members

- Protected Attributes inherited from Hammer::RateBase
Integrator _integ
 
std::vector
< IntegrationBoundaries
_PSRanges
 list of \( q^2 \) integration limits (one for each signature) More...
 
IndexType _nPoints
 number of \( q^2 \) points used for the numerical integration More...
 
std::vector< Tensor_tensorList
 list of (list of) labels for the tensor indices (one for each signature) More...
 
- Protected Attributes inherited from Hammer::ParticleData
std::vector< Signature_signatures
 the list of signatures More...
 
size_t _signatureIndex
 the index of the current signature More...
 
- Protected Attributes inherited from Hammer::SettingsConsumer
SettingsHandler_settingHandler
 pointer to the settings repository handler. More...
 
std::string _settingPath
 path of the settings defined by this class More...
 
WTerm _group
 
std::set< std::string > _ownedSettings
 

Detailed Description

Definition at line 19 of file RateBD1LepNu.hh.

Constructor & Destructor Documentation

Hammer::RateBD1LepNu::RateBD1LepNu ( )

Definition at line 26 of file RateBD1LepNu.cc.

virtual Hammer::RateBD1LepNu::~RateBD1LepNu ( )
inlinevirtual

Definition at line 24 of file RateBD1LepNu.hh.

Member Function Documentation

Tensor Hammer::RateBD1LepNu::evalAtPSPoint ( const std::vector< double > &  point)
protectedvirtual

evaluates the rate at a specific point in \( q^2 \) as a rank N Tensor

Parameters
[in]pointthe \( q^2 \) value
Returns
the rate tensor

Implements Hammer::RateBase.

Definition at line 71 of file RateBD1LepNu.cc.


The documentation for this class was generated from the following files: