Fork me on GitHub

Changeset 9ad08ca in git


Ignore:
Timestamp:
Jun 21, 2016, 4:09:24 PM (9 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
d97b2af
Parents:
332025f (diff), c008923 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into dev_01

Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • cards/CMS_PhaseII/CMS_PhaseII_200PU.tcl

    r332025f r9ad08ca  
    9898
    9999  # pre-generated minbias input file
    100   #set PileUpFile ../eos/cms/store/group/upgrade/delphes/PhaseII/MinBias_100k.pileup
    101   set PileUpFile MinBias.pileup
    102 
     100  set PileUpFile ../eos/cms/store/group/upgrade/delphes/PhaseII/MinBias_100k.pileup
     101 
    103102  # average expected pile up
    104103  set MeanPileUp 200
  • external/PUPPI/PuppiAlgo.cc

    r332025f r9ad08ca  
    1919  std::vector<AlgoSubObj> lAlgos = iAlgo.subAlgos;
    2020  fNAlgos = lAlgos.size();
    21   std::cout << "==> "  << fEtaMin << " - " << fEtaMax << " - " << fPtMin  << " - " << fNeutralPtMin  << " - " << fNeutralPtSlope  << " - " << fRMSEtaSF  << " - " << std::endl;
     21  //std::cout << "==> "  << fEtaMin << " - " << fEtaMax << " - " << fPtMin  << " - " << fNeutralPtMin  << " - " << fNeutralPtSlope  << " - " << fRMSEtaSF  << " - " << std::endl;
    2222  for(unsigned int i0 = 0; i0 < lAlgos.size(); i0++)  {
    2323    int    pAlgoId      = lAlgos[i0].metricId;
     
    2828    double pRMSPtMin    = lAlgos[i0].rmsPtMin;
    2929    double pRMSSF       = lAlgos[i0].rmsScaleFactor;
    30     std::cout << "Algo==> " << i0 << " - " << pAlgoId << " - " << pCharged << " - " << pWeight0 << " - " << pComb << " - " << pConeSize << " - " << pRMSPtMin << " - " << std::endl;
     30    //std::cout << "Algo==> " << i0 << " - " << pAlgoId << " - " << pCharged << " - " << pWeight0 << " - " << pComb << " - " << pConeSize << " - " << pRMSPtMin << " - " << std::endl;
    3131    fAlgoId        .push_back(pAlgoId);
    3232    fCharged       .push_back(pCharged);
  • readers/DelphesPythia8.cpp

    r332025f r9ad08ca  
    2525
    2626#include "Pythia.h"
     27#include "Pythia8Plugins/CombineMatchingInput.h"
    2728
    2829#include "TROOT.h"
     
    224225
    225226  Pythia8::Pythia *pythia = 0;
     227 
     228  // for matching
     229  Pythia8::CombineMatchingInput *combined = 0;
     230  Pythia8::UserHooks* matching = 0;
    226231
    227232  if(argc != 4)
     
    270275    // Initialize Pythia
    271276    pythia = new Pythia8::Pythia;
    272     //Pythia8::Event& event = pythia->event;
    273     //Pythia8::ParticleData& pdt = pythia->particleData;
     277 
     278    // jet matching
     279    matching = combined->getHook(*pythia);
     280    if (!matching)
     281    {
     282      throw runtime_error("can't do matching");
     283    }
     284    pythia->setUserHooksPtr(matching);
     285 
    274286
    275287    if(pythia == NULL)
Note: See TracChangeset for help on using the changeset viewer.