Fork me on GitHub

Changes between Version 4 and Version 5 of WorkBook/LibraryInterface


Ignore:
Timestamp:
Jun 20, 2012, 1:06:34 PM (12 years ago)
Author:
Pavel Demin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WorkBook/LibraryInterface

    v4 v5  
    1111
    1212void ConvertEvent(ExRootFactory *factory, TObjArray *outputArray);
     13void ReadResults(ExRootAnalysis *modularDelphes);
    1314
    1415int main()
     
    9091  }
    9192}
     93
     94void ReadResults(ExRootAnalysis *modularDelphes)
     95{
     96  TObjArray *arrayJets = modularDelphes->ImportArray("FastJetFinder/jets");
     97  TIterator iteratorJets(arrayJets);
     98  ExRootCandidate *candidate;
     99
     100  iteratorJets->Reset();
     101  while((candidate = static_cast<ExRootCandidate*>(iterator->Next())))
     102  {
     103    const TLorentzVector &momentum = candidate->GetMomentum();
     104  }
     105}
    92106}}}