Fork me on GitHub

Changeset 1348 in svn for trunk/modules


Ignore:
Timestamp:
Jan 3, 2014, 4:41:28 PM (11 years ago)
Author:
Michele Selvaggi
Message:

added PileUpJetID module from Seth Senz

Location:
trunk/modules
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/ModulesLinkDef.h

    r1345 r1348  
    3232#include "modules/JetPileUpSubtractor.h"
    3333#include "modules/TrackPileUpSubtractor.h"
     34#include "modules/PileUpJetID.h"
    3435#include "modules/ConstituentFilter.h"
    3536#include "modules/StatusPidFilter.h"
     
    6465#pragma link C++ class JetPileUpSubtractor+;
    6566#pragma link C++ class TrackPileUpSubtractor+;
     67#pragma link C++ class PileUpJetID+;
    6668#pragma link C++ class ConstituentFilter+;
    6769#pragma link C++ class StatusPidFilter+;
  • trunk/modules/TrackPileUpSubtractor.cc

    r1345 r1348  
    102102  TIterator *iterator;
    103103  TObjArray *array;
    104   Double_t z, zvtx;
     104  Double_t z, zvtx=0;
    105105
    106106 
  • trunk/modules/TreeWriter.cc

    r1345 r1348  
    533533
    534534    entry->EhadOverEem = ecalEnergy > 0.0 ? hcalEnergy/ecalEnergy : 999.9;
     535 
     536    //---   Pile-Up Jet ID variables ----
     537
     538    entry->NCharged = candidate->NCharged;
     539    entry->NNeutrals = candidate->NNeutrals;
     540    entry->Beta = candidate->Beta;
     541    entry->BetaStar = candidate->BetaStar;
     542    entry->MeanSqDeltaR = candidate->MeanSqDeltaR;
     543    entry->PTD = candidate->PTD;
     544    entry->FracPt[0] = candidate->FracPt[0];
     545    entry->FracPt[1] = candidate->FracPt[1];
     546    entry->FracPt[2] = candidate->FracPt[2];
     547    entry->FracPt[3] = candidate->FracPt[3];
     548    entry->FracPt[4] = candidate->FracPt[4];
    535549
    536550    FillParticles(candidate, &entry->Particles);
Note: See TracChangeset for help on using the changeset viewer.