- Timestamp:
- May 14, 2018, 8:46:22 AM (7 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 2886328
- Parents:
- 00382e9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
readers/DelphesHepMC.cpp
r00382e9 rd203a37 63 63 TStopwatch readStopWatch, procStopWatch; 64 64 ExRootTreeWriter *treeWriter = 0; 65 ExRootTreeBranch *branchEvent = 0 ;65 ExRootTreeBranch *branchEvent = 0, *branchWeight = 0; 66 66 ExRootConfReader *confReader = 0; 67 67 Delphes *modularDelphes = 0; … … 103 103 104 104 branchEvent = treeWriter->NewBranch("Event", HepMCEvent::Class()); 105 branchWeight = treeWriter->NewBranch("Weight", Weight::Class()); 105 106 106 107 confReader = new ExRootConfReader; … … 194 195 195 196 reader->AnalyzeEvent(branchEvent, eventCounter, &readStopWatch, &procStopWatch); 197 reader->AnalyzeWeight(branchWeight); 196 198 197 199 treeWriter->Fill();
Note:
See TracChangeset
for help on using the changeset viewer.