Fork me on GitHub

Changeset 1e8afcc in git for readers


Ignore:
Timestamp:
Jun 4, 2015, 3:30:52 PM (9 years ago)
Author:
Pavel Demin <pavel.demin@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
6ec8d18
Parents:
6f9baba
Message:

replace Rwgt with Weight in DelphesPythia8 and DelphesLHEF

Location:
readers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • readers/DelphesLHEF.cpp

    r6f9baba r1e8afcc  
    6363  TStopwatch readStopWatch, procStopWatch;
    6464  ExRootTreeWriter *treeWriter = 0;
    65   ExRootTreeBranch *branchEvent = 0, *branchRwgt = 0;
     65  ExRootTreeBranch *branchEvent = 0, *branchWeight = 0;
    6666  ExRootConfReader *confReader = 0;
    6767  Delphes *modularDelphes = 0;
     
    103103
    104104    branchEvent = treeWriter->NewBranch("Event", LHEFEvent::Class());
    105     branchRwgt = treeWriter->NewBranch("Rwgt", Weight::Class());
     105    branchWeight = treeWriter->NewBranch("Weight", Weight::Class());
    106106
    107107    confReader = new ExRootConfReader;
     
    196196
    197197            reader->AnalyzeEvent(branchEvent, eventCounter, &readStopWatch, &procStopWatch);
    198             reader->AnalyzeRwgt(branchRwgt);
     198            reader->AnalyzeWeight(branchWeight);
    199199
    200200            treeWriter->Fill();
  • readers/DelphesPythia8.cpp

    r6f9baba r1e8afcc  
    156156  ExRootTreeWriter *treeWriter = 0;
    157157  ExRootTreeBranch *branchEvent = 0;
    158   ExRootTreeBranch *branchEventLHEF = 0, *branchRwgtLHEF = 0;
     158  ExRootTreeBranch *branchEventLHEF = 0, *branchWeightLHEF = 0;
    159159  ExRootConfReader *confReader = 0;
    160160  Delphes *modularDelphes = 0;
     
    235235
    236236      branchEventLHEF = treeWriter->NewBranch("EventLHEF", LHEFEvent::Class());
    237       branchRwgtLHEF = treeWriter->NewBranch("RwgtLHEF", Weight::Class());
     237      branchWeightLHEF = treeWriter->NewBranch("WeightLHEF", LHEFWeight::Class());
    238238
    239239      allParticleOutputArrayLHEF = modularDelphes->ExportArray("allParticlesLHEF");
     
    290290      {
    291291        reader->AnalyzeEvent(branchEventLHEF, eventCounter, &readStopWatch, &procStopWatch);
    292         reader->AnalyzeRwgt(branchRwgtLHEF);
     292        reader->AnalyzeWeight(branchWeightLHEF);
    293293      }
    294294
Note: See TracChangeset for help on using the changeset viewer.