Fork me on GitHub

Changeset de6d698 in git for modules/TreeWriter.cc


Ignore:
Timestamp:
Mar 16, 2015, 4:39:51 PM (10 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
986d9d5
Parents:
666d795
Message:

added Trimming, Pruning and SoftDrop in FastJetFinder

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/TreeWriter.cc

    r666d795 rde6d698  
    533533  Double_t ecalEnergy, hcalEnergy;
    534534  const Double_t c_light = 2.99792458E8;
     535  Int_t i;
    535536
    536537  array->Sort();
     
    592593    entry->MeanSqDeltaR = candidate->MeanSqDeltaR;
    593594    entry->PTD = candidate->PTD;
    594     entry->FracPt[0] = candidate->FracPt[0];
    595     entry->FracPt[1] = candidate->FracPt[1];
    596     entry->FracPt[2] = candidate->FracPt[2];
    597     entry->FracPt[3] = candidate->FracPt[3];
    598     entry->FracPt[4] = candidate->FracPt[4];
    599    
    600     //--- N-subjettiness variables ----
    601595   
    602     entry->Tau[0] = candidate->Tau[0];
    603     entry->Tau[1] = candidate->Tau[1];
    604     entry->Tau[2] = candidate->Tau[2];
    605     entry->Tau[3] = candidate->Tau[3];
    606     entry->Tau[4] = candidate->Tau[4];
     596    //--- Sub-structure variables ----
     597   
     598    entry->NSubJetsTrimmed     = candidate->NSubJetsTrimmed;
     599    entry->NSubJetsPruned      = candidate->NSubJetsPruned;
     600    entry->NSubJetsSoftDropped = candidate->NSubJetsSoftDropped;
     601   
     602    for(i = 0; i < 5; i++)
     603    {
     604      entry->FracPt[i]        = candidate -> FracPt[i];
     605      entry->Tau[i]           = candidate -> Tau[i];
     606      entry->TrimmedP4[i]     = candidate -> TrimmedP4[i];
     607      entry->PrunedP4[i]      = candidate -> PrunedP4[i];
     608      entry->SoftDroppedP4[i] = candidate -> SoftDroppedP4[i];
     609    }
    607610   
    608611    FillParticles(candidate, &entry->Particles);
Note: See TracChangeset for help on using the changeset viewer.