Fork me on GitHub

Changeset adde560 in git for examples


Ignore:
Timestamp:
Dec 6, 2018, 2:51:37 PM (6 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
c749957, d20cefb
Parents:
a7c3c84
Message:

fixed weight issue in Example1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/Example1.C

    ra7c3c84 radde560  
    4141    // Load selected branches with data from specified event
    4242    treeReader->ReadEntry(entry);
     43
    4344   
    4445    //HepMCEvent *event = (HepMCEvent*) branchEvent -> At(0);
     
    5354
    5455      // Plot jet transverse momentum
    55       histJetPT->Fill(jet->PT, weight);
     56      histJetPT->Fill(jet->PT);
    5657
    5758      // Print jet transverse momentum
     
    6970
    7071      // Plot their invariant mass
    71       histMass->Fill(((elec1->P4()) + (elec2->P4())).M(), weight);
     72      histMass->Fill(((elec1->P4()) + (elec2->P4())).M());
    7273    }
    7374  }
Note: See TracChangeset for help on using the changeset viewer.