Fork me on GitHub

Changeset ba75867 in git for modules/FastJetFinder.cc


Ignore:
Timestamp:
Dec 5, 2017, 8:33:08 PM (7 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
6965fe1
Parents:
5107603
Message:

add SoftDropped jets for python analysis

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/FastJetFinder.cc

    r5107603 rba75867  
    494494      candidate->NSubJetsSoftDropped = softdrop_jet.pieces().size();
    495495
     496      candidate->SoftDroppedJet = candidate->SoftDroppedP4[0];
     497
    496498      for (size_t i = 0; i < subjets.size()  and i < 4; i++)
    497499      {
    498500            if(subjets.at(i).pt() < 0) continue ;
    499501            candidate->SoftDroppedP4[i+1].SetPtEtaPhiM(subjets.at(i).pt(), subjets.at(i).eta(), subjets.at(i).phi(), subjets.at(i).m());
     502            if(i==0) candidate->SoftDroppedSubJet1 = candidate->SoftDroppedP4[i+1];
     503            if(i==1) candidate->SoftDroppedSubJet2 = candidate->SoftDroppedP4[i+1];
    500504      }
    501505    }
Note: See TracChangeset for help on using the changeset viewer.