Fork me on GitHub

Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/TreeWriter.cc

    r9040259 rcab38f6  
    291291    entry->ZOuter = position.Z();
    292292    entry->TOuter = position.T()*1.0E-3/c_light;
    293 
     293   
    294294    entry->Dxy = candidate->Dxy;
    295295    entry->SDxy = candidate->SDxy ;
     
    297297    entry->Yd = candidate->Yd;
    298298    entry->Zd = candidate->Zd;
    299 
     299   
    300300    const TLorentzVector &momentum = candidate->Momentum;
    301301
     
    362362
    363363    entry->T = position.T()*1.0E-3/c_light;
    364     entry->Ntimes = candidate->Ntimes;
    365364
    366365    FillParticles(candidate, &entry->Particles);
     
    404403    entry->T = position.T()*1.0E-3/c_light;
    405404
    406     // Isolation variables
    407 
    408     entry->IsolationVar = candidate->IsolationVar;
    409     entry->IsolationVarRhoCorr = candidate->IsolationVarRhoCorr ;
    410     entry->SumPtCharged = candidate->SumPtCharged ;
    411     entry->SumPtNeutral = candidate->SumPtNeutral ;
    412     entry->SumPtChargedPU = candidate->SumPtChargedPU ;
    413     entry->SumPt = candidate->SumPt ;
    414 
    415405    entry->EhadOverEem = candidate->Eem > 0.0 ? candidate->Ehad/candidate->Eem : 999.9;
    416406
     
    452442    entry->T = position.T()*1.0E-3/c_light;
    453443
    454     // Isolation variables
    455 
    456     entry->IsolationVar = candidate->IsolationVar;
    457     entry->IsolationVarRhoCorr = candidate->IsolationVarRhoCorr ;
    458     entry->SumPtCharged = candidate->SumPtCharged ;
    459     entry->SumPtNeutral = candidate->SumPtNeutral ;
    460     entry->SumPtChargedPU = candidate->SumPtChargedPU ;
    461     entry->SumPt = candidate->SumPt ;
    462 
    463 
    464444    entry->Charge = candidate->Charge;
    465445
     
    508488    entry->T = position.T()*1.0E-3/c_light;
    509489
    510     // Isolation variables
    511 
    512     entry->IsolationVar = candidate->IsolationVar;
    513     entry->IsolationVarRhoCorr = candidate->IsolationVarRhoCorr ;
    514     entry->SumPtCharged = candidate->SumPtCharged ;
    515     entry->SumPtNeutral = candidate->SumPtNeutral ;
    516     entry->SumPtChargedPU = candidate->SumPtChargedPU ;
    517     entry->SumPt = candidate->SumPt ;
    518 
    519490    entry->Charge = candidate->Charge;
    520491
     
    533504  Double_t ecalEnergy, hcalEnergy;
    534505  const Double_t c_light = 2.99792458E8;
    535   Int_t i;
    536506
    537507  array->Sort();
     
    562532    entry->Mass = momentum.M();
    563533
    564     entry->Area = candidate->Area;
    565 
    566534    entry->DeltaEta = candidate->DeltaEta;
    567535    entry->DeltaPhi = candidate->DeltaPhi;
    568536
    569537    entry->BTag = candidate->BTag;
    570 
    571     entry->BTagAlgo = candidate->BTagAlgo;
    572     entry->BTagDefault = candidate->BTagDefault;
    573     entry->BTagPhysics = candidate->BTagPhysics;
    574     entry->BTagNearest2 = candidate->BTagNearest2;
    575     entry->BTagNearest3 = candidate->BTagNearest3;
    576     entry->BTagHeaviest = candidate->BTagHeaviest;
    577     entry->BTagHighestPt = candidate->BTagHighestPt;
    578 
    579     entry->FlavorAlgo = candidate->FlavorAlgo;
    580     entry->FlavorDefault = candidate->FlavorDefault;
    581     entry->FlavorPhysics = candidate->FlavorPhysics;
    582     entry->FlavorNearest2 = candidate->FlavorNearest2;
    583     entry->FlavorNearest3 = candidate->FlavorNearest3;
    584     entry->FlavorHeaviest = candidate->FlavorHeaviest;
    585     entry->FlavorHighestPt = candidate->FlavorHighestPt;
    586 
    587538    entry->TauTag = candidate->TauTag;
    588539
     
    610561    entry->MeanSqDeltaR = candidate->MeanSqDeltaR;
    611562    entry->PTD = candidate->PTD;
    612 
    613     //--- Sub-structure variables ----
    614 
    615     entry->NSubJetsTrimmed = candidate->NSubJetsTrimmed;
    616     entry->NSubJetsPruned = candidate->NSubJetsPruned;
    617     entry->NSubJetsSoftDropped = candidate->NSubJetsSoftDropped;
    618 
    619     for(i = 0; i < 5; i++)
    620     {
    621       entry->FracPt[i] = candidate -> FracPt[i];
    622       entry->Tau[i] = candidate -> Tau[i];
    623       entry->TrimmedP4[i] = candidate -> TrimmedP4[i];
    624       entry->PrunedP4[i] = candidate -> PrunedP4[i];
    625       entry->SoftDroppedP4[i] = candidate -> SoftDroppedP4[i];
    626     }
    627 
     563    entry->FracPt[0] = candidate->FracPt[0];
     564    entry->FracPt[1] = candidate->FracPt[1];
     565    entry->FracPt[2] = candidate->FracPt[2];
     566    entry->FracPt[3] = candidate->FracPt[3];
     567    entry->FracPt[4] = candidate->FracPt[4];
     568   
     569    //--- N-subjettiness variables ----
     570   
     571    entry->Tau1 = candidate->Tau[0];
     572    entry->Tau2 = candidate->Tau[1];
     573    entry->Tau3 = candidate->Tau[2];
     574    entry->Tau4 = candidate->Tau[3];
     575    entry->Tau5 = candidate->Tau[4];
     576   
    628577    FillParticles(candidate, &entry->Particles);
    629578  }
Note: See TracChangeset for help on using the changeset viewer.