Fork me on GitHub

Changes in / [eb332c8:c4e18da] in git


Ignore:
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • examples/Validation.cpp

    reb332c8 rc4e18da  
    22632263
    22642264    mg_met_res_ht->Draw("APE");
    2265     DrawAxis(mg_met_res_ht, leg_met_res_ht, 10, 10000, 0.1, 1000, " #sum p_{T} [GeV]", "resolution in E_{x,y}^{miss} [GeV]", true, true);
     2265    DrawAxis(mg_met_res_ht, leg_met_res_ht, 100, 100000, 0.1, 1000, " #sum p_{T} [GeV]", "resolution in E_{x,y}^{miss} [GeV]", true, true);
    22662266
    22672267    leg_met_res_ht->Draw();
     
    26422642
    26432643    mg_recbjet_lmis_pt->Draw("APE");
    2644     DrawAxis(mg_recbjet_lmis_pt, leg_recbjet_lmis_pt, ptMin, ptMax, 0.0, 20.0, "p_{T} [GeV]", "light - mistag rate (%)", true, false);
     2644   
     2645    DrawAxis(mg_recbjet_lmis_pt, leg_recbjet_lmis_pt, ptMin, ptMax, 0.0, 10.0, "p_{T} [GeV]", "light - mistag rate (%)", true, false);
     2646   
    26452647    leg_recbjet_lmis_pt->Draw();
    26462648    pave->Draw();
  • examples/validation.sh

    reb332c8 rc4e18da  
     1#!/bin/sh
    12##############################################################################################
    23#
     
    2021############################################################################################
    2122
    22 #! /bin/sh
    23 
    2423EXPECTED_ARGS=2
    2524E_BADARGS=65
     
    4241version=$(cat VERSION)
    4342outpdf=$mainoutputdir/${output%.*}.pdf
     43qcdPgLocation="/home/fynu/mselvaggi/storage/DelphesValidationSamples"
    4444
    4545mkdir -p $outputroot
     
    4747
    4848sed 's/delphes_card_CMS.tcl/'$cardbase'/g' cards/validation_card.tcl  > $validationCard
     49sed -i "1i set MaxEvents ${nEvents}" "$validationCard"
    4950
    5051function runParticleGun {
     
    5960}
    6061
    61 runParticleGun pion 211
    62 runParticleGun electron 11
    63 runParticleGun muon 13
    64 runParticleGun photon 22
    65 runParticleGun neutron 2112
    66 runParticleGun jet 1
    67 runParticleGun bjet 5
    68 runParticleGun cjet 4
    69 runParticleGun taujet 15
     62
     63function runJetsGun {
     64  name=$1
     65  pid=$2
     66  inputroot="${qcdPgLocation}/${pid}.root"
     67  rootfile="particleGun_${name}_${cardlabel}.root"
     68  ./DelphesROOT $validationCard $outputroot/$rootfile $inputroot
     69  echo "./DelphesROOT $validationCard $outputroot/$rootfile $inputroot"
     70}
     71
     72
     73runParticleGun pion 211
     74runParticleGun electron 11
     75runParticleGun muon 13
     76runParticleGun photon 22
     77runParticleGun neutron 2112
     78runParticleGun taujet 15
     79runJetsGun jet 1 &
     80runJetsGun bjet 5 &
     81runJetsGun cjet 4 &
     82
     83wait
     84echo all particle guns complete ...
     85
    7086
    7187./Validation $outputroot/particleGun_pion_$cardlabel.root $outputroot/particleGun_electron_$cardlabel.root $outputroot/particleGun_muon_$cardlabel.root $outputroot/particleGun_photon_$cardlabel.root $outputroot/particleGun_neutron_$cardlabel.root $outputroot/particleGun_jet_$cardlabel.root $outputroot/particleGun_bjet_$cardlabel.root $outputroot/particleGun_cjet_$cardlabel.root $outputroot/particleGun_taujet_$cardlabel.root $mainoutputdir/$output $version
  • modules/Isolation.cc

    reb332c8 rc4e18da  
    167167  fFilter->Reset();
    168168  isolationArray = fFilter->GetSubArray(fClassifier, 0);
     169  cout<<"------------------------------------"<<endl;
    169170
    170171  if(isolationArray == 0) return;
    171172
    172173  TIter itIsolationArray(isolationArray);
     174
    173175
    174176  // loop over all input jets
     
    261263    ratioRhoCorr = sumRhoCorr/candidateMomentum.Pt();
    262264
     265    cout<<"------------------------------------"<<endl;
     266    cout<<sumDBeta<<endl;
     267
    263268    candidate->IsolationVar = ratioDBeta;
    264269    candidate->IsolationVarRhoCorr = ratioRhoCorr;
Note: See TracChangeset for help on using the changeset viewer.