Changeset View
Changeset View
Standalone View
Standalone View
EvtGenModels/EvtRareLbToLllFFBase.hh
/*********************************************************************** | /*********************************************************************** | ||||
* Copyright 1998-2020 CERN for the benefit of the EvtGen authors * | * Copyright 1998-2022 CERN for the benefit of the EvtGen authors * | ||||
* * | * * | ||||
* This file is part of EvtGen. * | * This file is part of EvtGen. * | ||||
* * | * * | ||||
* EvtGen is free software: you can redistribute it and/or modify * | * EvtGen is free software: you can redistribute it and/or modify * | ||||
* it under the terms of the GNU General Public License as published by * | * it under the terms of the GNU General Public License as published by * | ||||
* the Free Software Foundation, either version 3 of the License, or * | * the Free Software Foundation, either version 3 of the License, or * | ||||
* (at your option) any later version. * | * (at your option) any later version. * | ||||
* * | * * | ||||
Show All 37 Lines | class FormFactors { | ||||
double F_[4]; | double F_[4]; | ||||
double G_[4]; | double G_[4]; | ||||
double FT_[4]; | double FT_[4]; | ||||
double GT_[4]; | double GT_[4]; | ||||
}; | }; | ||||
virtual void init() = 0; | virtual void init() = 0; | ||||
virtual void getFF( EvtParticle* parent, EvtParticle* lambda, | virtual void getFF( const EvtParticle& parent, const EvtParticle& lambda, | ||||
EvtRareLbToLllFFBase::FormFactors& FF ) = 0; | EvtRareLbToLllFFBase::FormFactors& FF ) const = 0; | ||||
bool isNatural( EvtParticle* lambda ); | bool isNatural( const EvtParticle& lambda ) const; | ||||
EvtRareLbToLllFFBase(); | EvtRareLbToLllFFBase(); | ||||
virtual ~EvtRareLbToLllFFBase(){}; | virtual ~EvtRareLbToLllFFBase(){}; | ||||
protected: | protected: | ||||
double calculateVdotV( EvtParticle* parent, EvtParticle* lambda ) const; | double calculateVdotV( const EvtParticle& parent, const EvtParticle& lambda ) const; | ||||
double calculateVdotV( EvtParticle*, EvtParticle*, double qsq ) const; | double calculateVdotV( const EvtParticle&, const EvtParticle&, double qsq ) const; | ||||
EvtIdSet natural_; | EvtIdSet natural_; | ||||
}; | }; | ||||
#endif | #endif |