Fork me on GitHub

Changeset a4b3685 in git for readers/DelphesHepMC.cpp


Ignore:
Timestamp:
May 16, 2018, 8:26:56 AM (7 years ago)
Author:
Basil Schneider <basil.schneider@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
bfe749b
Parents:
cdcceb7 (diff), 3fa0357 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge with master

File:
1 edited

Legend:

Unmodified
Added
Removed
  • readers/DelphesHepMC.cpp

    rcdcceb7 ra4b3685  
    6363  TStopwatch readStopWatch, procStopWatch;
    6464  ExRootTreeWriter *treeWriter = 0;
    65   ExRootTreeBranch *branchEvent = 0;
     65  ExRootTreeBranch *branchEvent = 0, *branchWeight = 0;
    6666  ExRootConfReader *confReader = 0;
    6767  Delphes *modularDelphes = 0;
     
    103103
    104104    branchEvent = treeWriter->NewBranch("Event", HepMCEvent::Class());
     105    branchWeight = treeWriter->NewBranch("Weight", Weight::Class());
    105106
    106107    confReader = new ExRootConfReader;
     
    194195
    195196            reader->AnalyzeEvent(branchEvent, eventCounter, &readStopWatch, &procStopWatch);
     197            reader->AnalyzeWeight(branchWeight);
    196198
    197199            treeWriter->Fill();
Note: See TracChangeset for help on using the changeset viewer.