Fork me on GitHub

Changeset c6f9311 in git


Ignore:
Timestamp:
May 26, 2021, 5:05:11 PM (3 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
master
Children:
56af73f, ae93700
Parents:
c1780a5
Message:

fixed Example7.C

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/Example7.C

    rc1780a5 rc6f9311  
    4747   
    4848    // read lhe event weights
    49     if(branchWeight->GetEntries() > 0)
     49    for(Int_t i = 0; i < branchWeight->GetEntriesFast(); ++i)
    5050    {
    51       Weight *weight = (Weight*) branchWeight -> At(0);
     51      Weight *weight = (Weight*) branchWeight -> At(i);
    5252      Double_t lhe_weight = weight->Weight;
    5353     
Note: See TracChangeset for help on using the changeset viewer.