Changeset View
Changeset View
Standalone View
Standalone View
EvtGenModels/EvtRareLbToLllFF.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 20 Lines • Show All 76 Lines • ▼ Show 20 Lines | class FormFactorSet final { | ||||
EvtRareLbToLllFF::FormFactorDependence H3; | EvtRareLbToLllFF::FormFactorDependence H3; | ||||
EvtRareLbToLllFF::FormFactorDependence H4; | EvtRareLbToLllFF::FormFactorDependence H4; | ||||
EvtRareLbToLllFF::FormFactorDependence H5; | EvtRareLbToLllFF::FormFactorDependence H5; | ||||
EvtRareLbToLllFF::FormFactorDependence H6; | EvtRareLbToLllFF::FormFactorDependence H6; | ||||
}; | }; | ||||
void init() override; | void init() override; | ||||
void getFF( EvtParticle* parent, EvtParticle* lambda, | void getFF( const EvtParticle& parent, const EvtParticle& lambda, | ||||
EvtRareLbToLllFFBase::FormFactors& FF ) override; | EvtRareLbToLllFFBase::FormFactors& FF ) const override; | ||||
private: | private: | ||||
double func( const double p, EvtRareLbToLllFF::FormFactorDependence& dep ); | double func( const double p, | ||||
const EvtRareLbToLllFF::FormFactorDependence& dep ) const; | |||||
std::array<std::unique_ptr<EvtRareLbToLllFF::FormFactorSet>, 2> FF_; | std::array<std::unique_ptr<EvtRareLbToLllFF::FormFactorSet>, 2> FF_; | ||||
std::map<int, EvtRareLbToLllFF::FormFactorSet*> FFMap_; | std::map<int, EvtRareLbToLllFF::FormFactorSet*> FFMap_; | ||||
void DiracFF( EvtParticle* parent, EvtParticle* lambda, | void DiracFF( const EvtParticle& parent, const EvtParticle& lambda, | ||||
EvtRareLbToLllFF::FormFactorSet& FFset, | const EvtRareLbToLllFF::FormFactorSet& FFset, | ||||
EvtRareLbToLllFF::FormFactors& FF ); | EvtRareLbToLllFF::FormFactors& FF ) const; | ||||
void RaritaSchwingerFF( EvtParticle* parent, EvtParticle* lambda, | void RaritaSchwingerFF( const EvtParticle& parent, const EvtParticle& lambda, | ||||
EvtRareLbToLllFF::FormFactorSet& FFset, | const EvtRareLbToLllFF::FormFactorSet& FFset, | ||||
EvtRareLbToLllFF::FormFactors& FF ); | EvtRareLbToLllFF::FormFactors& FF ) const; | ||||
}; | }; | ||||
#endif // EVTRARELBTOLLLFF_HH | #endif // EVTRARELBTOLLLFF_HH |