Fork me on GitHub

Changeset 0dc0eeb in git for readers


Ignore:
Timestamp:
Aug 16, 2013, 4:29:25 PM (11 years ago)
Author:
pavel <pavel@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
82e07cf
Parents:
0a0a5ef
Message:

read reweighting information from LHEF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • readers/DelphesLHEF.cpp

    r0a0a5ef r0dc0eeb  
    4545  TStopwatch readStopWatch, procStopWatch;
    4646  ExRootTreeWriter *treeWriter = 0;
    47   ExRootTreeBranch *branchEvent = 0;
     47  ExRootTreeBranch *branchEvent = 0, *branchRwgt = 0;
    4848  ExRootConfReader *confReader = 0;
    4949  Delphes *modularDelphes = 0;
     
    8585
    8686    branchEvent = treeWriter->NewBranch("Event", LHEFEvent::Class());
     87    branchRwgt = treeWriter->NewBranch("Rwgt", Weight::Class());
    8788
    8889    confReader = new ExRootConfReader;
     
    177178
    178179            reader->AnalyzeEvent(branchEvent, eventCounter, &readStopWatch, &procStopWatch);
     180            reader->AnalyzeRwgt(branchRwgt);
    179181
    180182            treeWriter->Fill();
Note: See TracChangeset for help on using the changeset viewer.