namespace selectedanalyses

selectedanalyses

Functions

Name
deftexify(s s)
defpid_to_str(pid pid)

Attributes

Name
stringOUTNAME
Get output filename.
pybuild
listdirs
path
anadirs
listanalyses
Build analysis pages.
listpages
dictionarybib
Use list(…) ctor for 2.3 compatibility.
stringpage
safe_aname
ana
stringsubtitle
stringcitetex
listbeamstrs
stringspiresbase
s
stringname
email
code
stringurl
infos
stringprefix
Write out LaTeX.
stringbody
stringoutstr
f
Write out to TeX and BibTeX files.
stringbibentries

Functions Documentation

function texify

def texify(
    s s
)

function pid_to_str

def pid_to_str(
    pid pid
)

Attributes Documentation

variable OUTNAME

string OUTNAME =  "selectedanalyses";

Get output filename.

variable pybuild

pybuild =  os.path.abspath(os.path.join(os.getcwd(), "..", "pyext", "build"));

variable dirs

list dirs =  [];

variable path

path;

variable anadirs

anadirs =  glob.glob(os.path.join(os.getcwd(), "..", "src", "Analyses", ".libs"));

variable analyses

list analyses =  ["ALEPH_1996_S3196992",
            "DELPHI_1996_S3430090",
            "OPAL_2004_S6132243",
            "SLD_2004_S5693039",
            "CDF_2001_S4751469",
            "D0_2008_S7719523",
            "ALICE_2011_S8945144",
            "ATLAS_2012_I1094568",
            "CMS_2011_S8957746",
            "LHCB_2011_I919315",
            "LHCF_2012_I1115479",
            "TOTEM_2012_I1115294",
            "UA1_1990_S2044935",
            "UA5_1982_S875503",
            "H1_2000_S4129130",
            "STAR_2006_S6500200",
            "ARGUS_1993_S2653028",
            "BABAR_2007_S7266081",
            "BELLE_2006_S6265367",
            "CLEO_2004_S5809304",
            "JADE_1998_S3612880",
            "PDG_HADRON_MULTIPLICITIES",
            "TASSO_1990_S2148048" ];

Build analysis pages.

variable pages

list pages =  [];

variable bib

dictionary bib =  {};

Use list(…) ctor for 2.3 compatibility.

variable page

string page =  "";

variable safe_aname

safe_aname =  aname.replace(r"_", r"\_");

variable ana

ana =  rivet.AnalysisLoader.getAnalysis(aname);

variable subtitle

string subtitle =  "\\subsection{%s:\\\\ %s}\n" % (safe_aname, ana.summary());

variable citetex

string citetex =  r"\cite{%s}" % ana.bibKey();

variable beamstrs

list beamstrs =  [];

variable spiresbase

string spiresbase =  "http://inspire-hep.net/record";

variable s

s =  a;

variable name

string name =  " ".join(a.split()[:-1]);

variable email

email =  a.split()[-1].replace("<", "").replace(">", "");

variable code

code =  r.split()[0].replace("arXiv:", "");

variable url

string url =  "http://arxiv.org/abs/" + code;

variable infos

infos =  ana.runInfo().split(" * ");

variable prefix

string prefix =  """\
\\makeatletter
\\renewcommand{\\d}[1]{\\ensuremath{\\mathrm{#1}}}
\\let\\old@eta\\eta
\\renewcommand{\\eta}{\\ensuremath{\\old@eta}\\xspace}
\\let\\old@phi\\phi
\\renewcommand{\\phi}{\\ensuremath{\\old@phi}\\xspace}
\\providecommand{\\pT}{\\ensuremath{p_\\perp}\\xspace}
\\providecommand{\\pTmin}{\\ensuremath{p_\\perp^\\text{min}}\\xspace}
\\makeatother

Each Rivet release is accompanied by a standard library of analyses
implementing currently a total of 250 experimental measurements or Monte-Carlo validation
studies. The full listing of these is beyond the scope of this publication, but
it is available both online at \url{http://rivet.hepforge.org/analyses} and as
a part of the manual coming with each release of Rivet in the \kbd{doc/}
sub-directory. Here, we only want to show-case a selection of analyses spanning the full
spectrum of experiments from LEP over HERA to Tevatron and the LHC and
demonstrating the versatility of the Rivet framework.

For each of the 250 analyses, in addition to a brief summary one can find
information about
the collider at which the measurement was made, references to the original
publications, status and authors of the Rivet implementation as well as run
details necessary for comparing a Monte-Carlo prediction with the data.

{\scriptsize
""";

Write out LaTeX.

variable body

string body =  "";

variable outstr

string outstr =  prefix + body + "}\n";

variable f

f =  open("%s.tex" % OUTNAME, "w");

Write out to TeX and BibTeX files.

variable bibentries

string bibentries =  "\n\n".join(["%% %s\n%s" % (k,b) for k,b in bib.iteritems()]);

Updated on 2022-08-07 at 20:46:08 +0100