本文整理汇总了C++中AliGenPythia::SetThetaRange方法的典型用法代码示例。如果您正苦于以下问题:C++ AliGenPythia::SetThetaRange方法的具体用法?C++ AliGenPythia::SetThetaRange怎么用?C++ AliGenPythia::SetThetaRange使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类AliGenPythia
的用法示例。
在下文中一共展示了AliGenPythia::SetThetaRange方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: MbPythia
AliGenerator* MbPythia()
{
comment = comment.Append(" pp: Pythia low-pt");
//
// Pythia
AliGenPythia* pythia = new AliGenPythia(-1);
pythia->SetMomentumRange(0, 999999.);
pythia->SetThetaRange(0., 180.);
pythia->SetYRange(-12.,12.);
pythia->SetPtRange(0,1000.);
pythia->SetProcess(kPyMb);
pythia->SetEnergyCMS(energy);
return pythia;
}
示例2: AliGenParam
AliGenerator* JPsi7TeV()
/*{
AliGenParam *jpsi7TeV = new AliGenParam(1, AliGenMUONlib::kJpsi,"CDF pp 7");
jpsi7TeV->SetMomentumRange(0,999);
jpsi7TeV->SetPtRange(0,20.);
jpsi7TeV->SetYRange(-4.2,-2.3);
jpsi7TeV->SetPhiRange(0., 360.);
jpsi7TeV->SetCutOnChild(1);
jpsi7TeV->SetChildPhiRange(0.,360.);
jpsi7TeV->SetChildThetaRange(0.,180.);
jpsi7TeV->SetForceDecay(kDiMuon);
jpsi7TeV->SetTrackingFlag(1);
return jpsi7TeV;
}*/
{
comment = comment.Append(" pp at 7 TeV: Pythia low-pt, no heavy quarks + J/Psi from parameterisation");
AliGenCocktail * gener = new AliGenCocktail();
gener->UsePerEventRates();
// Pythia
AliGenPythia* pythia = new AliGenPythia(-1);
pythia->SetMomentumRange(0, 999999.);
pythia->SetThetaRange(0., 180.);
pythia->SetYRange(-12.,12.);
pythia->SetPtRange(0,1000.);
pythia->SetProcess(kPyMb);
pythia->SetEnergyCMS(energy);
pythia->SwitchHFOff();
// J/Psi parameterisation
// AliGenParam* jpsi = new AliGenParam(1, AliGenMUONlib::kJpsi, "CDF scaled", "Jpsi");
AliGenParam* jpsi = new AliGenParam(1, AliGenMUONlib::kJpsi,"CDF pp 7");
jpsi->SetPtRange(0.,100.);
// jpsi->SetYRange(-8., 8.);
jpsi->SetYRange(-1.5, 1.5); //this to speed up !!!
jpsi->SetPhiRange(0., 360.);
jpsi->SetForceDecay(kDiElectron); // this has to be changed to force J/psi->e+e-
//gener->AddGenerator(jpsi, "J/Psi", 8.e-4); // expected yield
gener->AddGenerator(jpsi, "J/Psi", 1.); // 1 J/psi per event
gener->AddGenerator(pythia, "Pythia", 1.);
return gener;
}
示例3: MbPythiaTuneATLAS
AliGenerator* MbPythiaTuneATLAS()
{
comment = comment.Append(" pp: Pythia low-pt");
//
// Pythia
AliGenPythia* pythia = new AliGenPythia(-1);
pythia->SetMomentumRange(0, 999999.);
pythia->SetThetaRange(0., 180.);
pythia->SetYRange(-12.,12.);
pythia->SetPtRange(0,1000.);
pythia->SetProcess(kPyMb);
pythia->SetEnergyCMS(energy);
// Tune
// C 306 ATLAS-CSC: Arthur Moraes' (new) ATLAS tune (needs CTEQ6L externally)
pythia->SetTune(306);
pythia->SetStrucFunc(kCTEQ6l);
//
return pythia;
}
示例4: AliGenPythia
AliGenerator* MbPythiaTunePerugia0()
{
comment = comment.Append(" pp: Pythia low-pt (Perugia0)");
//
// Pythia
AliGenPythia* pythia = new AliGenPythia(-1);
pythia->SetMomentumRange(0, 999999.);
pythia->SetThetaRange(0., 180.);
pythia->SetYRange(-12.,12.);
pythia->SetPtRange(0,1000.);
pythia->SetProcess(kPyMb);
pythia->SetEnergyCMS(energy);
// Tune
// 320 Perugia 0
pythia->SetTune(320);
pythia->UseNewMultipleInteractionsScenario();
//
return pythia;
}
示例5: Pythia
AliGenerator* MbPythiaTunePerugia0Jpsi()
{
comment = comment.Append("pp Cocktail: Pythia (Perugia0) + 1 Jpsi forced to dielectrons");
//Generating a cocktail
AliGenCocktail *gener = new AliGenCocktail();
gener->UsePerEventRates();
//
// Pythia
AliGenPythia* pythia = new AliGenPythia(-1);
pythia->SetMomentumRange(0, 999999.);
pythia->SetThetaRange(0., 180.);
pythia->SetYRange(-12.,12.);
pythia->SetPtRange(0,1000.);
pythia->SetProcess(kPyMb);
pythia->SetEnergyCMS(energy);
// Tune
// 320 Perugia 0
pythia->SetTune(320);
pythia->UseNewMultipleInteractionsScenario();
//
// JPsi is the second ingredient of the cocktail
//AliGenParam* jpsi = new AliGenParam(1, AliGenMUONlib::kJpsi, "CDF scaled", "Jpsi"); // 14 TeV
AliGenParam* jpsi=0x0;
if(JpsiHarderPt) jpsi = new AliGenParam(1, AliGenMUONlib::kJpsi, "CDF pp 8.8", "Jpsi"); // 8.8 TeV
else jpsi = new AliGenParam(1, AliGenMUONlib::kJpsi, "CDF pp 7", "Jpsi"); // 7 TeV
//AliGenParam* jpsi = new AliGenParam(1, AliGenMUONlib::kJpsi, "CDF pp 7", "Jpsi"); // 7 TeV
//AliGenParam* jpsi = new AliGenParam(1, AliGenMUONlib::kJpsi, "CDF pp 8.8", "Jpsi"); // 8.8 TeV
jpsi->SetPtRange(0.,999.);
jpsi->SetYRange(-1.0, 1.0);
jpsi->SetPhiRange(0.,360.);
//jpsi->SetChildYRange(-0.9,0.9); // decaying electrons should be in TRD acceptance
jpsi->SetForceDecay(kDiElectron);
jpsi->Init();
gener->AddGenerator(pythia, "Pythia", 1.); // 1 is weighting factor : Rate per event
gener->AddGenerator(jpsi,"JPsi",1);
// gener->Init();
return gener;
}
示例6: Config
//.........这里部分代码省略.........
//=========================//
AliGenPythia* gener = 0x0;
if (proc <= kBeautypp14000wmi) {
AliGenPythia *pythia = PythiaHVQ(proc);
// FeedDown option
pythia->SetFeedDownHigherFamily(kFALSE);
// Stack filling option
if(!stars) pythia->SetStackFillOpt(AliGenPythia::kParentSelection);
// Set Count mode
if(nEvts>0) pythia->SetCountMode(AliGenPythia::kCountParents);
//
// DECAYS
//
switch(decHvFl) {
case kNature:
pythia->SetForceDecay(kAll);
break;
case kHadr:
pythia->SetForceDecay(kHadronicD);
break;
case kSemiEl:
pythia->SetForceDecay(kSemiElectronic);
break;
case kSemiMu:
pythia->SetForceDecay(kSemiMuonic);
break;
}
//
// GEOM & KINE CUTS
//
pythia->SetMomentumRange(0,99999999);
pythia->SetPhiRange(0., 360.);
pythia->SetThetaRange(0,180);
switch(ycut) {
case kFull:
pythia->SetYRange(-999,999);
break;
case kBarrel:
pythia->SetYRange(-2,2);
break;
case kMuonArm:
pythia->SetYRange(1,6);
break;
}
gener = pythia;
} else if (proc == kPyMbNoHvq) {
gener = MbCocktail();
} else if (proc == kPyOmegaMinus) {
gener = PyMbTriggered(3334);
} else if (proc == kPyOmegaPlus) {
gener = PyMbTriggered(-3334);
} else if (proc <= kPyGammaBremsEMCAL) {
AliGenPythia *pythia = PythiaHard(proc);
// FeedDown option
pythia->SetFeedDownHigherFamily(kFALSE);
// Set Count mode
if(nEvts>0) pythia->SetCountMode(AliGenPythia::kCountParents);
//
// GEOM & KINE CUTS
//
pythia->SetMomentumRange(0,99999999);
// pythia->SetJetEtaRange(-1.5, 1.5);// Final state kinematic cuts
// pythia->SetJetPhiRange(0., 360.);
// pythia->SetThetaRange(45,135);