ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
Pythia8::Sigma2qqbar2tauStartauBar Class Reference
Inheritance diagram for Pythia8::Sigma2qqbar2tauStartauBar:
Collaboration diagram for Pythia8::Sigma2qqbar2tauStartauBar:

Public Member Functions

 Sigma2qqbar2tauStartauBar ()
 
void initProc ()
 
virtual double sigmaHat ()
 
void sigmaKin ()
 
void setIdColAcol ()
 
double weightDecay (Event &process, int iResBeg, int iResEnd)
 
virtual std::string name () const
 
virtual int code () const
 
virtual std::string inFlux () const
 
virtual int id3Mass () const
 

Public Attributes

int idl
 
int idRes
 
int codeSave
 
std::string nameSave
 
double Lambda
 
double preFac
 
double openFracPos
 
double openFracNeg
 
double sigma
 
double m2ResTimes4
 

Detailed Description

Definition at line 182 of file Sigma2qqbar2lStarlBar.cxx.

Constructor & Destructor Documentation

◆ Sigma2qqbar2tauStartauBar()

Pythia8::Sigma2qqbar2tauStartauBar::Sigma2qqbar2tauStartauBar ( )
inline

Definition at line 184 of file Sigma2qqbar2lStarlBar.cxx.

184 : Sigma2qqbar2lStarlBar(15) {}

Member Function Documentation

◆ code()

virtual int Pythia8::Sigma2qqbar2lStarlBar::code ( ) const
inlinevirtualinherited

Definition at line 148 of file Sigma2qqbar2lStarlBar.cxx.

148 {return codeSave;}

◆ id3Mass()

virtual int Pythia8::Sigma2qqbar2lStarlBar::id3Mass ( ) const
inlinevirtualinherited

Definition at line 150 of file Sigma2qqbar2lStarlBar.cxx.

150 {return std::abs(idRes);}

◆ inFlux()

virtual std::string Pythia8::Sigma2qqbar2lStarlBar::inFlux ( ) const
inlinevirtualinherited

Definition at line 149 of file Sigma2qqbar2lStarlBar.cxx.

149 {return "qqbarSame";}

◆ initProc()

void Pythia8::Sigma2qqbar2lStarlBar::initProc ( )
inlineinherited

Definition at line 52 of file Sigma2qqbar2lStarlBar.cxx.

52  {
53 
54  // Set up process properties from the chosen lepton flavour.
55  idRes = 4000000 + idl;
56  codeSave = 4060 + idl;
57  if (idl == 11) nameSave = "q qbar -> e^*+- e^-+";
58  else if (idl == 12) nameSave = "q qbar -> nu_e^* nu_ebar";
59  else if (idl == 13) nameSave = "q qbar -> mu^*+- mu^-+";
60  else if (idl == 14) nameSave = "q qbar -> nu_mu^* nu_mubar";
61  else if (idl == 15) nameSave = "q qbar -> tau^*+- tau^-+";
62  else nameSave = "q qbar -> nu_tau^* nu_taubar";
63 
64  // Secondary open width fractions.
65  openFracPos = particleDataPtr->resOpenFrac( idRes);
66  openFracNeg = particleDataPtr->resOpenFrac(-idRes);
67 
68  // Locally stored properties and couplings.
69  Lambda = settingsPtr->parm("ExcitedFermion:Lambda");
70  preFac = (M_PI / pow4(Lambda)) * (openFracPos + openFracNeg) / 3.; // orig pythia
71  //preFac = (M_PI / pow4(Lambda)) * (openFracPos + openFracNeg) / 6.;
72 
73  }

◆ name()

virtual std::string Pythia8::Sigma2qqbar2lStarlBar::name ( ) const
inlinevirtualinherited

Definition at line 147 of file Sigma2qqbar2lStarlBar.cxx.

147 {return nameSave;}

◆ setIdColAcol()

void Pythia8::Sigma2qqbar2lStarlBar::setIdColAcol ( )
inlineinherited

Definition at line 95 of file Sigma2qqbar2lStarlBar.cxx.

95  {
96 
97  // Flavours: either lepton or antilepton may be excited.
98  if (rndmPtr->flat() * (openFracPos + openFracNeg) < openFracPos) {
99  setId( id1, id2, idRes, -idl);
100  if (id1 < 0) swapTU = true;
101  } else {
102  setId( id1, id2, -idRes, idl);
103  if (id1 > 0) swapTU = true;
104  }
105 
106  // Colour flow trivial.
107  if (id1 > 0) setColAcol( 1, 0, 0, 1, 0, 0, 0, 0);
108  else setColAcol( 0, 1, 1, 0, 0, 0, 0, 0);
109 
110  }

◆ sigmaHat()

virtual double Pythia8::Sigma2qqbar2lStarlBar::sigmaHat ( )
inlinevirtualinherited

Definition at line 77 of file Sigma2qqbar2lStarlBar.cxx.

77 {return sigma;}

◆ sigmaKin()

void Pythia8::Sigma2qqbar2lStarlBar::sigmaKin ( )
inlineinherited

Definition at line 82 of file Sigma2qqbar2lStarlBar.cxx.

82  {
83 
84  // later this gets multiplied further with sH*(1-s3/sH)
85 
86  sigma = preFac * (-uH) * (sH + tH) / sH2; // orig pythia
87  //sigma = preFac * (2. + s3/sH) *(1 - s3/sH) ;
88  //Baur sigma = preFac * ( 1 + 1./3.*(sH - s3)/(sH+s3) ) * (1 - s3/sH) * (1 + s3/sH);
89  }

◆ weightDecay()

double Pythia8::Sigma2qqbar2lStarlBar::weightDecay ( Event process,
int  iResBeg,
int  iResEnd 
)
inlineinherited

Definition at line 114 of file Sigma2qqbar2lStarlBar.cxx.

115  {
116 
117  // l* should sit in entry 5. and 6 Sequential Z/W decay assumed isotropic.
118  if (iResBeg != 5 && iResEnd != 5 && iResBeg != 6 && iResEnd != 6 ) return 1.;
119 
120  // Phase space factors.
121  double mr1 = pow2(process[7].m() / process[5].m());
122  double mr2 = pow2(process[8].m() / process[5].m());
123 
124  // Reconstruct decay angle in l* CoM frame.
125  int idAbs3 = process[7].idAbs();
126  Vec4 pLStarCom = (idAbs3 < 20) ? process[8].p() : process[7].p();
127  //Vec4 pLStarCom = (idAbs3 < 20) ? process[7].p() : process[8].p(); // orig pythia
128  pLStarCom.bstback(process[5].p());
129  double cosThe = costheta(pLStarCom, process[5].p());
130  double wt = 1.;
131 
132  // Decay, l* -> l + gamma/Z^0/W^+-).
133  int idBoson = (idAbs3 < 20) ? process[8].idAbs() : process[7].idAbs();
134  if (idBoson == 22) {
135  wt = 0.5 * (1. + cosThe);
136  } else if (idBoson == 23 || idBoson == 24) {
137  double mrB = (idAbs3 < 20) ? mr2 : mr1;
138  double kTrm = 0.5 * (mrB * (1. - cosThe));
139  wt = (1. + cosThe + kTrm) / (2 + mrB);
140  }
141 
142  // Done.
143  return wt;
144  }

Member Data Documentation

◆ codeSave

int Pythia8::Sigma2qqbar2lStarlBar::codeSave
inherited

Definition at line 156 of file Sigma2qqbar2lStarlBar.cxx.

◆ idl

int Pythia8::Sigma2qqbar2lStarlBar::idl
inherited

Definition at line 156 of file Sigma2qqbar2lStarlBar.cxx.

◆ idRes

int Pythia8::Sigma2qqbar2lStarlBar::idRes
inherited

Definition at line 156 of file Sigma2qqbar2lStarlBar.cxx.

◆ Lambda

double Pythia8::Sigma2qqbar2lStarlBar::Lambda
inherited

Definition at line 158 of file Sigma2qqbar2lStarlBar.cxx.

◆ m2ResTimes4

double Pythia8::Sigma2qqbar2lStarlBar::m2ResTimes4
inherited

Definition at line 159 of file Sigma2qqbar2lStarlBar.cxx.

◆ nameSave

std::string Pythia8::Sigma2qqbar2lStarlBar::nameSave
inherited

Definition at line 157 of file Sigma2qqbar2lStarlBar.cxx.

◆ openFracNeg

double Pythia8::Sigma2qqbar2lStarlBar::openFracNeg
inherited

Definition at line 158 of file Sigma2qqbar2lStarlBar.cxx.

◆ openFracPos

double Pythia8::Sigma2qqbar2lStarlBar::openFracPos
inherited

Definition at line 158 of file Sigma2qqbar2lStarlBar.cxx.

◆ preFac

double Pythia8::Sigma2qqbar2lStarlBar::preFac
inherited

Definition at line 158 of file Sigma2qqbar2lStarlBar.cxx.

◆ sigma

double Pythia8::Sigma2qqbar2lStarlBar::sigma
inherited

Definition at line 158 of file Sigma2qqbar2lStarlBar.cxx.


The documentation for this class was generated from the following file:
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
Pythia8::Sigma2qqbar2lStarlBar::idRes
int idRes
Definition: Sigma2qqbar2lStarlBar.cxx:156
Pythia8::Sigma2qqbar2lStarlBar::openFracNeg
double openFracNeg
Definition: Sigma2qqbar2lStarlBar.cxx:158
M_PI
#define M_PI
Definition: ActiveFraction.h:11
SUSY_SimplifiedModel_PostInclude.process
string process
Definition: SUSY_SimplifiedModel_PostInclude.py:42
Pythia8::Sigma2qqbar2lStarlBar::codeSave
int codeSave
Definition: Sigma2qqbar2lStarlBar.cxx:156
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
id2
HWIdentifier id2
Definition: LArRodBlockPhysicsV0.cxx:562
conifer::pow2
constexpr int pow2(int x)
Definition: conifer.h:24
Pythia8::Sigma2qqbar2lStarlBar::openFracPos
double openFracPos
Definition: Sigma2qqbar2lStarlBar.cxx:158
Pythia8::Sigma2qqbar2lStarlBar::Sigma2qqbar2lStarlBar
Sigma2qqbar2lStarlBar(int idlIn)
Definition: Sigma2qqbar2lStarlBar.cxx:44
Pythia8::Sigma2qqbar2lStarlBar::nameSave
std::string nameSave
Definition: Sigma2qqbar2lStarlBar.cxx:157
Pythia8::Sigma2qqbar2lStarlBar::idl
int idl
Definition: Sigma2qqbar2lStarlBar.cxx:156
Pythia8::Sigma2qqbar2lStarlBar::Lambda
double Lambda
Definition: Sigma2qqbar2lStarlBar.cxx:158
Pythia8::Sigma2qqbar2lStarlBar::preFac
double preFac
Definition: Sigma2qqbar2lStarlBar.cxx:158
Pythia8::Sigma2qqbar2lStarlBar::sigma
double sigma
Definition: Sigma2qqbar2lStarlBar.cxx:158