Пример #1
0
def configure(darkphoton=None):
   ROOT.gROOT.ProcessLine('#include "'+os.environ["FAIRSHIP"]+'/shipdata/ShipGlobals.h"')
   pdg = ROOT.TDatabasePDG.Instance()
   # pythia stuff not known to ROOT
   pdg.AddParticle('system','system',     0., False, 0., 0., 'XXX', 90)
   pdg.AddParticle('Pomeron','Pomeron',   0., False, 0., 0., 'Pomeron', 990)
   pdg.AddParticle('p_diffr+','p_diffr+', 0., False, 0., 0., 'XXX', 9902210)
   pdg.AddParticle('n_diffr0','n_diffr0', 0., False, 0., 0., 'XXX', 9902110)
   pdg.AddParticle('J/psi[3PJ(8)]'    ,'J/psi[3PJ(8)]'    ,3.29692,False,0.,      0.,'Meson', 9942003)
   pdg.AddParticle('J/psi[1S0(8)]'    ,'J/psi[1S0(8)]'    ,3.29692,False,0.,      0.,'Meson', 9941003)
   pdg.AddParticle('f0(980)'          ,'f0(980)'          ,1.0,    False,0.0,     0.,'Meson', 9010221)
   pdg.AddParticle('psi(3770)'        ,'psi(3770)'        ,3.77315,False,0.02720, 0, 'Meson', 30443)
   pdg.AddParticle('psi(3770)[3PJ(8)]','psi(3770)[3PJ(8)]',3.97315,False,0.0,     0, 'Meson', 9942033)
   pdg.AddParticle('J/psi[3S1(8)]'    ,'J/psi[3S1(8)]'    ,3.29692,False,0.0,     0, 'Meson', 9940003)
   pdg.AddParticle('chi_0c[3S1(8)]'    ,'chi_0c[3S1(8)]'  ,3.61475,False,0.0,     0, 'Meson', 9940011)
   pdg.AddParticle('psi(2S)[1S0(8)]'   ,'psi(2S)[1S0(8)]' ,3.88611,False,0.0,     0, 'Meson', 9941103)
   pdg.AddParticle('psi(2S)[3S1(8)]'   ,'psi(2S)[3S1(8)]' ,3.88611,False,0.0,     0, 'Meson', 9940103)
   pdg.AddParticle('psi(2S)[3PJ(8)]'   ,'psi(2S)[3PJ(8)]' ,3.88611,False,0.0,     0, 'Meson', 9942103)
   pdg.AddParticle('chi_1c[3S1(8)]'    ,'chi_1c[3S1(8)]'  ,3.71066,False,0.0,     0, 'Meson', 9940023)
   pdg.AddParticle('chi_2c[3S1(8)]'    ,'chi_2c[3S1(8)]'  ,3.75620,False,0.0,     0, 'Meson', 9940005)
   pdg.AddParticle('Upsilon[3S1(8)]'   ,'Upsilon[3S1(8)]' ,9.66030,False,0.0,     0, 'Meson', 9950003)
   atexit.register(pyExit)
   if darkphoton==0: return # will be added by pythia8_conf
   if (darkphoton):
      addDPtoROOT()
   else:
      addHNLtoROOT()
Пример #2
0
def configure(darkphoton=None):
 #ROOT.gROOT.LoadMacro("$VMCWORKDIR/gconfig/basiclibs.C")
 #ROOT.basiclibs()
 ROOT.gSystem.Load("libPythia6")
 ROOT.gSystem.Load("libpythia8")
 pdg = ROOT.TDatabasePDG.Instance()
 # pythia stuff not known to ROOT
 pdg.AddParticle('system','system', 0., False, 0., 0., 'XXX', 90)
 pdg.AddParticle('p_diffr+','p_diffr+', 0., False, 0., 0., 'XXX', 9902210)
 pdg.AddParticle('f0(980)','f0(980)', 0., False, 0.07, 0., 'f0(980)', 9010221)
 if (darkphoton):
     addDPtoROOT()
 else:
     addHNLtoROOT()
 atexit.register(pyExit)
Пример #3
0
def configure(darkphoton=None):
    ROOT.gROOT.ProcessLine('#include "' + os.environ["FAIRSHIP"] +
                           '/shipdata/ShipGlobals.h"')
    pdg = ROOT.TDatabasePDG.Instance()
    # pythia stuff not known to ROOT
    pdg.AddParticle('system', 'system', 0., False, 0., 0., 'XXX', 90)
    pdg.AddParticle('Pomeron', 'Pomeron', 0., False, 0., 0., 'Pomeron', 990)
    pdg.AddParticle('p_diffr+', 'p_diffr+', 0., False, 0., 0., 'XXX', 9902210)
    pdg.AddParticle('n_diffr0', 'n_diffr0', 0., False, 0., 0., 'XXX', 9902110)
    pdg.AddParticle('J/psi[3PJ(8)]', 'J/psi[3PJ(8)]', 3.29692, False, 0., 0.,
                    'Meson', 9942003)
    pdg.AddParticle('J/psi[1S0(8)]', 'J/psi[1S0(8)]', 3.29692, False, 0., 0.,
                    'Meson', 9941003)
    pdg.AddParticle('f0(980)', 'f0(980)', 1.0, False, 0.0, 0., 'Meson',
                    9010221)
    pdg.AddParticle('psi(3770)', 'psi(3770)', 3.77315, False, 0.02720, 0,
                    'Meson', 30443)
    pdg.AddParticle('psi(3770)[3PJ(8)]', 'psi(3770)[3PJ(8)]', 3.97315, False,
                    0.0, 0, 'Meson', 9942033)
    pdg.AddParticle('J/psi[3S1(8)]', 'J/psi[3S1(8)]', 3.29692, False, 0.0, 0,
                    'Meson', 9940003)
    pdg.AddParticle('chi_0c[3S1(8)]', 'chi_0c[3S1(8)]', 3.61475, False, 0.0, 0,
                    'Meson', 9940011)
    pdg.AddParticle('psi(2S)[1S0(8)]', 'psi(2S)[1S0(8)]', 3.88611, False, 0.0,
                    0, 'Meson', 9941103)
    pdg.AddParticle('psi(2S)[3S1(8)]', 'psi(2S)[3S1(8)]', 3.88611, False, 0.0,
                    0, 'Meson', 9940103)
    pdg.AddParticle('psi(2S)[3PJ(8)]', 'psi(2S)[3PJ(8)]', 3.88611, False, 0.0,
                    0, 'Meson', 9942103)
    pdg.AddParticle('chi_1c[3S1(8)]', 'chi_1c[3S1(8)]', 3.71066, False, 0.0, 0,
                    'Meson', 9940023)
    pdg.AddParticle('chi_2c[3S1(8)]', 'chi_2c[3S1(8)]', 3.75620, False, 0.0, 0,
                    'Meson', 9940005)
    pdg.AddParticle('Upsilon[3S1(8)]', 'Upsilon[3S1(8)]', 9.66030, False, 0.0,
                    0, 'Meson', 9950003)
    atexit.register(pyExit)
    if darkphoton == 0: return  # will be added by pythia8_conf
    if (darkphoton):
        addDPtoROOT()
    else:
        addHNLtoROOT()