<?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=TopSanityCheckerModules</id>
	<title>TopSanityCheckerModules - 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=TopSanityCheckerModules"/>
	<link rel="alternate" type="text/html" href="https://t2bwiki.iihe.ac.be/index.php?title=TopSanityCheckerModules&amp;action=history"/>
	<updated>2026-06-06T12:48:13Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://t2bwiki.iihe.ac.be/index.php?title=TopSanityCheckerModules&amp;diff=284&amp;oldid=prev</id>
		<title>Maintenance script: Created page with &quot; === TtGenEventChecker ===  === jetmet ===  === muonchecker ===  === vertex ===  === kinematics ===  === TruthReco === This module is executed after reconstructing ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://t2bwiki.iihe.ac.be/index.php?title=TopSanityCheckerModules&amp;diff=284&amp;oldid=prev"/>
		<updated>2015-08-26T12:29:12Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; === TtGenEventChecker ===  === jetmet ===  === muonchecker ===  === vertex ===  === kinematics ===  === TruthReco === This module is executed after reconstructing ...&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;
=== TtGenEventChecker ===&lt;br /&gt;
&lt;br /&gt;
=== jetmet ===&lt;br /&gt;
&lt;br /&gt;
=== muonchecker ===&lt;br /&gt;
&lt;br /&gt;
=== vertex ===&lt;br /&gt;
&lt;br /&gt;
=== kinematics ===&lt;br /&gt;
&lt;br /&gt;
=== TruthReco ===&lt;br /&gt;
This module is executed after reconstructing the ttbar generated event and after selecting the semi-leptonic ttbar decay into a muon (on generator level).&lt;br /&gt;
**When matching is done, no jet is used twice and no parton is used twice!!!&lt;br /&gt;
**Input is the selectedLayer1Objects and the generated ttbar event, genEvt.&lt;br /&gt;
**For the calculation of the expected light and b JEC in bins of pT and eta, the default values of the ptbins and etabins can be found in python/TruthRecoChecker_cfi.py.&lt;br /&gt;
**at least 1 muon, pT &amp;gt; 20, |eta| &amp;lt; 2.5 and isolated: vetoEM&amp;lt;4, vetoHad&amp;lt;6&lt;br /&gt;
**at least 4 jets, pT &amp;gt; 30, |eta| &amp;lt; 2.5 &lt;br /&gt;
&lt;br /&gt;
{| border=1 class=&amp;quot;simple&amp;quot;&lt;br /&gt;
! subdir &lt;br /&gt;
! name of plot &lt;br /&gt;
! description/method &lt;br /&gt;
! remarks &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  hExpLightJECIncl &lt;br /&gt;
|  (quarkEnergy-jetEnergy)/jetEnergy &lt;br /&gt;
|  when the 4 quarks are matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  hExpBJECIncl &lt;br /&gt;
|  (quarkEnergy-jetEnergy)/jetEnergy &lt;br /&gt;
|  when the 4 quarks are matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  LowestPtMatchedJet_Rank &lt;br /&gt;
|  jet with the lowest pT, matched to parton -&amp;gt; it&amp;#039;s rank &lt;br /&gt;
|  when the 4 quarks are matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  LowestPtMatchedJet_Pt  &lt;br /&gt;
|  jet with the lowest pT, matched to parton -&amp;gt; it&amp;#039;s pT &lt;br /&gt;
|  when the 4 quarks are matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  mWHad_Gen &lt;br /&gt;
|  sum p4 of 2 light partons -&amp;gt; mass() &lt;br /&gt;
|  when the 4 quarks are matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  mWLep_Gen &lt;br /&gt;
|  sum p4 of muon and neutrino  -&amp;gt; mass()&lt;br /&gt;
|  when the 4 quarks are matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  mtHad_Gen &lt;br /&gt;
|  sum p4 of the 3 quarks from top -&amp;gt; mass() &lt;br /&gt;
|  when the 4 quarks are matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  mtLep_Gen &lt;br /&gt;
|  sum p4 of muon, neutrino and parton -&amp;gt; mass() &lt;br /&gt;
|  when the 4 quarks are matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  mWHad_Rec &lt;br /&gt;
|  sum p4 of 2 light jets  -&amp;gt; mass()&lt;br /&gt;
|  when the 4 quarks are matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  mWLep_Rec &lt;br /&gt;
|  sum p4 of highest pT muon and MET -&amp;gt; mass() &lt;br /&gt;
|  when the 4 quarks are matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  mtHad_Rec &lt;br /&gt;
|  sum p4 of the 3 jets from top -&amp;gt; mass() &lt;br /&gt;
|  when the 4 quarks are matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  mtLep_Rec &lt;br /&gt;
|  sum p4 of highest pT muon, MET and b-jet -&amp;gt; mass() &lt;br /&gt;
|  when the 4 quarks are matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  Dphi_HadTops &lt;br /&gt;
|  ROOT::Math::VectorUtil::DeltaPhi(tHadGen,tHadRec) &lt;br /&gt;
|  when the 4 quarks are matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  Dphi_LepTops &lt;br /&gt;
|  ROOT::Math::VectorUtil::DeltaPhi(tLepGen,tLepRec) &lt;br /&gt;
|  when the 4 quarks are matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  Deta_HadTops &lt;br /&gt;
|  fabs(tHadGen.eta() - tHadRec.eta()) &lt;br /&gt;
|  when the 4 quarks are matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  Deta_LepTops &lt;br /&gt;
|  fabs(tLepGen.eta() - tLepRec.eta()) &lt;br /&gt;
|  when the 4 quarks are matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  DR_HadTops &lt;br /&gt;
|  ROOT::Math::VectorUtil::DeltaR(tHadGen,tHadRec) &lt;br /&gt;
|  when the 4 quarks are matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  DR_LepTops &lt;br /&gt;
|  ROOT::Math::VectorUtil::DeltaR(tHadGen,tHadRec) &lt;br /&gt;
|  when the 4 quarks are matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  Dphi_Tops_Rec &lt;br /&gt;
|  ROOT::Math::VectorUtil::DeltaPhi(tHadRec,tLepRec) &lt;br /&gt;
|  when the 4 quarks are matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  Dphi_Tops_Gen &lt;br /&gt;
|  ROOT::Math::VectorUtil::DeltaPhi(tHadGen,tLepGen) &lt;br /&gt;
|  when the 4 quarks are matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  DR_Tops_Rec &lt;br /&gt;
|  ROOT::Math::VectorUtil::DeltaR(tHadRec,tLepRec) &lt;br /&gt;
|  when the 4 quarks are matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  DR_Tops_Gen &lt;br /&gt;
|  ROOT::Math::VectorUtil::DeltaR(tHadGen,tLepGen) &lt;br /&gt;
|  when the 4 quarks are matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  minJetMuVSminQuarkMu &lt;br /&gt;
|  smallest angle between jet and muon versus the smallest angle between the quarks and generated muon &lt;br /&gt;
|  when the 4 quarks are matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  minJetsVSminQuarks &lt;br /&gt;
|  smallest angle between the 4 jets versus the smallest angle between the 4 quarks &lt;br /&gt;
|  when the 4 quarks are matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  QuarksMatchedJetRadiationMultiplicity &lt;br /&gt;
|  # jets matched to radiated partons &lt;br /&gt;
|  when the 4 quarks are matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  QuarksMatchedHighestPtRadMatchedJet_Rank &lt;br /&gt;
|  among the 4 highest pT jets, if at least 1 is matched with radiation, take the one with the highest pT -&amp;gt; rank &lt;br /&gt;
|  when the 4 quarks are matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  QuarksMatchedHighestPtRadMatchedJet_Pt &lt;br /&gt;
|  among the 4 highest pT jets, if at least 1 is matched with radiation, take the one with the highest pT -&amp;gt; pT &lt;br /&gt;
|  when the 4 quarks are matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  LowestPtQuarkMatchedJetPt_vs_HighestPtRadMatchedJetPt &lt;br /&gt;
|  4th plot in list versus plot above &lt;br /&gt;
|  when the 4 quarks are matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  JetRadiationMultiplicity &lt;br /&gt;
|  # jets matched to radiated partons &lt;br /&gt;
|  when at least one of the 4 quarks is not matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  HighestPtRadMatchedJet_Rank &lt;br /&gt;
|  among the 4 highest pT jets, if at least 1 is matched with radiation, take the one with the highest pT -&amp;gt; rank &lt;br /&gt;
|  when at least one of the 4 quarks is not matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  HighestPtRadMatchedJet_Pt &lt;br /&gt;
|  among the 4 highest pT jets, if at least 1 is matched with radiation, take the one with the highest pT -&amp;gt; pT &lt;br /&gt;
|  when at least one of the 4 quarks is not matched! &lt;br /&gt;
|- &lt;br /&gt;
|   &lt;br /&gt;
|  UnmatchedQuarkMultiplicity &lt;br /&gt;
|  # unmatched quarks among the 4 primary &lt;br /&gt;
|  when at least one of the 4 quarks is not matched! &lt;br /&gt;
|- &lt;br /&gt;
|  ExpectedJECinbins &lt;br /&gt;
|  ExpectedLightJEC_etabinX_ptbinY &lt;br /&gt;
|  same as inclusive but in bins of pT and eta &lt;br /&gt;
|  fitted with gaussian over 1/3 of the X-axis around the bin with the highest content &lt;br /&gt;
|- &lt;br /&gt;
|  ExpectedJECinbins &lt;br /&gt;
|  ExpectedBJEC_etabinX_ptbinY &lt;br /&gt;
|   same as inclusive but in bins of pT and eta &lt;br /&gt;
|  fitted with gaussian over 1/3 of the X-axis around the bin with the highest content &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Resolutions_object ===&lt;br /&gt;
This module is executed after reconstructing the ttbar generated event.&lt;br /&gt;
**object can be &amp;quot;lJets&amp;quot;, &amp;quot;bJets&amp;quot;, &amp;quot;muon&amp;quot;, &amp;quot;electron&amp;quot;, &amp;quot;met&amp;quot; (input is the selectedLayer1Objects and the generated ttbar event, genEvt)&lt;br /&gt;
**resolutions are calculated as a function of pT and eta (except for MET, only as a function of pT, so by default only 1 etabin)&lt;br /&gt;
**for the default values of the ptbins and etabins, look at python/ResolutionChecker_cfi.py&lt;br /&gt;
**electrons and muons are required to match with the generated particle within DR 0.1&lt;br /&gt;
**jets  are required to match with the generated particle within DR 0.3&lt;br /&gt;
**jets  are required to match with the generated particle within DR 1000. (basically no requirement)&lt;br /&gt;
**ares, bres, cres and dres: resolution on &amp;quot;a&amp;quot;, &amp;quot;b&amp;quot;, &amp;quot;c&amp;quot; &amp;amp; &amp;quot;d&amp;quot; with &amp;quot;a&amp;quot;, &amp;quot;b&amp;quot;, &amp;quot;c&amp;quot; &amp;amp; &amp;quot;d&amp;quot; according to the definition (CMS-NOTE-2006-023)&lt;br /&gt;
**thres, phres, etres and etares: resolution on theta, phi, ET and eta&lt;br /&gt;
**NOTE: more then one object can be matched to the same particle (e.g. 2 jets can be matched to the same parton)&lt;br /&gt;
&lt;br /&gt;
{| border=1 class=&amp;quot;simple&amp;quot;&lt;br /&gt;
! name of plot &lt;br /&gt;
! description/method &lt;br /&gt;
! remarks &lt;br /&gt;
|- &lt;br /&gt;
|  object_ares_etabinX_ptbinY &lt;br /&gt;
|  reconstructed value - generated value &lt;br /&gt;
|  fitted with gaussian over 1/3 of the X-axis around the bin with the highest content &lt;br /&gt;
|- &lt;br /&gt;
|  object_bres_etabinX_ptbinY &lt;br /&gt;
|  reconstructed value - generated value &lt;br /&gt;
|  fitted with gaussian over 1/3 of the X-axis around the bin with the highest content &lt;br /&gt;
|- &lt;br /&gt;
|  object_cres_etabinX_ptbinY &lt;br /&gt;
|  reconstructed value - generated value &lt;br /&gt;
|  fitted with gaussian over 1/3 of the X-axis around the bin with the highest content &lt;br /&gt;
|- &lt;br /&gt;
|  object_dres_etabinX_ptbinY &lt;br /&gt;
|  reconstructed value - generated value &lt;br /&gt;
|  fitted with gaussian over 1/3 of the X-axis around the bin with the highest content &lt;br /&gt;
|- &lt;br /&gt;
|  object_thres_etabinX_ptbinY &lt;br /&gt;
|  reconstructed value - generated value &lt;br /&gt;
|  fitted with gaussian over 1/3 of the X-axis around the bin with the highest content &lt;br /&gt;
|- &lt;br /&gt;
|  object_phres_etabinX_ptbinY &lt;br /&gt;
|  reconstructed value - generated value &lt;br /&gt;
|  fitted with gaussian over 1/3 of the X-axis around the bin with the highest content &lt;br /&gt;
|- &lt;br /&gt;
|  object_etres_etabinX_ptbinY &lt;br /&gt;
|  reconstructed value - generated value &lt;br /&gt;
|  fitted with gaussian over 1/3 of the X-axis around the bin with the highest content &lt;br /&gt;
|- &lt;br /&gt;
|  object_etares_etabinX_ptbinY &lt;br /&gt;
|  reconstructed value - generated value &lt;br /&gt;
|  fitted with gaussian over 1/3 of the X-axis around the bin with the highest content &lt;br /&gt;
|- &lt;br /&gt;
|  object_ares_etabinX &lt;br /&gt;
|  for each pt-bin, mean and width of gaussian fit is used &lt;br /&gt;
|  fitted with &amp;quot;[0]+[1]*exp(-[2]*x)&amp;quot;, &amp;quot;x&amp;quot; is pT-dependence &lt;br /&gt;
|- &lt;br /&gt;
|  object_bres_etabinX &lt;br /&gt;
|  for each pt-bin, mean and width of gaussian fit is used &lt;br /&gt;
|  fitted with &amp;quot;[0]+[1]*exp(-[2]*x)&amp;quot;, &amp;quot;x&amp;quot; is pT-dependence &lt;br /&gt;
|- &lt;br /&gt;
|  object_cres_etabinX &lt;br /&gt;
|  for each pt-bin, mean and width of gaussian fit is used &lt;br /&gt;
|  fitted with &amp;quot;[0]+[1]*exp(-[2]*x)&amp;quot;, &amp;quot;x&amp;quot; is pT -dependence&lt;br /&gt;
|- &lt;br /&gt;
|  object_dres_etabinX &lt;br /&gt;
|  for each pt-bin, mean and width of gaussian fit is used &lt;br /&gt;
|  fitted with &amp;quot;[0]+[1]*exp(-[2]*x)&amp;quot;, &amp;quot;x&amp;quot; is pT-dependence &lt;br /&gt;
|- &lt;br /&gt;
|  object_thres_etabinX &lt;br /&gt;
|  for each pt-bin, mean and width of gaussian fit is used &lt;br /&gt;
|  fitted with &amp;quot;[0]+[1]*exp(-[2]*x)&amp;quot;, &amp;quot;x&amp;quot; is pT-dependence &lt;br /&gt;
|- &lt;br /&gt;
|  object_phres_etabinX &lt;br /&gt;
|  for each pt-bin, mean and width of gaussian fit is used &lt;br /&gt;
|  fitted with &amp;quot;[0]+[1]*exp(-[2]*x)&amp;quot;, &amp;quot;x&amp;quot; is pT-dependence &lt;br /&gt;
|- &lt;br /&gt;
|  object_etres_etabinX &lt;br /&gt;
|  for each pt-bin, mean and width of gaussian fit is used &lt;br /&gt;
|  fitted with &amp;quot;pol1&amp;quot;, &amp;quot;x&amp;quot; is pT-dependence &lt;br /&gt;
|- &lt;br /&gt;
|  object_etares_etabinX &lt;br /&gt;
|  for each pt-bin, mean and width of gaussian fit is used &lt;br /&gt;
|  fitted with &amp;quot;[0]+[1]*exp(-[2]*x)&amp;quot;, &amp;quot;x&amp;quot; is pT-dependence &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&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>