- Timestamp:
- Apr 12, 2017, 5:20:15 PM (7 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- c4e18da
- Parents:
- 2871513
- Location:
- examples
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/Validation.cpp
r2871513 reb3be06 2263 2263 2264 2264 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); 2266 2266 2267 2267 leg_met_res_ht->Draw(); … … 2642 2642 2643 2643 mg_recbjet_lmis_pt->Draw("APE"); 2644 DrawAxis(mg_recbjet_lmis_pt, leg_recbjet_lmis_pt, ptMin, ptMax, 0.0, 0.5, "p_{T} [GeV]", "light - mistag rate (%)", true, false);2644 DrawAxis(mg_recbjet_lmis_pt, leg_recbjet_lmis_pt, ptMin, ptMax, 0.0, 10, "p_{T} [GeV]", "light - mistag rate (%)", true, false); 2645 2645 leg_recbjet_lmis_pt->Draw(); 2646 2646 pave->Draw(); … … 2653 2653 2654 2654 mg_recbjet_lmis_eta->Draw("APE"); 2655 DrawAxis(mg_recbjet_lmis_eta, leg_recbjet_lmis_eta, etaMin, etaMax, 0.0, 0.5, " #eta ", "light - mistag rate (%)", false, false);2655 DrawAxis(mg_recbjet_lmis_eta, leg_recbjet_lmis_eta, etaMin, etaMax, 0.0, 20.0, " #eta ", "light - mistag rate (%)", false, false); 2656 2656 leg_recbjet_lmis_eta->Draw(); 2657 2657 pave->Draw(); -
examples/validation.sh
r2871513 reb3be06 1 #!/bin/sh 1 2 ############################################################################################## 2 3 # … … 20 21 ############################################################################################ 21 22 22 #! /bin/sh23 24 23 EXPECTED_ARGS=2 25 24 E_BADARGS=65 … … 42 41 version=$(cat VERSION) 43 42 outpdf=$mainoutputdir/${output%.*}.pdf 43 qcdPgLocation="/home/fynu/mselvaggi/storage/DelphesValidationSamples" 44 44 45 45 mkdir -p $outputroot … … 47 47 48 48 sed 's/delphes_card_CMS.tcl/'$cardbase'/g' cards/validation_card.tcl > $validationCard 49 sed -i "1i set MaxEvents ${nEvents}" "$validationCard" 49 50 50 51 function runParticleGun { … … 59 60 } 60 61 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 63 function 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 73 runParticleGun pion 211 74 runParticleGun electron 11 75 runParticleGun muon 13 76 runParticleGun photon 22 77 runParticleGun neutron 2112 78 runParticleGun taujet 15 79 runJetsGun jet 1 & 80 runJetsGun bjet 5 & 81 runJetsGun cjet 4 & 82 83 wait 84 echo all particle guns complete ... 85 70 86 71 87 ./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
Note:
See TracChangeset
for help on using the changeset viewer.