Fork me on GitHub

Changeset 9040259 in git for modules/TreeWriter.cc


Ignore:
Timestamp:
Jun 17, 2015, 4:36:20 PM (9 years ago)
Author:
Pavel Demin <pavel.demin@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
a446115
Parents:
edf10ba
Message:

add BTaggingCMS and rename JetFlavourAssociation to JetFlavorAssociation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/TreeWriter.cc

    redf10ba r9040259  
    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;   
     364    entry->Ntimes = candidate->Ntimes;
    365365
    366366    FillParticles(candidate, &entry->Particles);
     
    405405
    406406    // Isolation variables
    407        
     407
    408408    entry->IsolationVar = candidate->IsolationVar;
    409409    entry->IsolationVarRhoCorr = candidate->IsolationVarRhoCorr ;
     
    453453
    454454    // Isolation variables
    455        
     455
    456456    entry->IsolationVar = candidate->IsolationVar;
    457457    entry->IsolationVarRhoCorr = candidate->IsolationVarRhoCorr ;
     
    507507
    508508    entry->T = position.T()*1.0E-3/c_light;
    509    
     509
    510510    // Isolation variables
    511        
     511
    512512    entry->IsolationVar = candidate->IsolationVar;
    513513    entry->IsolationVarRhoCorr = candidate->IsolationVarRhoCorr ;
     
    568568
    569569    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
    570587    entry->TauTag = candidate->TauTag;
    571588
     
    593610    entry->MeanSqDeltaR = candidate->MeanSqDeltaR;
    594611    entry->PTD = candidate->PTD;
    595    
     612
    596613    //--- Sub-structure variables ----
    597    
    598     entry->NSubJetsTrimmed     = candidate->NSubJetsTrimmed;
    599     entry->NSubJetsPruned      = candidate->NSubJetsPruned;
     614
     615    entry->NSubJetsTrimmed = candidate->NSubJetsTrimmed;
     616    entry->NSubJetsPruned = candidate->NSubJetsPruned;
    600617    entry->NSubJetsSoftDropped = candidate->NSubJetsSoftDropped;
    601    
     618
    602619    for(i = 0; i < 5; i++)
    603620    {
    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];
     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];
    608625      entry->SoftDroppedP4[i] = candidate -> SoftDroppedP4[i];
    609626    }
    610    
     627
    611628    FillParticles(candidate, &entry->Particles);
    612629  }
Note: See TracChangeset for help on using the changeset viewer.