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

Public Member Functions

 Sigma2qqbar2lStarlStarBar (int idlIn)
 
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
 
virtual int id4Mass () const
 
virtual bool convertM2 () const
 
virtual bool convert2mb () 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 41 of file Sigma2qqbar2lStarlStarBar.cxx.

Constructor & Destructor Documentation

◆ Sigma2qqbar2lStarlStarBar()

Pythia8::Sigma2qqbar2lStarlStarBar::Sigma2qqbar2lStarlStarBar ( int  idlIn)
inline

Definition at line 45 of file Sigma2qqbar2lStarlStarBar.cxx.

45  : idl(idlIn),
46  idRes(0), codeSave(0),
47  Lambda(0.), preFac(0.), openFracPos(0.), openFracNeg(0.), sigma(0.),
48  m2ResTimes4(0.){};

Member Function Documentation

◆ code()

virtual int Pythia8::Sigma2qqbar2lStarlStarBar::code ( ) const
inlinevirtual

Definition at line 143 of file Sigma2qqbar2lStarlStarBar.cxx.

143 {return codeSave;}

◆ convert2mb()

virtual bool Pythia8::Sigma2qqbar2lStarlStarBar::convert2mb ( ) const
inlinevirtual

Definition at line 149 of file Sigma2qqbar2lStarlStarBar.cxx.

149 {return true;}

◆ convertM2()

virtual bool Pythia8::Sigma2qqbar2lStarlStarBar::convertM2 ( ) const
inlinevirtual

Definition at line 148 of file Sigma2qqbar2lStarlStarBar.cxx.

148 {return false;} //true is only suitable for resonance production pp->A->ll

◆ id3Mass()

virtual int Pythia8::Sigma2qqbar2lStarlStarBar::id3Mass ( ) const
inlinevirtual

Definition at line 145 of file Sigma2qqbar2lStarlStarBar.cxx.

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

◆ id4Mass()

virtual int Pythia8::Sigma2qqbar2lStarlStarBar::id4Mass ( ) const
inlinevirtual

Definition at line 146 of file Sigma2qqbar2lStarlStarBar.cxx.

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

◆ inFlux()

virtual std::string Pythia8::Sigma2qqbar2lStarlStarBar::inFlux ( ) const
inlinevirtual

Definition at line 144 of file Sigma2qqbar2lStarlStarBar.cxx.

144 {return "qqbarSame";}

◆ initProc()

void Pythia8::Sigma2qqbar2lStarlStarBar::initProc ( )
inline

Definition at line 52 of file Sigma2qqbar2lStarlStarBar.cxx.

52  {
53 
54  // Set up process properties from the chosen lepton flavour.
55  idRes = 4000000 + idl;
56  codeSave = 4040 + idl;
57  if (idl == 11) nameSave = "q qbar -> e^*+- e^*-+";
58  else if (idl == 12) nameSave = "q qbar -> nu_e^* nu_e^*bar";
59  else if (idl == 13) nameSave = "q qbar -> mu^*+- mu^*-+";
60  else if (idl == 14) nameSave = "q qbar -> nu_mu^* nu_mu^*bar";
61  else if (idl == 15) nameSave = "q qbar -> tau^*+- tau^*-+";
62  else nameSave = "q qbar -> nu_tau^* nu_tau^*bar";
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) / 9.;
71 
72  double mRes = particleDataPtr->m0(idRes);
73  m2ResTimes4 = mRes*mRes*4.;
74  }

◆ name()

virtual std::string Pythia8::Sigma2qqbar2lStarlStarBar::name ( ) const
inlinevirtual

Definition at line 142 of file Sigma2qqbar2lStarlStarBar.cxx.

142 {return nameSave;}

◆ setIdColAcol()

void Pythia8::Sigma2qqbar2lStarlStarBar::setIdColAcol ( )
inline

Definition at line 96 of file Sigma2qqbar2lStarlStarBar.cxx.

96  {
97 
98  // Flavours: both lepton and antilepton are excited.
99  setId( id1, id2, idRes, -idRes);
100  //if (id1 < 0) swapTU = true; // OI how is this used?
101 
102  // Colour flow trivial.
103  if (id1 > 0) setColAcol( 1, 0, 0, 1, 0, 0, 0, 0);
104  else setColAcol( 0, 1, 1, 0, 0, 0, 0, 0);
105 
106  }

◆ sigmaHat()

virtual double Pythia8::Sigma2qqbar2lStarlStarBar::sigmaHat ( )
inlinevirtual

Definition at line 79 of file Sigma2qqbar2lStarlStarBar.cxx.

79 {return sigma;}

◆ sigmaKin()

void Pythia8::Sigma2qqbar2lStarlStarBar::sigmaKin ( )
inline

Definition at line 83 of file Sigma2qqbar2lStarlStarBar.cxx.

83  {
84 
85  // use assumption that sigma is multiplied later with sH*(1-s3/sH)
86 
87  //sigma = preFac * sqrtpos( 1.- m2ResTimes4/sH );
88  sigma = preFac * sqrtpos( 1.- 4.*s3/sH );
89 
90  }

◆ weightDecay()

double Pythia8::Sigma2qqbar2lStarlStarBar::weightDecay ( Event process,
int  iResBeg,
int  iResEnd 
)
inline

Definition at line 110 of file Sigma2qqbar2lStarlStarBar.cxx.

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

Member Data Documentation

◆ codeSave

int Pythia8::Sigma2qqbar2lStarlStarBar::codeSave

Definition at line 152 of file Sigma2qqbar2lStarlStarBar.cxx.

◆ idl

int Pythia8::Sigma2qqbar2lStarlStarBar::idl

Definition at line 152 of file Sigma2qqbar2lStarlStarBar.cxx.

◆ idRes

int Pythia8::Sigma2qqbar2lStarlStarBar::idRes

Definition at line 152 of file Sigma2qqbar2lStarlStarBar.cxx.

◆ Lambda

double Pythia8::Sigma2qqbar2lStarlStarBar::Lambda

Definition at line 154 of file Sigma2qqbar2lStarlStarBar.cxx.

◆ m2ResTimes4

double Pythia8::Sigma2qqbar2lStarlStarBar::m2ResTimes4

Definition at line 155 of file Sigma2qqbar2lStarlStarBar.cxx.

◆ nameSave

std::string Pythia8::Sigma2qqbar2lStarlStarBar::nameSave

Definition at line 153 of file Sigma2qqbar2lStarlStarBar.cxx.

◆ openFracNeg

double Pythia8::Sigma2qqbar2lStarlStarBar::openFracNeg

Definition at line 154 of file Sigma2qqbar2lStarlStarBar.cxx.

◆ openFracPos

double Pythia8::Sigma2qqbar2lStarlStarBar::openFracPos

Definition at line 154 of file Sigma2qqbar2lStarlStarBar.cxx.

◆ preFac

double Pythia8::Sigma2qqbar2lStarlStarBar::preFac

Definition at line 154 of file Sigma2qqbar2lStarlStarBar.cxx.

◆ sigma

double Pythia8::Sigma2qqbar2lStarlStarBar::sigma

Definition at line 154 of file Sigma2qqbar2lStarlStarBar.cxx.


The documentation for this class was generated from the following file:
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
Pythia8::Sigma2qqbar2lStarlStarBar::openFracPos
double openFracPos
Definition: Sigma2qqbar2lStarlStarBar.cxx:154
M_PI
#define M_PI
Definition: ActiveFraction.h:11
Pythia8::Sigma2qqbar2lStarlStarBar::codeSave
int codeSave
Definition: Sigma2qqbar2lStarlStarBar.cxx:152
Pythia8::Sigma2qqbar2lStarlStarBar::sigma
double sigma
Definition: Sigma2qqbar2lStarlStarBar.cxx:154
Pythia8::Sigma2qqbar2lStarlStarBar::idl
int idl
Definition: Sigma2qqbar2lStarlStarBar.cxx:152
SUSY_SimplifiedModel_PostInclude.process
string process
Definition: SUSY_SimplifiedModel_PostInclude.py:42
Pythia8::Sigma2qqbar2lStarlStarBar::idRes
int idRes
Definition: Sigma2qqbar2lStarlStarBar.cxx:152
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::Sigma2qqbar2lStarlStarBar::preFac
double preFac
Definition: Sigma2qqbar2lStarlStarBar.cxx:154
ReadCellNoiseFromCoolCompare.s3
s3
Definition: ReadCellNoiseFromCoolCompare.py:380
Pythia8::Sigma2qqbar2lStarlStarBar::nameSave
std::string nameSave
Definition: Sigma2qqbar2lStarlStarBar.cxx:153
Pythia8::Sigma2qqbar2lStarlStarBar::Lambda
double Lambda
Definition: Sigma2qqbar2lStarlStarBar.cxx:154
Pythia8::Sigma2qqbar2lStarlStarBar::openFracNeg
double openFracNeg
Definition: Sigma2qqbar2lStarlStarBar.cxx:154
Pythia8::Sigma2qqbar2lStarlStarBar::m2ResTimes4
double m2ResTimes4
Definition: Sigma2qqbar2lStarlStarBar.cxx:155