Fork me on GitHub

Changes in / [9be57d9:d5cae2b] in git


Ignore:
Files:
2 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r9be57d9 rd5cae2b  
    2929OPT_LIBS += -L$(subst include,lib,$(subst :, -L,$(LD_LIBRARY_PATH)))
    3030endif
    31 OPT_LIBS += -lGenVector -lFWCoreFWLite -lDataFormatsFWLite -lDataFormatsPatCandidates -lDataFormatsLuminosity -lSimDataFormatsGeneratorProducts -lCommonToolsUtils -lDataFormatsCommon
     31OPT_LIBS += -lGenVector -lFWCoreFWLite -lDataFormatsFWLite -lDataFormatsPatCandidates -lDataFormatsLuminosity -lSimDataFormatsGeneratorProducts -lCommonToolsUtils
    3232endif
    3333
  • doc/genMakefile.tcl

    r9be57d9 rd5cae2b  
    219219OPT_LIBS += -L$(subst include,lib,$(subst :, -L,$(LD_LIBRARY_PATH)))
    220220endif
    221 OPT_LIBS += -lGenVector -lFWCoreFWLite -lDataFormatsFWLite -lDataFormatsPatCandidates -lDataFormatsLuminosity -lSimDataFormatsGeneratorProducts -lCommonToolsUtils -lDataFormatsCommon
     221OPT_LIBS += -lGenVector -lFWCoreFWLite -lDataFormatsFWLite -lDataFormatsPatCandidates -lDataFormatsLuminosity -lSimDataFormatsGeneratorProducts -lCommonToolsUtils
    222222endif
    223223
  • modules/ModulesLinkDef.h

    r9be57d9 rd5cae2b  
    5050#include "modules/JetPileUpSubtractor.h"
    5151#include "modules/TrackPileUpSubtractor.h"
    52 #include "modules/TaggingParticlesSkimmer.h"
    5352#include "modules/PileUpJetID.h"
    5453#include "modules/ConstituentFilter.h"
     
    9089#pragma link C++ class JetPileUpSubtractor+;
    9190#pragma link C++ class TrackPileUpSubtractor+;
    92 #pragma link C++ class TaggingParticlesSkimmer+;
    9391#pragma link C++ class PileUpJetID+;
    9492#pragma link C++ class ConstituentFilter+;
  • modules/TauTagging.cc

    r9be57d9 rd5cae2b  
    3333#include "classes/DelphesFactory.h"
    3434#include "classes/DelphesFormula.h"
     35
     36#include "ExRootAnalysis/ExRootResult.h"
     37#include "ExRootAnalysis/ExRootFilter.h"
     38#include "ExRootAnalysis/ExRootClassifier.h"
    3539
    3640#include "TMath.h"
     
    4953using namespace std;
    5054
     55//------------------------------------------------------------------------------
     56
     57class TauTaggingPartonClassifier : public ExRootClassifier
     58{
     59public:
     60
     61  TauTaggingPartonClassifier(const TObjArray *array);
     62
     63  Int_t GetCategory(TObject *object);
     64
     65  Double_t fEtaMax, fPTMin;
     66
     67  const TObjArray *fParticleInputArray;
     68};
    5169
    5270//------------------------------------------------------------------------------
     
    6179{
    6280  Candidate *tau = static_cast<Candidate *>(object);
    63   Candidate *daughter1 = 0;
    64   Candidate *daughter2 = 0;
    65  
     81  Candidate *daughter = 0;
    6682  const TLorentzVector &momentum = tau->Momentum;
    67   Int_t pdgCode, i, j;
     83  Int_t pdgCode, i;
    6884
    6985  pdgCode = TMath::Abs(tau->PID);
     
    8298  for(i = tau->D1; i <= tau->D2; ++i)
    8399  {
    84     daughter1 = static_cast<Candidate *>(fParticleInputArray->At(i));
    85     pdgCode = TMath::Abs(daughter1->PID);
    86     if(pdgCode == 11 || pdgCode == 13 || pdgCode == 15) return -1;
    87     else if(pdgCode == 24)
    88     {
    89      if(daughter1->D1 < 0) return -1;
    90      for(j = daughter1->D1; j <= daughter1->D2; ++j)
    91      {
    92        daughter2 = static_cast<Candidate*>(fParticleInputArray->At(j));
    93        pdgCode = TMath::Abs(daughter2->PID);
    94        if(pdgCode == 11 || pdgCode == 13) return -1;
    95      }
    96        
    97     }
     100    daughter = static_cast<Candidate *>(fParticleInputArray->At(i));
     101    pdgCode = TMath::Abs(daughter->PID);
     102    if(pdgCode == 11 || pdgCode == 13 || pdgCode == 15 || pdgCode == 24) return -1;
    98103  }
    99104
  • modules/TauTagging.h

    r9be57d9 rd5cae2b  
    3131
    3232#include "classes/DelphesModule.h"
    33 #include "ExRootAnalysis/ExRootResult.h"
    34 #include "ExRootAnalysis/ExRootFilter.h"
    35 #include "ExRootAnalysis/ExRootClassifier.h"
    3633
    3734#include <map>
     
    7976};
    8077
    81 
    82 //------------------------------------------------------------------------------
    83 
    84 class TauTaggingPartonClassifier : public ExRootClassifier
    85 {
    86 public:
    87 
    88   TauTaggingPartonClassifier(const TObjArray *array);
    89 
    90   Int_t GetCategory(TObject *object);
    91 
    92   Double_t fEtaMax, fPTMin;
    93 
    94   const TObjArray *fParticleInputArray;
    95 };
    96 
    97 
    9878#endif
Note: See TracChangeset for help on using the changeset viewer.