54 | | Non trivial information can also be plotted from the command line. Every Delphes object has a 4-vector (called P4()) member of type TLorenzVector (see here for documentation: https://root.cern.ch/doc/master/classTLorentzVector.html) |
| 54 | Non trivial information can also be plotted from the command line. |
| 55 | |
| 56 | {{{ |
| 57 | TFile *f = TFile::Open("data.root"); |
| 58 | TBrowser browser; |
| 59 | f->Get("Delphes")->Draw("Electron.PT"); |
| 60 | }}} |
| 61 | |
| 62 | Some information is not directly accessible from the browser interface but can nevertheless be access via command line. Every Delphes object has a 4-vector (called P4()) member of type TLorentzVector (see here for documentation: https://root.cern.ch/doc/master/classTLorentzVector.html) |
| 63 | |
| 64 | So for example to plot the magnitude of the 3-momenta of the jets, or the jet invariant mass: |
| 65 | |
| 66 | {{{ |
| 67 | f->Get("Delphes")->Draw("Jet.P4().P()"); |
| 68 | f->Get("Delphes")->Draw("Jet.P4().M()"); |
| 69 | }}} |
| 70 | |