Changeset d870fc5 in git for doc/root_tree_html.sh
- Timestamp:
- Dec 21, 2014, 4:03:35 PM (10 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- d77b51d
- Parents:
- 7f12612 (diff), e5767b57 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/root_tree_html.sh
r7f12612 rd870fc5 9 9 10 10 awk ' 11 BEGIN { 11 BEGIN { 12 print "<!doctype html>" 12 13 print "<html>" 13 14 14 15 print "<head>" 15 16 print " <meta HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=iso-8859-1\">" 16 17 print " <meta NAME=\"keywords\" CONTENT=\"root, tree, ntuple, format, description\">" 17 18 print " <title>root tree description</title>" 19 print " <style>" 20 print " body { font-family: sans-serif; max-width: 800px; line-height: 1.4; margin-left: auto; margin-right: auto; padding: 0em 1em 3em 1em; }" 21 print " h1 { font-weight: normal; }" 22 print " td, th { border: 1px solid #d3d3d3; padding: 0.1em 0.3em; }" 23 print " th { text-align: left; background-color: #f5f5f5; }" 24 print " tr.even td { background-color: #f5f5f5; }" 25 print " tr.class td { font-weight: bold; padding-top: 1em; }" 26 print " </style>" 18 27 print "</head>" 19 28 20 29 print "<body>" 21 22 print "<H1>root tree description</H1>"23 30 24 print "<hr>" 25 print "<H2>Classes</H2>" 26 print "<hr>" 31 print "<h1>ROOT Tree Description</h1>" 32 print "<p>Description of all classes used to store output data.</p>" 27 33 28 print "<table style=\"border: 1px dotted;\" align=\"center\" border=\"0\" cellpadding=\"7\" cellspacing=\"3\" widt=\"95%\">"29 print "<tr><t d><b>Parameter</b></td>"30 print "<t d><b>Definition</b></td>"31 print "<t d><b>How it was calculated</b></td></tr>"34 print "<table>" 35 print "<tr><th>Parameter</th>" 36 print "<th>Definition</th>" 37 print "<th>How it was calculated</th></tr>" 32 38 } 33 39 34 40 function print_line(name, comment, even, end) { 35 41 if(name != ""){ 36 if(even) print "<tr bgcolor=\"#eeeeee\">"37 else print "<tr bgcolor=\"#ffffff\">"42 if(even) print "<tr class=\"even\">" 43 else print "<tr class=\"odd\">" 38 44 print " <td>"name"</td>" 39 45 split(comment, a, "|"); … … 51 57 split($2, a, ":"); 52 58 if(a[1] == "Candidate" || a[1] == "DelphesFactory;") next; 53 print "<tr bgcolor=\"#ffffff\"><td colspan=3><hr><a name=\""a[1]"\"><H3>"a[1]"</H3><hr></td></tr>"59 print "<tr class=\"class\"><td colspan=\"3\" id=\""a[1]"\">class "a[1]"</td></tr>" 54 60 } 55 61 56 /: public [^S]/{57 if($4 == "TObject" ) next;62 /: public /{ 63 if($4 == "TObject" || $4 == "SortableObject") next; 58 64 name = sprintf("<a href=\"#%s\">%s</a>", $4, $4); 59 65 split($2, a, ":"); … … 75 81 print "</table>" 76 82 print "</body></html>" 77 }' ../classes/DelphesClasses.h >> $1 78 83 }' `dirname $0`/../classes/DelphesClasses.h > $1
Note:
See TracChangeset
for help on using the changeset viewer.