Fork me on GitHub

Changes in / [dda357d:6965fe1] in git


Ignore:
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • classes/DelphesClasses.cc

    rdda357d r6965fe1  
    175175  Tau[3] = 0.0;
    176176  Tau[4] = 0.0;
     177
     178  SoftDroppedJet.SetXYZT(0.0, 0.0, 0.0, 0.0);
     179  SoftDroppedSubJet1.SetXYZT(0.0, 0.0, 0.0, 0.0);
     180  SoftDroppedSubJet2.SetXYZT(0.0, 0.0, 0.0, 0.0);
     181
    177182  for(i = 0; i < 5; ++i)
    178183  {
     
    351356  object.NSubJetsSoftDropped = NSubJetsSoftDropped;
    352357
     358  object.SoftDroppedJet =SoftDroppedJet;
     359  object.SoftDroppedSubJet1 = SoftDroppedSubJet1;
     360  object.SoftDroppedSubJet2 = SoftDroppedSubJet2;
     361
    353362  object.fFactory = fFactory;
    354363  object.fArray = 0;
     
    457466  Tau[4] = 0.0;
    458467
     468  SoftDroppedJet.SetXYZT(0.0, 0.0, 0.0, 0.0);
     469  SoftDroppedSubJet1.SetXYZT(0.0, 0.0, 0.0, 0.0);
     470  SoftDroppedSubJet2.SetXYZT(0.0, 0.0, 0.0, 0.0);
     471
     472
    459473  for(i = 0; i < 5; ++i)
    460474  {
  • classes/DelphesClasses.h

    rdda357d r6965fe1  
    388388  Float_t Tau[5]; // N-subjettiness
    389389
     390  TLorentzVector SoftDroppedJet;
     391  TLorentzVector SoftDroppedSubJet1;
     392  TLorentzVector SoftDroppedSubJet2;
     393
    390394  TLorentzVector TrimmedP4[5]; // first entry (i = 0) is the total Trimmed Jet 4-momenta and from i = 1 to 4 are the trimmed subjets 4-momenta
    391395  TLorentzVector PrunedP4[5]; // first entry (i = 0) is the total Pruned Jet 4-momenta and from i = 1 to 4 are the pruned subjets 4-momenta
     
    625629  // Other Substructure variables
    626630
     631  TLorentzVector SoftDroppedJet;
     632  TLorentzVector SoftDroppedSubJet1;
     633  TLorentzVector SoftDroppedSubJet2;
     634
    627635  TLorentzVector TrimmedP4[5]; // first entry (i = 0) is the total Trimmed Jet 4-momenta and from i = 1 to 4 are the trimmed subjets 4-momenta
    628636  TLorentzVector PrunedP4[5]; // first entry (i = 0) is the total Pruned Jet 4-momenta and from i = 1 to 4 are the pruned subjets 4-momenta
  • modules/FastJetFinder.cc

    rdda357d r6965fe1  
    520520      candidate->NSubJetsSoftDropped = softdrop_jet.pieces().size();
    521521
     522      candidate->SoftDroppedJet = candidate->SoftDroppedP4[0];
     523
    522524      for (size_t i = 0; i < subjets.size()  and i < 4; i++)
    523525      {
    524526            if(subjets.at(i).pt() < 0) continue ;
    525527            candidate->SoftDroppedP4[i+1].SetPtEtaPhiM(subjets.at(i).pt(), subjets.at(i).eta(), subjets.at(i).phi(), subjets.at(i).m());
     528            if(i==0) candidate->SoftDroppedSubJet1 = candidate->SoftDroppedP4[i+1];
     529            if(i==1) candidate->SoftDroppedSubJet2 = candidate->SoftDroppedP4[i+1];
    526530      }
    527531    }
  • modules/TreeWriter.cc

    rdda357d r6965fe1  
    681681    entry->NSubJetsSoftDropped = candidate->NSubJetsSoftDropped;
    682682
     683    entry->SoftDroppedJet     = candidate->SoftDroppedJet ;
     684    entry->SoftDroppedSubJet1 = candidate->SoftDroppedSubJet1 ;
     685    entry->SoftDroppedSubJet2 = candidate->SoftDroppedSubJet2;
     686
     687
    683688    for(i = 0; i < 5; i++)
    684689    {
Note: See TracChangeset for help on using the changeset viewer.