- Timestamp:
- Jun 4, 2015, 3:30:52 PM (10 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 6ec8d18
- Parents:
- 6f9baba
- Location:
- readers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
readers/DelphesLHEF.cpp
r6f9baba r1e8afcc 63 63 TStopwatch readStopWatch, procStopWatch; 64 64 ExRootTreeWriter *treeWriter = 0; 65 ExRootTreeBranch *branchEvent = 0, *branch Rwgt = 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", LHEFEvent::Class()); 105 branch Rwgt = treeWriter->NewBranch("Rwgt", Weight::Class());105 branchWeight = treeWriter->NewBranch("Weight", Weight::Class()); 106 106 107 107 confReader = new ExRootConfReader; … … 196 196 197 197 reader->AnalyzeEvent(branchEvent, eventCounter, &readStopWatch, &procStopWatch); 198 reader->Analyze Rwgt(branchRwgt);198 reader->AnalyzeWeight(branchWeight); 199 199 200 200 treeWriter->Fill(); -
readers/DelphesPythia8.cpp
r6f9baba r1e8afcc 156 156 ExRootTreeWriter *treeWriter = 0; 157 157 ExRootTreeBranch *branchEvent = 0; 158 ExRootTreeBranch *branchEventLHEF = 0, *branch RwgtLHEF = 0;158 ExRootTreeBranch *branchEventLHEF = 0, *branchWeightLHEF = 0; 159 159 ExRootConfReader *confReader = 0; 160 160 Delphes *modularDelphes = 0; … … 235 235 236 236 branchEventLHEF = treeWriter->NewBranch("EventLHEF", LHEFEvent::Class()); 237 branch RwgtLHEF = treeWriter->NewBranch("RwgtLHEF",Weight::Class());237 branchWeightLHEF = treeWriter->NewBranch("WeightLHEF", LHEFWeight::Class()); 238 238 239 239 allParticleOutputArrayLHEF = modularDelphes->ExportArray("allParticlesLHEF"); … … 290 290 { 291 291 reader->AnalyzeEvent(branchEventLHEF, eventCounter, &readStopWatch, &procStopWatch); 292 reader->Analyze Rwgt(branchRwgtLHEF);292 reader->AnalyzeWeight(branchWeightLHEF); 293 293 } 294 294
Note:
See TracChangeset
for help on using the changeset viewer.