Fork me on GitHub

Changeset 7629cea in git


Ignore:
Timestamp:
Dec 13, 2014, 11:10:51 PM (10 years ago)
Author:
Pavel Demin <pavel.demin@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
57e1804
Parents:
0c871e5
Message:

update root tree description scripts

Location:
doc
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • doc/RootTreeDescription.html

    r0c871e5 r7629cea  
     1<!doctype html>
    12<html>
    23<head>
     
    45  <meta NAME="keywords" CONTENT="root, tree, ntuple, format, description">
    56  <title>root tree description</title>
     7  <style>
     8    body { font-family: sans-serif; max-width: 800px; line-height: 1.4; margin-left: auto; margin-right: auto; padding-left: 1em; padding-right: 1em; }
     9    h1 { font-weight: normal; }
     10    td, th { border: 1px solid #d3d3d3; padding: 0.1em 0.3em; }
     11    th { text-align: left; background-color: #f5f5f5; }
     12    tr.even td { background-color: #f5f5f5; }
     13    tr.class td { font-weight: bold; padding-top: 1em; }
     14  </style>
    615</head>
    716<body>
    8 <H1>root tree description</H1>
    9 <hr>
    10 <H2>Classes</H2>
    11 <hr>
    12 <table style="border: 1px dotted;" align="center" border="0" cellpadding="7" cellspacing="3" widt="95%">
    13 <tr><td><b>Parameter</b></td>
    14 <td><b>Definition</b></td>
    15 <td><b>How it was calculated</b></td></tr>
    16 <tr bgcolor="#ffffff"><td colspan=3><hr><a name="Event"><H3>Event</H3><hr></td></tr>
    17 <tr bgcolor="#eeeeee">
     17<h1>ROOT Tree Description</h1>
     18<p>Description of all classes used to store output data.</p>
     19<table>
     20<tr><th>Parameter</th>
     21<th>Definition</th>
     22<th>How it was calculated</th></tr>
     23<tr class="class"><td colspan="3" id="Event">class Event</td></tr>
     24<tr class="even">
    1825  <td>Number</td>
    1926  <td>event number</td>
    2027  <td></td>
    2128</tr>
    22 <tr bgcolor="#ffffff"><td colspan=3><hr><a name="LHCOEvent"><H3>LHCOEvent</H3><hr></td></tr>
    23 <tr bgcolor="#ffffff">
     29<tr class="class"><td colspan="3" id="LHCOEvent">class LHCOEvent</td></tr>
     30<tr class="odd">
    2431  <td><a href="#Event">Event</a></td>
    2532  <td>LHCOEvent inherits all Event parameters</td>
    2633  <td></td>
    2734</tr>
    28 <tr bgcolor="#eeeeee">
     35<tr class="even">
    2936  <td>Trigger</td>
    3037  <td>trigger word</td>
    3138  <td></td>
    3239</tr>
    33 <tr bgcolor="#ffffff"><td colspan=3><hr><a name="LHEFEvent"><H3>LHEFEvent</H3><hr></td></tr>
    34 <tr bgcolor="#ffffff">
     40<tr class="class"><td colspan="3" id="LHEFEvent">class LHEFEvent</td></tr>
     41<tr class="odd">
    3542  <td><a href="#Event">Event</a></td>
    3643  <td>LHEFEvent inherits all Event parameters</td>
    3744  <td></td>
    3845</tr>
    39 <tr bgcolor="#eeeeee">
     46<tr class="even">
    4047  <td>ProcessID</td>
    4148  <td>subprocess code for the event </td>
    4249  <td> hepup.IDPRUP</td>
    4350</tr>
    44 <tr bgcolor="#ffffff">
     51<tr class="odd">
    4552  <td>Weight</td>
    4653  <td>weight for the event </td>
    4754  <td> hepup.XWGTUP</td>
    4855</tr>
    49 <tr bgcolor="#eeeeee">
     56<tr class="even">
    5057  <td>ScalePDF</td>
    5158  <td>scale in GeV used in the calculation of the PDFs in the event </td>
    5259  <td> hepup.SCALUP</td>
    5360</tr>
    54 <tr bgcolor="#ffffff">
     61<tr class="odd">
    5562  <td>AlphaQED</td>
    5663  <td>value of the QED coupling used in the event </td>
    5764  <td> hepup.AQEDUP</td>
    5865</tr>
    59 <tr bgcolor="#eeeeee">
     66<tr class="even">
    6067  <td>AlphaQCD</td>
    6168  <td>value of the QCD coupling used in the event </td>
    6269  <td> hepup.AQCDUP</td>
    6370</tr>
    64 <tr bgcolor="#ffffff"><td colspan=3><hr><a name="HepMCEvent"><H3>HepMCEvent</H3><hr></td></tr>
    65 <tr bgcolor="#ffffff">
     71<tr class="class"><td colspan="3" id="HepMCEvent">class HepMCEvent</td></tr>
     72<tr class="odd">
    6673  <td><a href="#Event">Event</a></td>
    6774  <td>HepMCEvent inherits all Event parameters</td>
    6875  <td></td>
    6976</tr>
    70 <tr bgcolor="#eeeeee">
     77<tr class="even">
    7178  <td>ProcessID</td>
    7279  <td>unique signal process id </td>
    7380  <td> signal_process_id()</td>
    7481</tr>
    75 <tr bgcolor="#ffffff">
     82<tr class="odd">
    7683  <td>MPI</td>
    7784  <td>number of multi parton interactions </td>
    7885  <td> mpi ()</td>
    7986</tr>
    80 <tr bgcolor="#eeeeee">
     87<tr class="even">
    8188  <td>Weight</td>
    8289  <td>weight for the event</td>
    8390  <td></td>
    8491</tr>
    85 <tr bgcolor="#ffffff">
     92<tr class="odd">
    8693  <td>Scale</td>
    8794  <td>energy scale, see hep-ph/0109068 </td>
    8895  <td> event_scale()</td>
    8996</tr>
    90 <tr bgcolor="#eeeeee">
     97<tr class="even">
    9198  <td>AlphaQED</td>
    9299  <td>QED coupling, see hep-ph/0109068 </td>
    93100  <td> alphaQED()</td>
    94101</tr>
    95 <tr bgcolor="#ffffff">
     102<tr class="odd">
    96103  <td>AlphaQCD</td>
    97104  <td>QCD coupling, see hep-ph/0109068 </td>
    98105  <td> alphaQCD()</td>
    99106</tr>
    100 <tr bgcolor="#eeeeee">
     107<tr class="even">
    101108  <td>ID1</td>
    102109  <td>flavour code of first parton </td>
    103110  <td> pdf_info()->id1()</td>
    104111</tr>
    105 <tr bgcolor="#ffffff">
     112<tr class="odd">
    106113  <td>ID2</td>
    107114  <td>flavour code of second parton </td>
    108115  <td> pdf_info()->id2()</td>
    109116</tr>
    110 <tr bgcolor="#eeeeee">
     117<tr class="even">
    111118  <td>X1</td>
    112119  <td>fraction of beam momentum carried by first parton ("beam side") </td>
    113120  <td> pdf_info()->x1()</td>
    114121</tr>
    115 <tr bgcolor="#ffffff">
     122<tr class="odd">
    116123  <td>X2</td>
    117124  <td>fraction of beam momentum carried by second parton ("target side") </td>
    118125  <td> pdf_info()->x2()</td>
    119126</tr>
    120 <tr bgcolor="#eeeeee">
     127<tr class="even">
    121128  <td>ScalePDF</td>
    122129  <td>Q-scale used in evaluation of PDF's (in GeV) </td>
    123130  <td> pdf_info()->scalePDF()</td>
    124131</tr>
    125 <tr bgcolor="#ffffff">
     132<tr class="odd">
    126133  <td>PDF1</td>
    127134  <td>PDF (id1, x1, Q) </td>
    128135  <td> pdf_info()->pdf1()</td>
    129136</tr>
    130 <tr bgcolor="#eeeeee">
     137<tr class="even">
    131138  <td>PDF2</td>
    132139  <td>PDF (id2, x2, Q) </td>
    133140  <td> pdf_info()->pdf2()</td>
    134141</tr>
    135 <tr bgcolor="#ffffff"><td colspan=3><hr><a name="GenParticle"><H3>GenParticle</H3><hr></td></tr>
    136 <tr bgcolor="#eeeeee">
     142<tr class="class"><td colspan="3" id="GenParticle">class GenParticle</td></tr>
     143<tr class="even">
    137144  <td>PID</td>
    138145  <td>particle HEP ID number </td>
    139146  <td> hepevt.idhep[number]</td>
    140147</tr>
    141 <tr bgcolor="#ffffff">
     148<tr class="odd">
    142149  <td>Status</td>
    143150  <td>particle status </td>
    144151  <td> hepevt.isthep[number]</td>
    145152</tr>
    146 <tr bgcolor="#eeeeee">
     153<tr class="even">
    147154  <td>IsPU</td>
    148155  <td>0 or 1 for particles from pile-up interactions</td>
    149156  <td></td>
    150157</tr>
    151 <tr bgcolor="#ffffff">
     158<tr class="odd">
    152159  <td>M1</td>
    153160  <td>particle 1st mother </td>
    154161  <td> hepevt.jmohep[number][0] - 1</td>
    155162</tr>
    156 <tr bgcolor="#eeeeee">
     163<tr class="even">
    157164  <td>M2</td>
    158165  <td>particle 2nd mother </td>
    159166  <td> hepevt.jmohep[number][1] - 1</td>
    160167</tr>
    161 <tr bgcolor="#ffffff">
     168<tr class="odd">
    162169  <td>D1</td>
    163170  <td>particle 1st daughter </td>
    164171  <td> hepevt.jdahep[number][0] - 1</td>
    165172</tr>
    166 <tr bgcolor="#eeeeee">
     173<tr class="even">
    167174  <td>D2</td>
    168175  <td>particle last daughter </td>
    169176  <td> hepevt.jdahep[number][1] - 1</td>
    170177</tr>
    171 <tr bgcolor="#ffffff">
     178<tr class="odd">
    172179  <td>Charge</td>
    173180  <td>particle charge</td>
    174181  <td></td>
    175182</tr>
    176 <tr bgcolor="#eeeeee">
     183<tr class="even">
    177184  <td>Mass</td>
    178185  <td>particle mass</td>
    179186  <td></td>
    180187</tr>
    181 <tr bgcolor="#ffffff">
     188<tr class="odd">
    182189  <td>E</td>
    183190  <td>particle energy </td>
    184191  <td> hepevt.phep[number][3]</td>
    185192</tr>
    186 <tr bgcolor="#eeeeee">
     193<tr class="even">
    187194  <td>Px</td>
    188195  <td>particle momentum vector (x component) </td>
    189196  <td> hepevt.phep[number][0]</td>
    190197</tr>
    191 <tr bgcolor="#ffffff">
     198<tr class="odd">
    192199  <td>Py</td>
    193200  <td>particle momentum vector (y component) </td>
    194201  <td> hepevt.phep[number][1]</td>
    195202</tr>
    196 <tr bgcolor="#eeeeee">
     203<tr class="even">
    197204  <td>Pz</td>
    198205  <td>particle momentum vector (z component) </td>
    199206  <td> hepevt.phep[number][2]</td>
    200207</tr>
    201 <tr bgcolor="#ffffff">
     208<tr class="odd">
    202209  <td>PT</td>
    203210  <td>particle transverse momentum</td>
    204211  <td></td>
    205212</tr>
    206 <tr bgcolor="#eeeeee">
     213<tr class="even">
    207214  <td>Eta</td>
    208215  <td>particle pseudorapidity</td>
    209216  <td></td>
    210217</tr>
    211 <tr bgcolor="#ffffff">
     218<tr class="odd">
    212219  <td>Phi</td>
    213220  <td>particle azimuthal angle</td>
    214221  <td></td>
    215222</tr>
    216 <tr bgcolor="#eeeeee">
     223<tr class="even">
    217224  <td>Rapidity</td>
    218225  <td>particle rapidity</td>
    219226  <td></td>
    220227</tr>
    221 <tr bgcolor="#ffffff">
     228<tr class="odd">
    222229  <td>T</td>
    223230  <td>particle vertex position (t component) </td>
    224231  <td> hepevt.vhep[number][3]</td>
    225232</tr>
    226 <tr bgcolor="#eeeeee">
     233<tr class="even">
    227234  <td>X</td>
    228235  <td>particle vertex position (x component) </td>
    229236  <td> hepevt.vhep[number][0]</td>
    230237</tr>
    231 <tr bgcolor="#ffffff">
     238<tr class="odd">
    232239  <td>Y</td>
    233240  <td>particle vertex position (y component) </td>
    234241  <td> hepevt.vhep[number][1]</td>
    235242</tr>
    236 <tr bgcolor="#eeeeee">
     243<tr class="even">
    237244  <td>Z</td>
    238245  <td>particle vertex position (z component) </td>
    239246  <td> hepevt.vhep[number][2]</td>
    240247</tr>
    241 <tr bgcolor="#ffffff"><td colspan=3><hr><a name="Vertex"><H3>Vertex</H3><hr></td></tr>
    242 <tr bgcolor="#eeeeee">
     248<tr class="class"><td colspan="3" id="Vertex">class Vertex</td></tr>
     249<tr class="even">
    243250  <td>T</td>
    244251  <td>vertex position (t component)</td>
    245252  <td></td>
    246253</tr>
    247 <tr bgcolor="#ffffff">
     254<tr class="odd">
    248255  <td>X</td>
    249256  <td>vertex position (x component)</td>
    250257  <td></td>
    251258</tr>
    252 <tr bgcolor="#eeeeee">
     259<tr class="even">
    253260  <td>Y</td>
    254261  <td>vertex position (y component)</td>
    255262  <td></td>
    256263</tr>
    257 <tr bgcolor="#ffffff">
     264<tr class="odd">
    258265  <td>Z</td>
    259266  <td>vertex position (z component)</td>
    260267  <td></td>
    261268</tr>
    262 <tr bgcolor="#ffffff"><td colspan=3><hr><a name="MissingET"><H3>MissingET</H3><hr></td></tr>
    263 <tr bgcolor="#eeeeee">
     269<tr class="class"><td colspan="3" id="MissingET">class MissingET</td></tr>
     270<tr class="even">
    264271  <td>MET</td>
    265272  <td>mising transverse energy</td>
    266273  <td></td>
    267274</tr>
    268 <tr bgcolor="#ffffff">
     275<tr class="odd">
    269276  <td>Eta</td>
    270277  <td>mising energy pseudorapidity</td>
    271278  <td></td>
    272279</tr>
    273 <tr bgcolor="#eeeeee">
     280<tr class="even">
    274281  <td>Phi</td>
    275282  <td>mising energy azimuthal angle</td>
    276283  <td></td>
    277284</tr>
    278 <tr bgcolor="#ffffff"><td colspan=3><hr><a name="ScalarHT"><H3>ScalarHT</H3><hr></td></tr>
    279 <tr bgcolor="#eeeeee">
     285<tr class="class"><td colspan="3" id="ScalarHT">class ScalarHT</td></tr>
     286<tr class="even">
    280287  <td>HT</td>
    281288  <td>scalar sum of transverse momenta</td>
    282289  <td></td>
    283290</tr>
    284 <tr bgcolor="#ffffff"><td colspan=3><hr><a name="Rho"><H3>Rho</H3><hr></td></tr>
    285 <tr bgcolor="#eeeeee">
     291<tr class="class"><td colspan="3" id="Rho">class Rho</td></tr>
     292<tr class="even">
    286293  <td>Rho</td>
    287294  <td>rho energy density</td>
    288295  <td></td>
    289296</tr>
    290 <tr bgcolor="#ffffff">
     297<tr class="odd">
    291298  <td>Edges[2]</td>
    292299  <td>pseudorapidity range edges</td>
    293300  <td></td>
    294301</tr>
    295 <tr bgcolor="#ffffff"><td colspan=3><hr><a name="Weight"><H3>Weight</H3><hr></td></tr>
    296 <tr bgcolor="#eeeeee">
     302<tr class="class"><td colspan="3" id="Weight">class Weight</td></tr>
     303<tr class="even">
    297304  <td>Weight</td>
    298305  <td>weight for the event</td>
    299306  <td></td>
    300307</tr>
    301 <tr bgcolor="#ffffff"><td colspan=3><hr><a name="Photon"><H3>Photon</H3><hr></td></tr>
    302 <tr bgcolor="#eeeeee">
     308<tr class="class"><td colspan="3" id="Photon">class Photon</td></tr>
     309<tr class="even">
    303310  <td>PT</td>
    304311  <td>photon transverse momentum</td>
    305312  <td></td>
    306313</tr>
    307 <tr bgcolor="#ffffff">
     314<tr class="odd">
    308315  <td>Eta</td>
    309316  <td>photon pseudorapidity</td>
    310317  <td></td>
    311318</tr>
    312 <tr bgcolor="#eeeeee">
     319<tr class="even">
    313320  <td>Phi</td>
    314321  <td>photon azimuthal angle</td>
    315322  <td></td>
    316323</tr>
    317 <tr bgcolor="#ffffff">
     324<tr class="odd">
    318325  <td>E</td>
    319326  <td>photon energy</td>
    320327  <td></td>
    321328</tr>
    322 <tr bgcolor="#eeeeee">
     329<tr class="even">
    323330  <td>EhadOverEem</td>
    324331  <td>ratio of the hadronic versus electromagnetic energy deposited in the calorimeter</td>
    325332  <td></td>
    326333</tr>
    327 <tr bgcolor="#ffffff">
     334<tr class="odd">
    328335  <td>Particles</td>
    329336  <td>references to generated particles</td>
    330337  <td></td>
    331338</tr>
    332 <tr bgcolor="#ffffff"><td colspan=3><hr><a name="Electron"><H3>Electron</H3><hr></td></tr>
    333 <tr bgcolor="#eeeeee">
     339<tr class="class"><td colspan="3" id="Electron">class Electron</td></tr>
     340<tr class="even">
    334341  <td>PT</td>
    335342  <td>electron transverse momentum</td>
    336343  <td></td>
    337344</tr>
    338 <tr bgcolor="#ffffff">
     345<tr class="odd">
    339346  <td>Eta</td>
    340347  <td>electron pseudorapidity</td>
    341348  <td></td>
    342349</tr>
    343 <tr bgcolor="#eeeeee">
     350<tr class="even">
    344351  <td>Phi</td>
    345352  <td>electron azimuthal angle</td>
    346353  <td></td>
    347354</tr>
    348 <tr bgcolor="#ffffff">
     355<tr class="odd">
    349356  <td>Charge</td>
    350357  <td>electron charge</td>
    351358  <td></td>
    352359</tr>
    353 <tr bgcolor="#eeeeee">
     360<tr class="even">
    354361  <td>EhadOverEem</td>
    355362  <td>ratio of the hadronic versus electromagnetic energy deposited in the calorimeter</td>
    356363  <td></td>
    357364</tr>
    358 <tr bgcolor="#ffffff">
     365<tr class="odd">
    359366  <td>Particle</td>
    360367  <td>reference to generated particle</td>
    361368  <td></td>
    362369</tr>
    363 <tr bgcolor="#ffffff"><td colspan=3><hr><a name="Muon"><H3>Muon</H3><hr></td></tr>
    364 <tr bgcolor="#eeeeee">
     370<tr class="class"><td colspan="3" id="Muon">class Muon</td></tr>
     371<tr class="even">
    365372  <td>PT</td>
    366373  <td>muon transverse momentum</td>
    367374  <td></td>
    368375</tr>
    369 <tr bgcolor="#ffffff">
     376<tr class="odd">
    370377  <td>Eta</td>
    371378  <td>muon pseudorapidity</td>
    372379  <td></td>
    373380</tr>
    374 <tr bgcolor="#eeeeee">
     381<tr class="even">
    375382  <td>Phi</td>
    376383  <td>muon azimuthal angle</td>
    377384  <td></td>
    378385</tr>
    379 <tr bgcolor="#ffffff">
     386<tr class="odd">
    380387  <td>Charge</td>
    381388  <td>muon charge</td>
    382389  <td></td>
    383390</tr>
    384 <tr bgcolor="#eeeeee">
     391<tr class="even">
    385392  <td>Particle</td>
    386393  <td>reference to generated particle</td>
    387394  <td></td>
    388395</tr>
    389 <tr bgcolor="#ffffff"><td colspan=3><hr><a name="Jet"><H3>Jet</H3><hr></td></tr>
    390 <tr bgcolor="#eeeeee">
     396<tr class="class"><td colspan="3" id="Jet">class Jet</td></tr>
     397<tr class="even">
    391398  <td>PT</td>
    392399  <td>jet transverse momentum</td>
    393400  <td></td>
    394401</tr>
    395 <tr bgcolor="#ffffff">
     402<tr class="odd">
    396403  <td>Eta</td>
    397404  <td>jet pseudorapidity</td>
    398405  <td></td>
    399406</tr>
    400 <tr bgcolor="#eeeeee">
     407<tr class="even">
    401408  <td>Phi</td>
    402409  <td>jet azimuthal angle</td>
    403410  <td></td>
    404411</tr>
    405 <tr bgcolor="#ffffff">
     412<tr class="odd">
    406413  <td>Mass</td>
    407414  <td>jet invariant mass</td>
    408415  <td></td>
    409416</tr>
    410 <tr bgcolor="#eeeeee">
     417<tr class="even">
    411418  <td>BTag</td>
    412419  <td>0 or 1 for a jet that has been tagged as containing a heavy quark</td>
    413420  <td></td>
    414421</tr>
    415 <tr bgcolor="#ffffff">
     422<tr class="odd">
    416423  <td>TauTag</td>
    417424  <td>0 or 1 for a jet that has been tagged as a tau</td>
    418425  <td></td>
    419426</tr>
    420 <tr bgcolor="#eeeeee">
     427<tr class="even">
    421428  <td>Charge</td>
    422429  <td>tau charge</td>
    423430  <td></td>
    424431</tr>
    425 <tr bgcolor="#ffffff">
     432<tr class="odd">
    426433  <td>EhadOverEem</td>
    427434  <td>ratio of the hadronic versus electromagnetic energy deposited in the calorimeter</td>
    428435  <td></td>
    429436</tr>
    430 <tr bgcolor="#eeeeee">
     437<tr class="even">
    431438  <td>NCharged</td>
    432439  <td>number of charged constituents </td>
    433440  <td></td>
    434441</tr>
    435 <tr bgcolor="#ffffff">
     442<tr class="odd">
    436443  <td>NNeutrals</td>
    437444  <td>number of neutral constituents </td>
    438445  <td></td>
    439446</tr>
    440 <tr bgcolor="#eeeeee">
     447<tr class="even">
    441448  <td>Beta</td>
    442449  <td>(sum pt of charged pile-up constituents)/(sum pt of charged constituents) </td>
    443450  <td></td>
    444451</tr>
    445 <tr bgcolor="#ffffff">
     452<tr class="odd">
    446453  <td>BetaStar</td>
    447454  <td>(sum pt of charged constituents coming from hard interaction)/(sum pt of charged constituents) </td>
    448455  <td></td>
    449456</tr>
    450 <tr bgcolor="#eeeeee">
     457<tr class="even">
    451458  <td>MeanSqDeltaR</td>
    452459  <td>average distance (squared) between constituent and jet weighted by pt (squared) of constituent</td>
    453460  <td></td>
    454461</tr>
    455 <tr bgcolor="#ffffff">
     462<tr class="odd">
    456463  <td>PTD</td>
    457464  <td>average pt between constituent and jet weighted by pt of constituent</td>
    458465  <td></td>
    459466</tr>
    460 <tr bgcolor="#eeeeee">
     467<tr class="even">
    461468  <td>FracPt[5]</td>
    462469  <td>(sum pt of constituents within a ring 0.1*i < DeltaR < 0.1*(i+1))/(sum pt of constituents) </td>
    463470  <td></td>
    464471</tr>
    465 <tr bgcolor="#ffffff">
     472<tr class="odd">
    466473  <td>Tau1</td>
    467474  <td>1-subjettiness</td>
    468475  <td></td>
    469476</tr>
    470 <tr bgcolor="#eeeeee">
     477<tr class="even">
    471478  <td>Tau2</td>
    472479  <td>2-subjettiness</td>
    473480  <td></td>
    474481</tr>
    475 <tr bgcolor="#ffffff">
     482<tr class="odd">
    476483  <td>Tau3</td>
    477484  <td>3-subjettiness</td>
    478485  <td></td>
    479486</tr>
    480 <tr bgcolor="#eeeeee">
     487<tr class="even">
    481488  <td>Tau4</td>
    482489  <td>4-subjettiness</td>
    483490  <td></td>
    484491</tr>
    485 <tr bgcolor="#ffffff">
     492<tr class="odd">
    486493  <td>Tau5</td>
    487494  <td>5-subjettiness</td>
    488495  <td></td>
    489496</tr>
    490 <tr bgcolor="#eeeeee">
     497<tr class="even">
    491498  <td>Constituents</td>
    492499  <td>references to constituents</td>
    493500  <td></td>
    494501</tr>
    495 <tr bgcolor="#ffffff">
     502<tr class="odd">
    496503  <td>Particles</td>
    497504  <td>references to generated particles</td>
    498505  <td></td>
    499506</tr>
    500 <tr bgcolor="#ffffff"><td colspan=3><hr><a name="Track"><H3>Track</H3><hr></td></tr>
    501 <tr bgcolor="#eeeeee">
     507<tr class="class"><td colspan="3" id="Track">class Track</td></tr>
     508<tr class="even">
    502509  <td>PID</td>
    503510  <td>HEP ID number</td>
    504511  <td></td>
    505512</tr>
    506 <tr bgcolor="#ffffff">
     513<tr class="odd">
    507514  <td>Charge</td>
    508515  <td>track charge</td>
    509516  <td></td>
    510517</tr>
    511 <tr bgcolor="#eeeeee">
     518<tr class="even">
    512519  <td>PT</td>
    513520  <td>track transverse momentum</td>
    514521  <td></td>
    515522</tr>
    516 <tr bgcolor="#ffffff">
     523<tr class="odd">
    517524  <td>Eta</td>
    518525  <td>track pseudorapidity</td>
    519526  <td></td>
    520527</tr>
    521 <tr bgcolor="#eeeeee">
     528<tr class="even">
    522529  <td>Phi</td>
    523530  <td>track azimuthal angle</td>
    524531  <td></td>
    525532</tr>
    526 <tr bgcolor="#ffffff">
     533<tr class="odd">
    527534  <td>EtaOuter</td>
    528535  <td>track pseudorapidity at the tracker edge</td>
    529536  <td></td>
    530537</tr>
    531 <tr bgcolor="#eeeeee">
     538<tr class="even">
    532539  <td>PhiOuter</td>
    533540  <td>track azimuthal angle at the tracker edge</td>
    534541  <td></td>
    535542</tr>
    536 <tr bgcolor="#ffffff">
     543<tr class="odd">
    537544  <td>X</td>
    538545  <td>track vertex position (x component)</td>
    539546  <td></td>
    540547</tr>
    541 <tr bgcolor="#eeeeee">
     548<tr class="even">
    542549  <td>Y</td>
    543550  <td>track vertex position (y component)</td>
    544551  <td></td>
    545552</tr>
    546 <tr bgcolor="#ffffff">
     553<tr class="odd">
    547554  <td>Z</td>
    548555  <td>track vertex position (z component)</td>
    549556  <td></td>
    550557</tr>
    551 <tr bgcolor="#eeeeee">
     558<tr class="even">
    552559  <td>T</td>
    553560  <td>track vertex position (z component)</td>
    554561  <td></td>
    555562</tr>
    556 <tr bgcolor="#ffffff">
     563<tr class="odd">
    557564  <td>XOuter</td>
    558565  <td>track position (x component) at the tracker edge</td>
    559566  <td></td>
    560567</tr>
    561 <tr bgcolor="#eeeeee">
     568<tr class="even">
    562569  <td>YOuter</td>
    563570  <td>track position (y component) at the tracker edge</td>
    564571  <td></td>
    565572</tr>
    566 <tr bgcolor="#ffffff">
     573<tr class="odd">
    567574  <td>ZOuter</td>
    568575  <td>track position (z component) at the tracker edge</td>
    569576  <td></td>
    570577</tr>
    571 <tr bgcolor="#eeeeee">
     578<tr class="even">
    572579  <td>TOuter</td>
    573580  <td>track position (z component) at the tracker edge</td>
    574581  <td></td>
    575582</tr>
    576 <tr bgcolor="#ffffff">
     583<tr class="odd">
    577584  <td>Particle</td>
    578585  <td>reference to generated particle</td>
    579586  <td></td>
    580587</tr>
    581 <tr bgcolor="#ffffff"><td colspan=3><hr><a name="Tower"><H3>Tower</H3><hr></td></tr>
    582 <tr bgcolor="#eeeeee">
     588<tr class="class"><td colspan="3" id="Tower">class Tower</td></tr>
     589<tr class="even">
    583590  <td>ET</td>
    584591  <td>calorimeter tower transverse energy</td>
    585592  <td></td>
    586593</tr>
    587 <tr bgcolor="#ffffff">
     594<tr class="odd">
    588595  <td>Eta</td>
    589596  <td>calorimeter tower pseudorapidity</td>
    590597  <td></td>
    591598</tr>
    592 <tr bgcolor="#eeeeee">
     599<tr class="even">
    593600  <td>Phi</td>
    594601  <td>calorimeter tower azimuthal angle</td>
    595602  <td></td>
    596603</tr>
    597 <tr bgcolor="#ffffff">
     604<tr class="odd">
    598605  <td>E</td>
    599606  <td>calorimeter tower energy</td>
    600607  <td></td>
    601608</tr>
    602 <tr bgcolor="#eeeeee">
     609<tr class="even">
    603610  <td>Eem</td>
    604611  <td>calorimeter tower electromagnetic energy</td>
    605612  <td></td>
    606613</tr>
    607 <tr bgcolor="#ffffff">
     614<tr class="odd">
    608615  <td>Ehad</td>
    609616  <td>calorimeter tower hadronic energy</td>
    610617  <td></td>
    611618</tr>
    612 <tr bgcolor="#eeeeee">
     619<tr class="even">
    613620  <td>Edges[4]</td>
    614621  <td>calorimeter tower edges</td>
    615622  <td></td>
    616623</tr>
    617 <tr bgcolor="#ffffff">
     624<tr class="odd">
    618625  <td>Particles</td>
    619626  <td>references to generated particles</td>
    620627  <td></td>
    621628</tr>
    622 <tr bgcolor="#ffffff"><td colspan=3><hr><a name="HectorHit"><H3>HectorHit</H3><hr></td></tr>
    623 <tr bgcolor="#eeeeee">
     629<tr class="class"><td colspan="3" id="HectorHit">class HectorHit</td></tr>
     630<tr class="even">
    624631  <td>E</td>
    625632  <td>reconstructed energy [GeV]</td>
    626633  <td></td>
    627634</tr>
    628 <tr bgcolor="#ffffff">
     635<tr class="odd">
    629636  <td>Tx</td>
    630637  <td>angle of the momentum in the horizontal (x,z) plane [urad]</td>
    631638  <td></td>
    632639</tr>
    633 <tr bgcolor="#eeeeee">
     640<tr class="even">
    634641  <td>Ty</td>
    635642  <td>angle of the momentum in the verical (y,z) plane [urad]</td>
    636643  <td></td>
    637644</tr>
    638 <tr bgcolor="#ffffff">
     645<tr class="odd">
    639646  <td>T</td>
    640647  <td>time of flight to the detector [s]</td>
    641648  <td></td>
    642649</tr>
    643 <tr bgcolor="#eeeeee">
     650<tr class="even">
    644651  <td>X</td>
    645652  <td>horizontal distance to the beam [um]</td>
    646653  <td></td>
    647654</tr>
    648 <tr bgcolor="#ffffff">
     655<tr class="odd">
    649656  <td>Y</td>
    650657  <td>vertical distance to the beam [um]</td>
    651658  <td></td>
    652659</tr>
    653 <tr bgcolor="#eeeeee">
     660<tr class="even">
    654661  <td>S</td>
    655662  <td>distance to the interaction point [m]</td>
    656663  <td></td>
    657664</tr>
    658 <tr bgcolor="#ffffff">
     665<tr class="odd">
    659666  <td>Particle</td>
    660667  <td>reference to generated particle</td>
  • doc/root_tree_html.sh

    r0c871e5 r7629cea  
    99
    1010awk '
    11   BEGIN { 
     11  BEGIN {
     12    print "<!doctype html>"
    1213    print "<html>"
    13    
     14
    1415    print "<head>"
    1516    print "  <meta HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=iso-8859-1\">"
    1617    print "  <meta NAME=\"keywords\" CONTENT=\"root, tree, ntuple, format, description\">"
    1718    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-left: 1em; padding-right: 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>"
    1827    print "</head>"
    1928
    2029    print "<body>"
    21    
    22     print "<H1>root tree description</H1>"
    2330
    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>"
    2733
    28     print "<table style=\"border: 1px dotted;\" align=\"center\" border=\"0\" cellpadding=\"7\" cellspacing=\"3\" widt=\"95%\">"
    29     print "<tr><td><b>Parameter</b></td>"
    30     print "<td><b>Definition</b></td>"
    31     print "<td><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>"
    3238  }
    3339
    3440  function print_line(name, comment, even, end) {
    3541    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\">"
    3844      print "  <td>"name"</td>"
    3945      split(comment, a, "|");
     
    5157    split($2, a, ":");
    5258    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>"
    5460  }
    5561
    56   /: public [^S]/{
    57     if($4 == "TObject") next;
     62  /: public /{
     63    if($4 == "TObject" || $4 == "SortableObject") next;
    5864    name = sprintf("<a href=\"#%s\">%s</a>", $4, $4);
    5965    split($2, a, ":");
     
    7581    print "</table>"
    7682    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.