Fork me on GitHub

Changeset 1e8afcc in git


Ignore:
Timestamp:
Jun 4, 2015, 3:30:52 PM (10 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

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • classes/DelphesLHEFReader.cc

    r6f9baba r1e8afcc  
    216216//---------------------------------------------------------------------------
    217217
    218 void DelphesLHEFReader::AnalyzeRwgt(ExRootTreeBranch *branch)
     218void DelphesLHEFReader::AnalyzeWeight(ExRootTreeBranch *branch)
    219219{
    220220  LHEFWeight *element;
  • classes/DelphesLHEFReader.h

    r6f9baba r1e8afcc  
    5959    TStopwatch *readStopWatch, TStopwatch *procStopWatch);
    6060
    61   void AnalyzeRwgt(ExRootTreeBranch *branch);
     61  void AnalyzeWeight(ExRootTreeBranch *branch);
    6262
    6363private:
  • 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.