-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correcting typos and adding new features: B mixing, user models funct…
…ionality
- Loading branch information
1 parent
91f7356
commit ffde0ae
Showing
13 changed files
with
1,544 additions
and
6 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
GeneratorInterface/EvtGenInterface/data/LambdaB_pmunu_LCSR.dec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# | ||
# This is the decay file for the decay LambdaB -> P+ K- | ||
# | ||
Alias MyLambda_b0 Lambda_b0 | ||
Alias Myanti-Lambda_b0 anti-Lambda_b0 | ||
ChargeConj Myanti-Lambda_b0 MyLambda_b0 | ||
# | ||
Decay MyLambda_b0 | ||
#1.000 p+ mu- anti-nu_mu PHOTOS Lb2plnuLCSR 1 1 1 1; | ||
1.000 p+ mu- anti-nu_mu Lb2plnuLCSR 1 1 1 1; | ||
Enddecay | ||
CDecay Myanti-Lambda_b0 | ||
# | ||
End |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
GeneratorInterface/EvtGenInterface/interface/EvtGenUserModels/EvtLb2plnuLCSR.hh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
//-------------------------------------------------------------------------- | ||
// | ||
// Environment: | ||
// This software is part of the EvtGen package developed jointly | ||
// for the BaBar and CLEO collaborations. If you use all or part | ||
// of it, please give an appropriate acknowledgement. | ||
// | ||
// Copyright Information: | ||
// Copyright (C) 1998 Caltech, UCSB | ||
// | ||
// Module: EvtGen/EvtLb2plnuLCSR.hh | ||
// | ||
// Description:Implementation of the Lb2plnuLCSR model | ||
// Class to handle semileptonic Lb -> p l nu decays using the using form factor predictions from Light Cone Sum Rules. | ||
// | ||
// | ||
// Modification history: | ||
// | ||
// William Sutcliffe July 27, 2013 Module created | ||
// | ||
//------------------------------------------------------------------------ | ||
|
||
#ifndef EVTLB2PMUNULCSR_HH | ||
#define EVTLB2PMUNULCSR_HH | ||
|
||
#include "EvtGenBase/EvtDecayAmp.hh" | ||
#include "EvtGenBase/EvtSemiLeptonicFF.hh" | ||
#include "GeneratorInterface/EvtGenInterface/interface/EvtGenUserModels/EvtSLBaryonAmp.hh" | ||
|
||
class EvtParticle; | ||
|
||
class EvtLb2plnuLCSR:public EvtDecayAmp { | ||
|
||
public: | ||
|
||
EvtLb2plnuLCSR(); | ||
virtual ~EvtLb2plnuLCSR(); | ||
|
||
std::string getName(); | ||
EvtDecayBase* clone(); | ||
|
||
void decay(EvtParticle *p); | ||
void initProbMax(); | ||
void init(); | ||
|
||
private: | ||
EvtSemiLeptonicFF *ffmodel; | ||
EvtSLBaryonAmp *calcamp; | ||
}; | ||
|
||
#endif | ||
|
58 changes: 58 additions & 0 deletions
58
GeneratorInterface/EvtGenInterface/interface/EvtGenUserModels/EvtLb2plnuLCSRFF.hh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
//-------------------------------------------------------------------------- | ||
// | ||
// Environment: | ||
// This software is part of the EvtGen package developed jointly | ||
// for the BaBar and CLEO collaborations. If you use all or part | ||
// of it, please give an appropriate acknowledgement. | ||
// | ||
// Copyright Information: | ||
// Copyright (C) 1998 Caltech, UCSB | ||
// | ||
// Module: EvtGen/EvtLb2plnuLCSRFF.hh | ||
// | ||
// Description: Module for computation of Lb->p form factors via LCSR | ||
// | ||
// Modification history: | ||
// | ||
// William Sutcliffe July 27, 2013 Module created | ||
// | ||
//------------------------------------------------------------------------ | ||
|
||
#ifndef EVTLB2PMUNULCSRFF_HH | ||
#define EVTLB2PMUNULCSRFF_HH | ||
|
||
#include "EvtGenBase/EvtSemiLeptonicFF.hh" | ||
|
||
class EvtId; | ||
|
||
class EvtLb2plnuLCSRFF : public EvtSemiLeptonicFF { | ||
|
||
public: | ||
|
||
void getscalarff(EvtId parent, EvtId daught, | ||
double t, double mass, double *fpf, | ||
double *f0f ); | ||
void getvectorff(EvtId parent, EvtId daught, | ||
double t, double mass, double *a1f, | ||
double *a2f, double *vf, double *a0f ); | ||
void gettensorff(EvtId parent, EvtId daught, | ||
double t, double mass, double *hf, | ||
double *kf, double *bpf, double *bmf ); | ||
|
||
void getbaryonff(EvtId, EvtId, double, double, double*, | ||
double*, double*, double*); | ||
|
||
void getdiracff( EvtId parent, EvtId daught, | ||
double q2, double mass, | ||
double *f1, double *f2, double *f3, | ||
double *g1, double *g2, double *g3 ); | ||
|
||
void getraritaff( EvtId parent, EvtId daught, | ||
double q2, double mass, | ||
double *f1, double *f2, double *f3, double *f4, | ||
double *g1, double *g2, double *g3, double *g4 ); | ||
}; | ||
|
||
#endif | ||
|
||
|
17 changes: 17 additions & 0 deletions
17
GeneratorInterface/EvtGenInterface/interface/EvtGenUserModels/EvtModelUserReg.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#ifndef gen_EvtModelUserReg_h | ||
#define gen_EvtModelUserReg_h | ||
|
||
#include <memory> | ||
#include "EvtGenModels/EvtModelReg.hh" | ||
/** | ||
* Provides a list of user defined decay models to EvtGen. | ||
*/ | ||
//typedef std::list<EvtDecayBase*> EvtModelList; | ||
|
||
class EvtModelUserReg | ||
{ | ||
public: | ||
std::list<EvtDecayBase*> getUserModels(); | ||
}; | ||
|
||
#endif /*EvtModelUserReg*/ |
75 changes: 75 additions & 0 deletions
75
GeneratorInterface/EvtGenInterface/interface/EvtGenUserModels/EvtSLBaryonAmp.hh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
//-------------------------------------------------------------------------- | ||
// | ||
// Environment: | ||
// This software is part of the EvtGen package developed jointly | ||
// for the BaBar and CLEO collaborations. If you use all or part | ||
// of it, please give an appropriate acknowledgement. | ||
// | ||
// Copyright Information: See EvtGen/COPYRIGHT | ||
// Copyright (C) 1998 Caltech, UCSB | ||
// | ||
// Module: EvtGen/EvtSLBaryonAmp.hh | ||
// | ||
// Description: | ||
// | ||
// Modification history: | ||
// | ||
// Lange Oct 20, 2004 Created | ||
// | ||
//------------------------------------------------------------------------ | ||
|
||
#ifndef EVTSLBARYONAMP_HH | ||
#define EVTSLBARYONAMP_HH | ||
|
||
#include "EvtGenBase/EvtSemiLeptonicAmp.hh" | ||
|
||
class EvtParticle; | ||
class EvtAmp; | ||
class EvtSemiLeptonicFF; | ||
|
||
class EvtVector4C; | ||
class EvtVector4R; | ||
class EvtDiracSpinor; | ||
class EvtRaritaSchwinger; | ||
|
||
class EvtSLBaryonAmp:public EvtSemiLeptonicAmp { | ||
|
||
public: | ||
|
||
virtual ~EvtSLBaryonAmp(); | ||
|
||
//Daughters are initialized and have been added to the parent. | ||
//No need to carry around the daughters seperately! | ||
void CalcAmp( EvtParticle *parent,EvtAmp& amp, | ||
EvtSemiLeptonicFF *FormFactors ); | ||
|
||
void CalcAmp( EvtParticle *parent, EvtAmp& amp, | ||
EvtSemiLeptonicFF *FormFactors, | ||
EvtComplex r00, EvtComplex r01, | ||
EvtComplex r10, EvtComplex r11 ); | ||
|
||
double CalcMaxProb( EvtId parent, EvtId meson, EvtId lepton, | ||
EvtId nudaug, EvtSemiLeptonicFF *FormFactors, | ||
EvtComplex r00, EvtComplex r01, | ||
EvtComplex r10, EvtComplex r11); | ||
|
||
|
||
private: | ||
|
||
EvtVector4C EvtBaryonVACurrent( const EvtDiracSpinor& Bf, | ||
const EvtDiracSpinor& Bi, | ||
EvtVector4R parent, | ||
EvtVector4R daught, | ||
const double *ff, int pflag); | ||
|
||
EvtVector4C EvtBaryonVARaritaCurrent( const EvtRaritaSchwinger& Bf_vect, | ||
const EvtDiracSpinor& Bi, | ||
EvtVector4R parent, | ||
EvtVector4R daught, | ||
const double *ff, int pflag); | ||
|
||
}; | ||
|
||
#endif | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.