WikiIL

PsiEtQuarksLourds (version 2005-05-10 21:52:47)

Accueil - Participants - Thématiques - Réunions - Liens

J/
", "<" ), array( "&", """, ">", "<" ), $in ); } } if (!function_exists("linkToMathImage")) { function linkToMathImage ($wgMathPath, $tex, $outputhash ) { global $wiki; return "config["ghostscript_png_ext"] ."\" alt=\"".wfEscapeHTML($tex)."\">"; } } if (!function_exists("renderMath")) { function renderMath( $tex ) { global $wiki; $mf = "math_failure"; $munk = "math_unknown_error"; $math_dir_url = $wiki->config["math_dir_url"]; $math_dir_sys = $wiki->config["math_dir_sys"]; $math_tmp_dir = $wiki->config["math_tmp_dir"]; $math_inputenc = $wiki->config["math_inputenc"]; $math_render_type = $wiki->config["math_render_type"]; /* 0 : "Toujours produire une image PNG", 1 : "HTML si tres simple, autrement PNG", 2 : "HTML si possible, autrement PNG", 3 : "Laisser le code TeX original", 4 : "Pour les navigateurs modernes" (mathml) */ if ($math_render_type == 3) return ('$ '.wfEscapeHTML($tex).' $'); $md5 = md5($tex); $md5_sql = mysql_escape_string(pack("H32", $md5)); if ($math_render_type == 0) $sql = "SELECT math_outputhash FROM ".$wiki->config["table_prefix"] ."math WHERE math_inputhash = '".$md5_sql."'"; else $sql = "SELECT math_outputhash,math_html_conservativeness,math_html FROM ".$wiki->config["table_prefix"]."math WHERE math_inputhash = '".$md5_sql."'"; $res = $wiki->Query($sql); if( $rpage = mysql_fetch_object( $res ) ) { $outputhash = unpack( "H32md5", $rpage->math_outputhash . " " ); $outputhash = $outputhash ['md5']; if( file_exists( "$math_dir_sys/$outputhash" .$wiki->config["ghostscript_png_ext"] ) ) { if (($math_render_type == 0) || ($rpage->math_html == '') || (($math_render_type == 1) && ($rpage->math_html_conservativeness != 2)) || (($math_render_type == 4) && ($rpage->math_html_conservativeness == 0))) return linkToMathImage ( $wiki->config["math_dir_url"], $tex, $outputhash ); else { return $rpage->math_html; } } } $cmd = $wiki->config["math_texvc_path"]." " .escapeshellarg($math_tmp_dir)." " .escapeshellarg($math_dir_sys)." " .escapeshellarg($tex)." ".escapeshellarg($math_inputenc); $contents = `$cmd`; if (strlen($contents) == 0) return "".$mf." (".$munk." 1): ".wfEscapeHTML($tex).""; $retval = substr ($contents, 0, 1); if (($retval == "C") || ($retval == "M") || ($retval == "L")) { if ($retval == "C") $conservativeness = 2; else if ($retval == "M") $conservativeness = 1; else $conservativeness = 0; $outdata = substr ($contents, 33); $i = strpos($outdata, "\000"); $outhtml = substr($outdata, 0, $i); $mathml = substr($outdata, $i+1); $sql_html = "'".mysql_escape_string($outhtml)."'"; $sql_mathml = "'".mysql_escape_string($mathml)."'"; } else if (($retval == "c") || ($retval == "m") || ($retval == "l")) { $outhtml = substr ($contents, 33); if ($retval == "c") $conservativeness = 2; else if ($retval == "m") $conservativeness = 1; else $conservativeness = 0; $sql_html = "'".mysql_escape_string($outhtml)."'"; $mathml = ''; $sql_mathml = 'NULL'; } else if ($retval == "X") { $outhtml = ''; $mathml = substr ($contents, 33); $sql_html = 'NULL'; $sql_mathml = "'".mysql_escape_string($mathml)."'"; $conservativeness = 0; } else if ($retval == "+") { $outhtml = ''; $mathml = ''; $sql_html = 'NULL'; $sql_mathml = 'NULL'; $conservativeness = 0; } else { if ($retval == "E") $errmsg = wfMsg( "math_lexing_error" ); else if ($retval == "S") $errmsg = wfMsg( "math_syntax_error" ); else if ($retval == "F") $errmsg = wfMsg( "math_unknown_function" ); else $errmsg = $munk." ".$retval; return "

".$mf." (".$errmsg.substr($contents, 1)."): " .wfEscapeHTML($tex)."

"; } $outmd5 = substr ($contents, 1, 32); if (!preg_match("/^[a-f0-9]{32}$/", $outmd5)) return "".$mf." (".$munk." 3): ".wfEscapeHTML($tex).""; $outmd5_sql = mysql_escape_string(pack("H32", $outmd5)); $sql = "REPLACE INTO ".$wiki->config["table_prefix"]."math VALUES ('" .$md5_sql."', '".$outmd5_sql."', ".$conservativeness.", ".$sql_html .", ".$sql_mathml.")"; $res = $wiki->Query($sql); # we don't really care if it fails if (($math_render_type == 0) || ($rpage->math_html == '') || (($math_render_type == 1) && ($conservativeness != 2)) || (($math_render_type == 4) && ($conservativeness == 0))) return linkToMathImage($wiki->config["math_dir_url"], $tex, $outmd5); else return $outhtml; } } echo renderMath($text); ?>
et quarks lourds



Journée thématique "Quarks lourds et charmonia" (vendredi 22 avril 2005)

- H. Kolanoski : Résultats de HERA-B.
- M. cacciari : Saveurs lourdes dans les collisions pp.
- S. Peigne : Mécanismes de production de quarkonia.
- M-P. Comets : Statut expérimental pour la suppression nucléaire normale + suppression (ou augmentation) et pT.
- F. Arléo : Suppression de quarkonia lourds en collisions pA.
- P-B. Gossiaux : production, suppression et (re)production de quarkonia dans les collisions AA.
- R. Granier de Cassagnac : Résultats de RHIC pour les collisions dA.

Documents


Résultats expérimentaux

NA50


NA60


PHENIX


Tevatron

HERA


Théorie


Multilogue (posez vos questions/réponses)

hasAccess("write")) { $blogpage=""; if ($this->GetParameter("local") == "yes") { $blogpage = $this->tag; } else if($this->GetParameter("page")) { $blogpage = $this->GetParameter("page"); } if($blogpage) { $prefix = "Blog".$blogpage; echo $this->ComposeLinkToPage($prefix . "-" . date("YmdHis") . "-" . $prefix, "edit", "Ajouter un billet");/* ARmod modified 20050126 */ } else if($_POST) { $dest = "edit"; if ( isset($from)) {$dest .= "&from=". $from; } header("Location: " . $this->config["base_url"] . "Blog-" . date("YmdHis") . "-" . $_POST["blogsection"] . "/" . $dest); exit; } else { echo $this->FormOpen(); echo "

Ajout d'un billet


"; echo "\n\n"; /* ARmod added 20050131 */ echo "
"; echo "Dans la rubrique : "; echo ""; echo " "; /* ARmod modified 20050126 */ echo " un billet"; echo "

\n"; /* ARmod modified 20050131 */ echo $this->FormClose(); } } else { echo "Vous n'êtes pas connecté... Impossible d'ajouter un billet!"; } ?>

GetParameter("local") == "yes") { $blogpage = $this->tag; } else if($this->GetParameter("page")) { $blogpage = $this->GetParameter("page"); } if ($blogpage) { $match = "Blog".$blogpage; } else { $match = "Blog"; } if($_GET["datespec"]) { $match .= "-".$_GET["datespec"] . "%"; } else { $match .= "-%"; } if($_GET["section"]) { $match = $match . "-" . $_GET["section"]; } $limit = 10; if (is_integer($_GET["limit"])) { $limit=$_GET["limit"]; } /* On va ensuite charger toutes les pages Wiki qui correspondent a la recherche */ $pages = $this->LoadAll("select tag, owner, body from " . $this->config["table_prefix"]."pages where latest = 'Y' and tag like '$match' order by tag desc limit $limit"); if (is_array($pages)) { /* Puis on les affiche */ foreach ($pages as $page) { /* Si le visiteur n'a pas le droit de lecture sur le billet, on ne l'affiche pas. Cela permet par exemple de preparer des billets, de les relire avant de les publier sur le site en activant le droit de lecture pour tous. */ if(! $this->hasAccess("read", $page["tag"])) { continue; } /* On commence le billet */ echo "

\n"; $vals = split('-', $page["tag"]); /* On compte le nombre de commentaire */ $comment_count = count($this->LoadComments($page["tag"])); /* Le titre du billet */ echo "

"; if ($owner = $this->GetPageOwner($page["tag"])) { print $this->Format($owner)." - "; } $answer = "&from_owner=$owner"; /* ARmod added 20050127 */ if ($blogpage) { echo BlogConvertDate($vals[1]); $answer .= "&from_date=" . $vals[1]; /* ARmod added 20050127 */ echo " - " . $this->Format("[[$blogpage]]"); $answer .= "&from_blog=" . $blogpage; /* ARmod added 20050127 */ $prefix = "Blog".$blogpage; /*ARmod added 20050131 */ $suffix = $prefix; /*ARmod added 20050131 */ /* echo " - "; ARmod deleted 20050127 */ } else { echo "" . BlogConvertDate($vals[1]) . ""; $answer .= "&from_date=" . $vals[1]; /* ARmod added 20050131 */ echo " - " . $vals[2] . ""; $answer .= "&from_blog=" . $vals[2]; /* ARmod added 20050131 */ $suffix = $vals[2]; /* ARmod added 20050131 */ $prefix = "Blog"; // echo " - "; } /* Le lien vers les commentaires */ /* ARmod deleted 14 lines 20050127 if($comment_count == 0) { echo "Aucun commentaire"; } else if($comment_count == 1) { echo "1 commentaire"; } else { echo $comment_count . " commentaires"; } echo "\n"; */ /* Est-ce que le visiteur a le droit d'editer le billet ? */ if($this->hasAccess("write", $page["tag"])) { echo " - " . $this->ComposeLinkToPage($prefix . "-" . date("YmdHis") . "-" . $suffix, "edit", "Repondre",1,$answer);/* ARmod added 20050127 */ // echo " - config["base_url"] . $page["tag"] . "/edit".$answer."\">Repondre"; /*ARmod added 20050131 */ echo " - config["base_url"] . $page["tag"] . "/edit\">Modifier"; echo " - config["base_url"] . $page["tag"] . "/deletepage\">Supprimer"; /*ARmod added 20050126 */ } echo "

"; /* Affichage du corps du billet */ echo $this->Format($page["body"]); echo "
"; } } ?>