Fork me on GitHub

Changeset 1265 in svn for trunk/readers/DelphesLHEF.cpp


Ignore:
Timestamp:
Aug 16, 2013, 4:29:25 PM (11 years ago)
Author:
Pavel Demin
Message:

read reweighting information from LHEF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/readers/DelphesLHEF.cpp

    r1130 r1265  
    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.