<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://t2bwiki.iihe.ac.be/index.php?action=history&amp;feed=atom&amp;title=TopSanityCheckerValidation</id>
	<title>TopSanityCheckerValidation - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://t2bwiki.iihe.ac.be/index.php?action=history&amp;feed=atom&amp;title=TopSanityCheckerValidation"/>
	<link rel="alternate" type="text/html" href="https://t2bwiki.iihe.ac.be/index.php?title=TopSanityCheckerValidation&amp;action=history"/>
	<updated>2026-04-20T23:48:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://t2bwiki.iihe.ac.be/index.php?title=TopSanityCheckerValidation&amp;diff=285&amp;oldid=prev</id>
		<title>Maintenance script: Created page with &quot; === CMSSW_3_1_X MC validation === *Environment settings : &lt;pre&gt; cmsrel CMSSW_3_1_1 cd CMSSW_3_1_1/src cvs co -r V07-07-03 PhysicsTools/PatAlgos cvs co -r V06-02-02 Anal...&quot;</title>
		<link rel="alternate" type="text/html" href="https://t2bwiki.iihe.ac.be/index.php?title=TopSanityCheckerValidation&amp;diff=285&amp;oldid=prev"/>
		<updated>2015-08-26T12:29:12Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; === CMSSW_3_1_X MC validation === *Environment settings : &amp;lt;pre&amp;gt; cmsrel CMSSW_3_1_1 cd CMSSW_3_1_1/src cvs co -r V07-07-03 PhysicsTools/PatAlgos cvs co -r V06-02-02 Anal...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
=== CMSSW_3_1_X MC validation ===&lt;br /&gt;
*Environment settings :&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cmsrel CMSSW_3_1_1&lt;br /&gt;
cd CMSSW_3_1_1/src&lt;br /&gt;
cvs co -r V07-07-03 PhysicsTools/PatAlgos&lt;br /&gt;
cvs co -r V06-02-02 AnalysisDataFormats/TopObjects&lt;br /&gt;
cvs co -r V06-02-02 TopQuarkAnalysis&lt;br /&gt;
cvs up -r V06-02-02-02 TopQuarkAnalysis/TopJetCombination&lt;br /&gt;
mkdir TopBrussels; cd TopBrussels;&lt;br /&gt;
cp -r /user/ghammad/CMSSW_3_1_1/src/TopBrussels/SanityChecker .&lt;br /&gt;
cd .. ; scramv1 b -j 4;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
*PAT-tuples :&lt;br /&gt;
**cfg file to be used :&lt;br /&gt;
***tt+jets : /user_mnt/user/ghammad/CMSSW_3_1_1/src/PhysicsTools/PatAlgos/test/mypatLayer1TtGenEvt_fromAOD_full_cfg.py&lt;br /&gt;
***others : /user_mnt/user/ghammad/CMSSW_3_1_1/src/PhysicsTools/PatAlgos/test/mypatLayer1_fromAOD_full_cfg.py&lt;br /&gt;
**location : &lt;br /&gt;
**WW : /pnfs/iihe/cms/store/user/ghammad/CMSSW31X/PreProd/Validation/WW&lt;br /&gt;
**InclusiveMu15 : /pnfs/iihe/cms/store/user/ghammad/CMSSW31X/PreProd/Validation/InclusiveMu15&lt;br /&gt;
**TTjets : /pnfs/iihe/cms/store/user/ghammad/CMSSW31X/PreProd/Validation/TTbar&lt;br /&gt;
*Sanity Checker :&lt;br /&gt;
**cfg file to be used :&lt;br /&gt;
***/user_mnt/user/ghammad/CMSSW_3_1_1/src/TopBrussels/SanityChecker/test/sanitychecker_cfg.py&lt;br /&gt;
***warning : dedicated &amp;quot;tt+jets&amp;quot; modules need to be commented if run over &amp;quot;non tt+jets&amp;quot; samples (more info in the cfg files)&lt;br /&gt;
**log files :&lt;br /&gt;
***tt+jets : /user_mnt/user/ghammad/CMSSW_3_1_1/src/TopBrussels/SanityChecker/test/TTbar&lt;br /&gt;
**comparison with Summer08 :&lt;br /&gt;
***CMSSW_3_1_1 tt+jets samples available (/TTbar/Summer09-MC_31X_V2_preproduction_311-v1/GEN-SIM-RECO) were compared with CMSSW_2_2_X tt+jets samples (/TauolaTTbar/Summer08_IDEAL_V11_redigi_v2/AODSIM) at PAT level :&lt;br /&gt;
**CMSSW_3_1_2 tt+jets samples available (/TTbar/Summer09-MC_31X_V3_preproduction_312-v1/GEN-SIM-RECO)&lt;br /&gt;
***statistics : 100k for Summer08 / 70k for Summer09 [311]&lt;br /&gt;
***no selection cuts&lt;br /&gt;
***same JEC factors (Summer08Redigi)&lt;br /&gt;
***jet algorithm : SISCone05&lt;br /&gt;
***GlobalTag : IDEAL_V11::All/STARTUP31X_V1::All [mistake done only for 311 but do not change results]&lt;br /&gt;
***Results 311 vs 22X: http://beaucero.home.cern.ch/beaucero/MCValidation_ReducedPages.ps&lt;br /&gt;
***Results 312 vs 22X: http://beaucero.home.cern.ch/beaucero/MCValidation22Xvs312_ReducedPages.ps&lt;br /&gt;
***Results 312 vs 311: http://beaucero.home.cern.ch/beaucero/MCValidation311vs312_ReducedPages.ps&lt;br /&gt;
&lt;br /&gt;
    ==== Comments for 22X vs 311 comparison: ====&lt;br /&gt;
&lt;br /&gt;
****Plots 1-34 made at generator level.&lt;br /&gt;
****differences compatible within statistical uncertainties&lt;br /&gt;
&lt;br /&gt;
****Plots 35-40 made at PAT level with all jets :&lt;br /&gt;
****plot 36 : differences in jet towers area for low values&lt;br /&gt;
****plot 37 : differences in fraction of jets with electromagnetic energy fraction less than 0.2&lt;br /&gt;
****plot 38 : differences in fraction of jets with hadronic energy fraction equal to 1&lt;br /&gt;
****plots 39/40 : differences in low values for the maximum energy deposited in ECAL/HCAL towers&lt;br /&gt;
&lt;br /&gt;
****Plots 41-46 made at PAT level with jets matching primary quarks&lt;br /&gt;
****differences observed in previous plots less pronounced but there are still some discrepancies :&lt;br /&gt;
****plot 43 : differences in fraction of jets with electromagnetic energy fraction equal to 0&lt;br /&gt;
****plot 44 : differences in fraction of jets with hadronic energy fraction equal to 1 (correlated to diff in plot 43)&lt;br /&gt;
&lt;br /&gt;
****Plots 47-54 made at PAT level with all jets&lt;br /&gt;
****plot 48 : differences in eta position of the jet calotowers&lt;br /&gt;
&lt;br /&gt;
****Plots 55 and 56 made at PAT level with the &amp;quot;trackCountingHighPurBJetTags&amp;quot; b-tag algorithm&lt;br /&gt;
****plot 55 made with all the jets : no difference&lt;br /&gt;
****plot 55 made with jets matching b-quarks : no difference&lt;br /&gt;
&lt;br /&gt;
****Plots 57-86 made at PAT level&lt;br /&gt;
****plots 57-60 : differences in MET and MET phi values around zero (forward hadronic calorimeter)&lt;br /&gt;
****plots 61-75 : MET kinematics with different un-correction factors (see http://cms-service-sdtweb.web.cern.ch/cms-service-sdtweb/doxygen/CMSSW_3_1_0/doc/html/db/deb/classpat_1_1MET.html#a00128d224f81232e649ae61a1117352)&lt;br /&gt;
*****plot 63 : differences for (ALL) uncorrected ET sum (especially between 20 and 50 GeV)&lt;br /&gt;
*****plot 64 : (ALL) uncorrected MET phi not flat in CMSSW_3_1_1&lt;br /&gt;
*****plot 68 : differences for (JES) uncorrected ET sum (especially around 30 GeV)&lt;br /&gt;
*****plot 69 : (JES) uncorrected MET phi not flat in CMSSW_3_1_1&lt;br /&gt;
*****plot 74 : (MUON) uncorrected MET phi not flat in CMSSW_3_1_1&lt;br /&gt;
****plots 76-84 : event energy fraction in the various sub-detectors (http://cms-service-sdtweb.web.cern.ch/cms-service-sdtweb/doxygen/CMSSW_3_1_0/doc/html/db/deb/classpat_1_1MET.html#8a4db29a4ae9fd639c3e87b4621a6930)&lt;br /&gt;
*****plot 76 : event electromagnetic energy fraction shifted to lower values in CMSSW_3_1_1&lt;br /&gt;
*****plot 78 : event electromagnetic energy fraction shifted to lower values in CMSSW_3_1_1 (ECAL end-cap)&lt;br /&gt;
*****plot 80 : correlated with plot 76&lt;br /&gt;
*****plot 83 : event hadronic energy fraction shifted to higher values in CMSSW_3_1_1 (forward HCAL)&lt;br /&gt;
&lt;br /&gt;
****Plots 87-91 made at generator level&lt;br /&gt;
*****plot 87-91 : no significant difference for the generated MET&lt;br /&gt;
&lt;br /&gt;
****Plots 92-106 made at PAT level with global muons (not matching the muon from top-&amp;gt;W decay)&lt;br /&gt;
*****InnerTrack 92-94 :&lt;br /&gt;
*****plot 92 : less valid hits in silicon fit for CMSSW_3_1_1 global muons&lt;br /&gt;
*****OuterTrack 95-96 :&lt;br /&gt;
*****plot 95 : buggy plot (the one for the lost hits is not in the ps file)&lt;br /&gt;
*****GlobalTrack 97-99 :&lt;br /&gt;
*****plot 99 : normalized global fit Chi² shifted to lower values for CMSSW_3_1_1 global muons&lt;br /&gt;
*****Other quantities 100-106 :&lt;br /&gt;
*****plot 100 : differences in calo-compatibilty&lt;br /&gt;
*****plot 101 : differences in TrackIso variable for low values&lt;br /&gt;
****Plots 107-120 made at PAT level with global muons (matching the muon from top-&amp;gt;W decay)&lt;br /&gt;
*****GlobalTrack 111-113 :&lt;br /&gt;
*****plot 113 : same observation as for plot 99&lt;br /&gt;
*****Other quantities 114-120 :&lt;br /&gt;
*****plot 114 : differences in calo-compatibilty&lt;br /&gt;
*****plot 115 : no difference for TrackIso variable between top matched global muons anymore (see comments on plot 101)&lt;br /&gt;
&lt;br /&gt;
****Plots 121-133 made at PAT level with all vertices&lt;br /&gt;
****plots 128/129 : more tracks associated to the primary/all vertices in CMSSW_3_1_1&lt;br /&gt;
****Good agreement between two releases for all plots&lt;br /&gt;
&lt;br /&gt;
****Plots 134-186 made at PAT level&lt;br /&gt;
****plots 134-140 : Jet kinematic variables (all jets)&lt;br /&gt;
*****plot 134 : higher jet multiplicity for CMSSW_3_1_1&lt;br /&gt;
*****plot 137 : different eta distribution&lt;br /&gt;
*****plot 138 : different energy distribution for low values&lt;br /&gt;
*****plot 139 : different theta distribution&lt;br /&gt;
&lt;br /&gt;
****plots 141-146 : Muon kinematic variables (all muons)&lt;br /&gt;
*****plot 144 : different eta distribution for |eta|&amp;gt;2.0&lt;br /&gt;
&lt;br /&gt;
****plots 147-153 : MET kinematic variables (all mets)&lt;br /&gt;
*****plot 148 : MET spectrum shifted to higher values in CMSSW_3_1_1&lt;br /&gt;
*****plot 153 : MET phi spectrum not flat in CMSSW_3_1_1&lt;br /&gt;
*****all other plots : compatible within statistical uncertainties&lt;br /&gt;
&lt;br /&gt;
****plots 154-160 : Jet kinematic variables (jets matching primary quarks)&lt;br /&gt;
*****all plots : compatible within statistical uncertainties&lt;br /&gt;
&lt;br /&gt;
****plots 161-173 : Muon kinematic variables (muons matching muon from top sub-decay)&lt;br /&gt;
*****all plots : compatible within statistical uncertainties&lt;br /&gt;
****plots 174-186 : MET kinematic variables (met matching primary neutrino from top sub-decay)&lt;br /&gt;
*****all plots : compatible within statistical uncertainties&lt;br /&gt;
&lt;br /&gt;
***Plots 187-198 : require at least 4 jets with pT &amp;gt; 30 and |eta|&amp;lt;2.5, require at least 1 muon with |eta|&amp;lt;2.5 which is isolated according to the veto cone isolation requirement (vetoEM&amp;lt;4, vetoHad &amp;lt;6 GeV) - basically a rough attempt to reconstruct the semi-leptonic ttbar event&lt;br /&gt;
****plots 189-197: all 4 jets should be matched to partons: &lt;br /&gt;
*****plots 187-189: (quarkEnergy-jetEnergy)/jetEnergy&lt;br /&gt;
*****plots 190-191: rank and pT of the lowest pT jet that is matched to a parton&lt;br /&gt;
*****plots 192-197: generated and reconstructed leptonic and hadronic W and top masses&lt;br /&gt;
****plot 198 when the 4 quarks are not all 4 matched to the partons: check how many of them are not matched (multiplicity)&lt;br /&gt;
****all plots : compatible within statistical uncertainties&lt;br /&gt;
&lt;br /&gt;
   ==== Additional Comments for 22X vs 312 comparison [and comments are also valid for 311 vs 312 comparison] ====&lt;br /&gt;
       Note that previous comments are still valid except when quoted&lt;br /&gt;
&lt;br /&gt;
****plot 37 : differences in fraction of jets with electromagnetic energy fraction less than 0.2 --&amp;gt; Difference is reduced in 312&lt;br /&gt;
****plot 38 : differences in fraction of jets with hadronic energy fraction equal to 1 --&amp;gt; Difference is reduced in 312&lt;br /&gt;
****plot 43 : differences in fraction of jets with electromagnetic energy fraction equal to 0 --&amp;gt; No More Discrepancies in 312&lt;br /&gt;
****plot 44 : differences in fraction of jets with hadronic energy fraction equal to 1 (correlated to diff in plot 43) --&amp;gt; No More Discrepancies in 312&lt;br /&gt;
****plot 63 : differences for (ALL) uncorrected ET sum (especially between 20 and 50 GeV)  --&amp;gt; Difference is reduced in 312&lt;br /&gt;
****plot 64 : (ALL) uncorrected MET phi not flat in CMSSW_3_1_1 --&amp;gt; More flat in 312&lt;br /&gt;
****plot 68 : differences for (JES) uncorrected ET sum (especially around 30 GeV) --&amp;gt; Difference is reduced in 312&lt;br /&gt;
****plot 69 : (JES) uncorrected MET phi not flat in CMSSW_3_1_1 --&amp;gt; More flat in 312&lt;br /&gt;
****plot 74 : (MUON) uncorrected MET phi not flat in CMSSW_3_1_1  --&amp;gt; More flat in 312&lt;br /&gt;
****plots 76-84 : event energy fraction in the various sub-detectors&lt;br /&gt;
****plot 76 : event electromagnetic energy fraction shifted to lower values in CMSSW_3_1_1 --&amp;gt; Shifted back in 312&lt;br /&gt;
****plot 78 : event electromagnetic energy fraction shifted to lower values in CMSSW_3_1_1 (ECAL end-cap) --&amp;gt; Shifted back in 312&lt;br /&gt;
****plot 80 : correlated with plot 76 --&amp;gt; Shifted back in 312&lt;br /&gt;
****plot 148 : MET spectrum shifted to higher values in CMSSW_3_1_1 --&amp;gt; Shifted back in 312&lt;br /&gt;
****plot 153 : MET phi spectrum not flat in CMSSW_3_1_1  --&amp;gt; More flat in 312&lt;br /&gt;
&lt;br /&gt;
 == Conclusion ==&lt;br /&gt;
&lt;br /&gt;
312 is better than 311, 312 can be considered has been validated by Brussels groups as the remaining discrepancies have been explained by change of code in tracker etc.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{TracNotice|{{PAGENAME}}}}&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>