Changeset adde560 in git for examples/Example1.C
- Timestamp:
- Dec 6, 2018, 2:51:37 PM (6 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- c749957, d20cefb
- Parents:
- a7c3c84
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/Example1.C
ra7c3c84 radde560 41 41 // Load selected branches with data from specified event 42 42 treeReader->ReadEntry(entry); 43 43 44 44 45 //HepMCEvent *event = (HepMCEvent*) branchEvent -> At(0); … … 53 54 54 55 // Plot jet transverse momentum 55 histJetPT->Fill(jet->PT , weight);56 histJetPT->Fill(jet->PT); 56 57 57 58 // Print jet transverse momentum … … 69 70 70 71 // Plot their invariant mass 71 histMass->Fill(((elec1->P4()) + (elec2->P4())).M() , weight);72 histMass->Fill(((elec1->P4()) + (elec2->P4())).M()); 72 73 } 73 74 }
Note:
See TracChangeset
for help on using the changeset viewer.