- Timestamp:
- Jun 21, 2016, 4:35:31 PM (9 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- b906e2b, f688c89
- Parents:
- c008923
- Location:
- modules
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/RunPUPPI.cc
rc008923 r659c7b6 3 3 #include "PUPPI/RecoObj2.hh" 4 4 #include "PUPPI/AlgoObj.hh" 5 //#include "PUPPI/puppiParticle.hh" 6 //#include "PUPPI/puppiAlgoBin.hh" 5 #include "PUPPI/PuppiContainer.hh" 6 7 #include "fastjet/PseudoJet.hh" 7 8 8 9 #include "classes/DelphesClasses.h" … … 17 18 18 19 using namespace std; 20 using namespace fastjet; 19 21 20 22 //------------------------------------------------------------------------------ … … 238 240 fPuppi->initialize(puppiInputVector); 239 241 fPuppi->puppiWeights(); 240 std::vector< fastjet::PseudoJet> puppiParticles = fPuppi->puppiParticles();242 std::vector<PseudoJet> puppiParticles = fPuppi->puppiParticles(); 241 243 242 244 // Loop on final particles 243 for (std::vector< fastjet::PseudoJet>::iterator it = puppiParticles.begin() ; it != puppiParticles.end() ; it++) {245 for (std::vector<PseudoJet>::iterator it = puppiParticles.begin() ; it != puppiParticles.end() ; it++) { 244 246 if(it->user_index() <= int(InputParticles.size())){ 245 247 candidate = static_cast<Candidate *>(InputParticles.at(it->user_index())->Clone()); -
modules/RunPUPPI.h
rc008923 r659c7b6 3 3 4 4 #include "classes/DelphesModule.h" 5 #include "PUPPI/PuppiContainer.hh"6 5 #include <vector> 7 6 8 7 class TObjArray; 9 8 class TIterator; 10 9 class PuppiContainer; 11 10 12 11 class RunPUPPI: public DelphesModule {
Note:
See TracChangeset
for help on using the changeset viewer.