Fork me on GitHub

Changes in / [1f7223c:5a69ba1d] in git


Ignore:
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    r1f7223c r5a69ba1d  
    17541754        external/fastjet/internal/numconsts.hh \
    17551755        external/fastjet/PseudoJet.hh \
    1756         external/fastjet/internal/deprecated.hh \
    1757         external/fastjet/ClusterSequence.hh
     1756        external/fastjet/internal/deprecated.hh
    17581757        @touch $@
    17591758
     
    19011900
    19021901external/fastjet/contribs/ValenciaPlugin/ValenciaPlugin.hh: \
    1903         external/fastjet/JetDefinition.hh \
    1904         external/fastjet/ClusterSequence.hh
     1902        external/fastjet/ClusterSequence.hh \
     1903        external/fastjet/JetDefinition.hh
    19051904        @touch $@
    19061905
  • classes/DelphesClasses.cc

    r1f7223c r5a69ba1d  
    157157  NSubJetsPruned(0),
    158158  NSubJetsSoftDropped(0),
     159  ExclYmerge23(0),
     160  ExclYmerge34(0),
     161  ExclYmerge45(0),
     162  ExclYmerge56(0),
    159163  fFactory(0),
    160164  fArray(0)
  • classes/DelphesClasses.h

    r1f7223c r5a69ba1d  
    396396  TLorentzVector SoftDroppedP4[5]; // first entry (i = 0) is the total SoftDropped Jet 4-momenta and from i = 1 to 4 are the pruned subjets 4-momenta
    397397
     398
    398399  Int_t NSubJetsTrimmed; // number of subjets trimmed
    399400  Int_t NSubJetsPruned; // number of subjets pruned
    400401  Int_t NSubJetsSoftDropped; // number of subjets soft-dropped
    401402
     403  Double_t ExclYmerge23;
     404  Double_t ExclYmerge34;
     405  Double_t ExclYmerge45;
     406  Double_t ExclYmerge56;
     407 
    402408  TRefArray Constituents; // references to constituents
    403409  TRefArray Particles; // references to generated particles
     
    641647  Int_t NSubJetsSoftDropped; // number of subjets soft-dropped
    642648
    643 
     649  // Exclusive clustering variables
     650  Double_t ExclYmerge23;
     651  Double_t ExclYmerge34;
     652  Double_t ExclYmerge45;
     653  Double_t ExclYmerge56;
     654     
    644655  static CompBase *fgCompare; //!
    645656  const CompBase *GetCompare() const { return fgCompare; }
  • modules/FastJetFinder.cc

    r1f7223c r5a69ba1d  
    8080
    8181FastJetFinder::FastJetFinder() :
    82   fPlugin(0), fRecomb(0), fAxesDef(0), fMeasureDef(0), fNjettinessPlugin(0),
    83   fDefinition(0), fAreaDefinition(0), fItInputArray(0), fValenciaPlugin(0)
     82  fPlugin(0), fRecomb(0), fAxesDef(0), fMeasureDef(0), fNjettinessPlugin(0), fValenciaPlugin(0),
     83  fDefinition(0), fAreaDefinition(0), fItInputArray(0)
    8484{
    8585
     
    332332  vector< PseudoJet >::iterator itInputList, itOutputList;
    333333  vector< TEstimatorStruct >::iterator itEstimators;
    334 
     334  Double_t excl_ymerge23 = 0.0;
     335  Double_t excl_ymerge34 = 0.0;
     336  Double_t excl_ymerge45 = 0.0;
     337  Double_t excl_ymerge56 = 0.0;
     338 
    335339  DelphesFactory *factory = GetFactory();
    336340
     
    377381  outputList.clear();
    378382
     383 
    379384  if(fExclusiveClustering)
    380385    {
    381386      outputList = sorted_by_pt(sequence->exclusive_jets( fNJets ));
     387
     388      excl_ymerge23 = sequence->exclusive_ymerge( 2 );
     389      excl_ymerge34 = sequence->exclusive_ymerge( 3 );
     390      excl_ymerge45 = sequence->exclusive_ymerge( 4 );
     391      excl_ymerge56 = sequence->exclusive_ymerge( 5 );
    382392    }
    383393  else
     
    400410    if(fAreaDefinition) area = itOutputList->area_4vector();
    401411
     412
     413   
    402414    candidate = factory->NewCandidate();
    403415
     
    443455    candidate->NNeutrals = nneutrals;
    444456    candidate->NCharged = ncharged;
     457
     458
     459    //for exclusive clustering, access y_n,n+1 as exclusive_ymerge (fNJets);
     460    candidate->ExclYmerge23 = excl_ymerge23;
     461    candidate->ExclYmerge34 = excl_ymerge34;
     462    candidate->ExclYmerge45 = excl_ymerge45;
     463    candidate->ExclYmerge56 = excl_ymerge56;
    445464   
    446465    //------------------------------------
  • modules/TreeWriter.cc

    r1f7223c r5a69ba1d  
    695695    }
    696696
     697    //--- exclusive clustering variables ---
     698    entry->ExclYmerge23 = candidate->ExclYmerge23;
     699    entry->ExclYmerge34 = candidate->ExclYmerge34;
     700    entry->ExclYmerge45 = candidate->ExclYmerge45;
     701    entry->ExclYmerge56 = candidate->ExclYmerge56;   
     702
     703
    697704    FillParticles(candidate, &entry->Particles);
    698705  }
Note: See TracChangeset for help on using the changeset viewer.