Fork me on GitHub

Changeset 1146 in svn for trunk/examples/DelphesProMC.cpp


Ignore:
Timestamp:
Jun 25, 2013, 5:10:52 PM (11 years ago)
Author:
Pavel Demin
Message:

fix several problems in DelphesProMC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/examples/DelphesProMC.cpp

    r1140 r1146  
    6464
    6565  element->ProcessID = mutableEvent->process_id();
    66   element->MPI = 1;
    67   element->Weight = 1.0;
     66  element->MPI = mutableEvent->mpi();
     67  element->Weight = mutableEvent->weight();
    6868  element->Scale = mutableEvent->scale();
    6969  element->AlphaQED = mutableEvent->alpha_qed();
     
    182182    treeWriter = new ExRootTreeWriter(outputFile, "Delphes");
    183183
    184     branchEvent = treeWriter->NewBranch("Event", LHEFEvent::Class());
     184    branchEvent = treeWriter->NewBranch("Event", HepMCEvent::Class());
    185185
    186186    confReader = new ExRootConfReader;
     
    237237
    238238      inputFile->close();
     239      delete inputFile;
    239240    }
    240241
Note: See TracChangeset for help on using the changeset viewer.