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

Public Member Functions

 Sigma2qqbar2eStareStarBar ()
 
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 172 of file Sigma2qqbar2lStarlStarBar.cxx.

Constructor & Destructor Documentation

◆ Sigma2qqbar2eStareStarBar()

Pythia8::Sigma2qqbar2eStareStarBar::Sigma2qqbar2eStareStarBar ( )
inline

Definition at line 174 of file Sigma2qqbar2lStarlStarBar.cxx.

Member Function Documentation

◆ code()

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

Definition at line 143 of file Sigma2qqbar2lStarlStarBar.cxx.

143 {return codeSave;}

◆ convert2mb()

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

Definition at line 149 of file Sigma2qqbar2lStarlStarBar.cxx.

149 {return true;}

◆ convertM2()

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

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
inlinevirtualinherited

Definition at line 145 of file Sigma2qqbar2lStarlStarBar.cxx.

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

◆ id4Mass()

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

Definition at line 146 of file Sigma2qqbar2lStarlStarBar.cxx.

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

◆ inFlux()

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

Definition at line 144 of file Sigma2qqbar2lStarlStarBar.cxx.

144 {return "qqbarSame";}

◆ initProc()

void Pythia8::Sigma2qqbar2lStarlStarBar::initProc ( )
inlineinherited

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
inlinevirtualinherited

Definition at line 142 of file Sigma2qqbar2lStarlStarBar.cxx.

142 {return nameSave;}

◆ setIdColAcol()

void Pythia8::Sigma2qqbar2lStarlStarBar::setIdColAcol ( )
inlineinherited

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 ( )
inlinevirtualinherited

Definition at line 79 of file Sigma2qqbar2lStarlStarBar.cxx.

79 {return sigma;}

◆ sigmaKin()

void Pythia8::Sigma2qqbar2lStarlStarBar::sigmaKin ( )
inlineinherited

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 
)
inlineinherited

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
inherited

Definition at line 152 of file Sigma2qqbar2lStarlStarBar.cxx.

◆ idl

int Pythia8::Sigma2qqbar2lStarlStarBar::idl
inherited

Definition at line 152 of file Sigma2qqbar2lStarlStarBar.cxx.

◆ idRes

int Pythia8::Sigma2qqbar2lStarlStarBar::idRes
inherited

Definition at line 152 of file Sigma2qqbar2lStarlStarBar.cxx.

◆ Lambda

double Pythia8::Sigma2qqbar2lStarlStarBar::Lambda
inherited

Definition at line 154 of file Sigma2qqbar2lStarlStarBar.cxx.

◆ m2ResTimes4

double Pythia8::Sigma2qqbar2lStarlStarBar::m2ResTimes4
inherited

Definition at line 155 of file Sigma2qqbar2lStarlStarBar.cxx.

◆ nameSave

std::string Pythia8::Sigma2qqbar2lStarlStarBar::nameSave
inherited

Definition at line 153 of file Sigma2qqbar2lStarlStarBar.cxx.

◆ openFracNeg

double Pythia8::Sigma2qqbar2lStarlStarBar::openFracNeg
inherited

Definition at line 154 of file Sigma2qqbar2lStarlStarBar.cxx.

◆ openFracPos

double Pythia8::Sigma2qqbar2lStarlStarBar::openFracPos
inherited

Definition at line 154 of file Sigma2qqbar2lStarlStarBar.cxx.

◆ preFac

double Pythia8::Sigma2qqbar2lStarlStarBar::preFac
inherited

Definition at line 154 of file Sigma2qqbar2lStarlStarBar.cxx.

◆ sigma

double Pythia8::Sigma2qqbar2lStarlStarBar::sigma
inherited

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
Pythia8::Sigma2qqbar2lStarlStarBar::preFac
double preFac
Definition: Sigma2qqbar2lStarlStarBar.cxx:154
ReadCellNoiseFromCoolCompare.s3
s3
Definition: ReadCellNoiseFromCoolCompare.py:380
Pythia8::Sigma2qqbar2lStarlStarBar::Sigma2qqbar2lStarlStarBar
Sigma2qqbar2lStarlStarBar(int idlIn)
Definition: Sigma2qqbar2lStarlStarBar.cxx:45
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
GlobalSim::BDT::pow2
constexpr int pow2(int x)
Definition: Trigger/TrigT1/Global/GlobalSimulation/src/GlobalAlgs/Egamma1BDT/BDT.h:24