ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/OSUT3Analysis/Configuration/python/histogramDefinitions.py
(Generate patch)

Comparing UserCode/OSUT3Analysis/Configuration/python/histogramDefinitions.py (file contents):
Revision 1.36 by wulsin, Sun Aug 4 21:27:05 2013 UTC vs.
Revision 1.37 by lantonel, Tue Sep 3 08:47:28 2013 UTC

# Line 126 | Line 126 | MuonHistograms = cms.PSet(
126              bins = cms.untracked.vdouble(150, 0, 3),
127              inputVariables = cms.vstring("relPFdBetaIso"),
128          ),
129
129          cms.PSet (
130              name = cms.string("muonMetMt"),
131              title = cms.string("Transverse Mass of Muon-MET System; M_{T} [GeV]"),
# Line 898 | Line 897 | ElectronMuonHistograms = cms.PSet(
897          cms.PSet (
898              name = cms.string("electronPFrhoIsoVsMuonPFdBetaIso"),
899              title = cms.string("Electron PF-based #rho-corrected Isolation vs. Muon PF-based #Delta#beta-corrected Isolation; muon rel. iso.; electron rel. iso."),
900 <            bins = cms.untracked.vdouble(100, 0, 3, 100, 0, 3),
900 >            bins = cms.untracked.vdouble(150, 0, 3, 150, 0, 3),
901              inputVariables = cms.vstring("muonRelPFdBetaIso","electronRelPFrhoIso"),
902          ),
903      )
# Line 1390 | Line 1389 | ElectronJetHistograms = cms.PSet(
1389          cms.PSet (
1390              name = cms.string("electronEtavsJetEta "),
1391              title = cms.string("Electron Eta.vs Jet Eta; Jet #eta; Electron #eta"),
1392 <            bins = cms.untracked.vdouble(200, -6, 6, 200, -6 ,6),
1392 >            bins = cms.untracked.vdouble(100, -6, 6, 100, -6 ,6),
1393              inputVariables = cms.vstring("jetEta","electronEta"),
1394          ),
1395          cms.PSet (
1396              name = cms.string("electronPhivsJetPhi "),
1397              title = cms.string("Electron Phi.vs Jet Phi; Jet #phi; Electron #phi"),
1398 <            bins = cms.untracked.vdouble(200, -3.15, 3.15, 200, -3.15 ,3.15),
1398 >            bins = cms.untracked.vdouble(100, -3.15, 3.15, 100, -3.15 ,3.15),
1399              inputVariables = cms.vstring("jetPhi","electronPhi"),
1400          ),
1401          cms.PSet (
# Line 1464 | Line 1463 | MuonJetHistograms = cms.PSet(
1463          cms.PSet (
1464              name = cms.string("muonEtavsJetEta "),
1465              title = cms.string("Muon Eta.vs Jet Eta; Jet #eta; Muon #eta"),
1466 <            bins = cms.untracked.vdouble(200, -6, 6, 200, -6 ,6),
1466 >            bins = cms.untracked.vdouble(100, -6, 6, 100, -6 ,6),
1467              inputVariables = cms.vstring("jetEta","muonEta"),
1468          ),
1469          cms.PSet (
1470              name = cms.string("muonPhivsJetPhi "),
1471              title = cms.string("Muon Phi.vs Jet Phi; Jet #phi; Muon #phi"),
1472 <            bins = cms.untracked.vdouble(200, -3.15, 3.15, 200, -3.15 ,3.15),
1472 >            bins = cms.untracked.vdouble(100, -3.15, 3.15, 100, -3.15 ,3.15),
1473              inputVariables = cms.vstring("jetPhi","muonPhi"),
1474          ),
1475          cms.PSet (
# Line 1537 | Line 1536 | MuonSecondaryJetHistograms = cms.PSet(
1536          cms.PSet (
1537              name = cms.string("muonEtavsJetEta "),
1538              title = cms.string("Muon Eta.vs Jet Eta; Jet #eta; Muon #eta"),
1539 <            bins = cms.untracked.vdouble(200, -6, 6, 200, -6 ,6),
1539 >            bins = cms.untracked.vdouble(100, -6, 6, 100, -6 ,6),
1540              inputVariables = cms.vstring("jetEta","muonEta"),
1541          ),
1542          cms.PSet (
1543              name = cms.string("muonPhivsJetPhi "),
1544              title = cms.string("Muon Phi.vs Jet Phi; Jet #phi; Muon #phi"),
1545 <            bins = cms.untracked.vdouble(200, -3.15, 3.15, 200, -3.15 ,3.15),
1545 >            bins = cms.untracked.vdouble(100, -3.15, 3.15, 100, -3.15 ,3.15),
1546              inputVariables = cms.vstring("jetPhi","muonPhi"),
1547          ),
1548          cms.PSet (
# Line 1609 | Line 1608 | ElectronSecondaryJetHistograms = cms.PSe
1608          cms.PSet (
1609              name = cms.string("electronEtavsJetEta "),
1610              title = cms.string("Electron Eta.vs Jet Eta; Jet #eta; Electron #eta"),
1611 <            bins = cms.untracked.vdouble(200, -6, 6, 200, -6 ,6),
1611 >            bins = cms.untracked.vdouble(100, -6, 6, 100, -6 ,6),
1612              inputVariables = cms.vstring("jetEta","electronEta"),
1613          ),
1614          cms.PSet (
1615              name = cms.string("electronPhivsJetPhi "),
1616              title = cms.string("Electron Phi.vs Jet Phi; Jet #phi; Electron #phi"),
1617 <            bins = cms.untracked.vdouble(200, -3.15, 3.15, 200, -3.15 ,3.15),
1617 >            bins = cms.untracked.vdouble(100, -3.15, 3.15, 100, -3.15 ,3.15),
1618              inputVariables = cms.vstring("jetPhi","electronPhi"),
1619          ),
1620          cms.PSet (
# Line 1675 | Line 1674 | PhotonSecondaryJetHistograms = cms.PSet(
1674          cms.PSet (
1675              name = cms.string("photonEtavsJetEta "),
1676              title = cms.string("Photon Eta.vs Jet Eta; Jet #eta; Photon #eta"),
1677 <            bins = cms.untracked.vdouble(200, -6, 6, 200, -6 ,6),
1677 >            bins = cms.untracked.vdouble(100, -6, 6, 100, -6 ,6),
1678              inputVariables = cms.vstring("jetEta","photonEta"),
1679          ),
1680          cms.PSet (
1681              name = cms.string("photonPhivsJetPhi "),
1682              title = cms.string("Photon Phi.vs Jet Phi; Jet #phi; Photon #phi"),
1683 <            bins = cms.untracked.vdouble(200, -3.15, 3.15, 200, -3.15 ,3.15),
1683 >            bins = cms.untracked.vdouble(100, -3.15, 3.15, 100, -3.15 ,3.15),
1684              inputVariables = cms.vstring("jetPhi","photonPhi"),
1685          ),
1686          cms.PSet (
# Line 1741 | Line 1740 | PhotonJetHistograms = cms.PSet(
1740          cms.PSet (
1741              name = cms.string("photonEtavsJetEta "),
1742              title = cms.string("Photon Eta.vs Jet Eta; Jet #eta; Photon #eta"),
1743 <            bins = cms.untracked.vdouble(200, -6, 6, 200, -6 ,6),
1743 >            bins = cms.untracked.vdouble(100, -6, 6, 100, -6 ,6),
1744              inputVariables = cms.vstring("jetEta","photonEta"),
1745          ),
1746          cms.PSet (
1747              name = cms.string("photonPhivsJetPhi "),
1748              title = cms.string("Photon Phi.vs Jet Phi; Jet #phi; Photon #phi"),
1749 <            bins = cms.untracked.vdouble(200, -3.15, 3.15, 200, -3.15 ,3.15),
1749 >            bins = cms.untracked.vdouble(100, -3.15, 3.15, 100, -3.15 ,3.15),
1750              inputVariables = cms.vstring("jetPhi","photonPhi"),
1751          ),
1752          cms.PSet (
# Line 1781 | Line 1780 | MCParticleHistograms = cms.PSet(
1780              inputVariables = cms.vstring("eta"),
1781          ),
1782          cms.PSet (
1784            name = cms.string("mcparticleID"),
1785            title = cms.string("MCparticle ID; pdg ID"),
1786            bins = cms.untracked.vdouble(2000, 0, 2000),
1787            inputVariables = cms.vstring("abs(id)"),
1788        ),
1789        cms.PSet (
1790            name = cms.string("mcparticleMotherId"),
1791            title = cms.string("MCparticle Mother ID; pdg ID of mother"),
1792            bins = cms.untracked.vdouble(2000, 0, 2000),
1793            inputVariables = cms.vstring("abs(motherId)"),
1794        ),
1795        cms.PSet (
1796            name = cms.string("mcparticleGrandMotherId"),
1797            title = cms.string("MCparticle Grandmother ID; pdg ID of grandmother"),
1798            bins = cms.untracked.vdouble(2000, 0, 2000),
1799            inputVariables = cms.vstring("abs(grandMotherId)"),
1800        ),
1801        cms.PSet (
1783              name = cms.string("mcparticleStatus"),
1784              title = cms.string("MCparticle Status; status"),
1785              bins = cms.untracked.vdouble(3, 1, 4),
1786              inputVariables = cms.vstring("status"),
1787          ),
1788          cms.PSet (
1789 <            name = cms.string("mcparticleD0"),
1790 <            title = cms.string("MCParticle d_{0} wrt PV; d_{0} [cm]"),
1791 <            bins = cms.untracked.vdouble(40000, -20, 20),
1792 <            inputVariables = cms.vstring("d0")
1789 >            name = cms.string("mcparticleAbsD0Vertex"),
1790 >            title = cms.string("MCParticle |d_{0}| wrt PV; |d_{0}| [cm]"),
1791 >            bins = cms.untracked.vdouble(100, 0, 20),
1792 >            inputVariables = cms.vstring("abs(d0Vertex)")
1793          ),
1794          cms.PSet (
1795 <            name = cms.string("mcparticleAbsD0"),
1796 <            title = cms.string("MCParticle |d_{0}| wrt PV; |d_{0}| [cm]"),
1797 <            bins = cms.untracked.vdouble(40000, 0, 20),
1798 <            inputVariables = cms.vstring("abs(d0)")
1795 >            name = cms.string("mcparticleAbsD0Beamspot"),
1796 >            title = cms.string("MCParticle |d_{0}| wrt Beamspot; |d_{0}| [cm]"),
1797 >            bins = cms.untracked.vdouble(100, 0, 20),
1798 >            inputVariables = cms.vstring("abs(d0Beamspot)")
1799          ),
1800          cms.PSet (
1801 <            name = cms.string("mcparticleD0S"),
1802 <            title = cms.string("MCParticle |d_{0}| wrt PV; |d_{0}| [cm]"),
1803 <            bins = cms.untracked.vdouble(100, 0, 0.05),
1804 <            inputVariables = cms.vstring("abs(d0)")
1801 >            name = cms.string("mcparticleAbsD0Origin"),
1802 >            title = cms.string("MCParticle |d_{0}| wrt Origin; |d_{0}| [cm]"),
1803 >            bins = cms.untracked.vdouble(100, 0, 20),
1804 >            inputVariables = cms.vstring("abs(d0Origin)")
1805          ),
1806          cms.PSet (
1807 <            name = cms.string("mcparticleD0M"),
1808 <            title = cms.string("MCParticle |d_{0}| wrt PV; |d_{0}| [cm]"),
1807 >            name = cms.string("mcparticleDz"),
1808 >            title = cms.string("MCparticle d_{z}; d_{z} [cm]"),
1809 >            bins = cms.untracked.vdouble(100, -0.5, 0.5),
1810 >            inputVariables = cms.vstring("dz"),
1811 >        ),
1812 >        cms.PSet (
1813 >            name = cms.string("mcparticleAbsDZ"),
1814 >            title = cms.string("MCparticle d_{z}; |d_{z}| [cm]"),
1815              bins = cms.untracked.vdouble(100, 0, 0.5),
1816 <            inputVariables = cms.vstring("abs(d0)")
1816 >            inputVariables = cms.vstring("abs(dz)"),
1817          ),
1818 +    )
1819 + )    
1820 +
1821 + #######################################################################################
1822 + SecondaryMCParticleHistograms = cms.PSet(
1823 +    inputCollection = cms.string("secondary mcparticles"),
1824 +    histograms = cms.VPSet (
1825          cms.PSet (
1826 <            name = cms.string("mcparticleD0L"),
1827 <            title = cms.string("MCParticle |d_{0}| wrt PV; |d_{0}| [cm]"),
1828 <            bins = cms.untracked.vdouble(100, 0, 5),
1829 <            inputVariables = cms.vstring("abs(d0)")
1826 >            name = cms.string("secondaryMcparticlePt"),
1827 >            title = cms.string("Secondary MCparticle Transverse Momentum; p_{T} [GeV]"),
1828 >            bins = cms.untracked.vdouble(100, 0, 500),
1829 >            inputVariables = cms.vstring("pt"),
1830          ),
1831          cms.PSet (
1832 <            name = cms.string("mcparticleD0XL"),
1832 >            name = cms.string("secondaryMcparticleEta"),
1833 >            title = cms.string("Secondary MCparticle Eta; #eta"),
1834 >            bins = cms.untracked.vdouble(100, -3, 3),
1835 >            inputVariables = cms.vstring("eta"),
1836 >        ),
1837 >        cms.PSet (
1838 >            name = cms.string("secondaryMcparticleStatus"),
1839 >            title = cms.string("Secondary MCparticle Status; status"),
1840 >            bins = cms.untracked.vdouble(3, 1, 4),
1841 >            inputVariables = cms.vstring("status"),
1842 >        ),
1843 >        cms.PSet (
1844 >            name = cms.string("secondaryMcparticleAbsD0Vertex"),
1845              title = cms.string("MCParticle |d_{0}| wrt PV; |d_{0}| [cm]"),
1846 <            bins = cms.untracked.vdouble(100, 0, 50),
1847 <            inputVariables = cms.vstring("abs(d0)")
1848 <        ),  
1846 >            bins = cms.untracked.vdouble(100, 0, 20),
1847 >            inputVariables = cms.vstring("abs(d0Vertex)")
1848 >        ),
1849          cms.PSet (
1850 <            name = cms.string("mcparticleDz"),
1851 <            title = cms.string("MCparticle d_{z}; d_{z} [cm]"),
1850 >            name = cms.string("secondaryMcparticleAbsD0Beamspot"),
1851 >            title = cms.string("MCParticle |d_{0}| wrt Beamspot; |d_{0}| [cm]"),
1852 >            bins = cms.untracked.vdouble(100, 0, 20),
1853 >            inputVariables = cms.vstring("abs(d0Beamspot)")
1854 >        ),
1855 >        cms.PSet (
1856 >            name = cms.string("secondaryMcparticleAbsD0Origin"),
1857 >            title = cms.string("MCParticle |d_{0}| wrt Origin; |d_{0}| [cm]"),
1858 >            bins = cms.untracked.vdouble(100, 0, 20),
1859 >            inputVariables = cms.vstring("abs(d0Origin)")
1860 >        ),
1861 >        cms.PSet (
1862 >            name = cms.string("secondaryMcparticleDz"),
1863 >            title = cms.string("Secondary MCparticle d_{z}; d_{z} [cm]"),
1864              bins = cms.untracked.vdouble(100, -0.5, 0.5),
1865              inputVariables = cms.vstring("dz"),
1866          ),
1867          cms.PSet (
1868 <            name = cms.string("mcparticleAbsDZ"),
1869 <            title = cms.string("MCparticle d_{z}; |d_{z}| [cm]"),
1868 >            name = cms.string("secondaryMcparticleAbsDZ"),
1869 >            title = cms.string("Secondary MCparticle d_{z}; |d_{z}| [cm]"),
1870              bins = cms.untracked.vdouble(100, 0, 0.5),
1871              inputVariables = cms.vstring("abs(dz)"),
1872          ),
# Line 2063 | Line 2081 | EventHistograms = cms.PSet(
2081              inputVariables = cms.vstring("puScaleFactor"),
2082          ),
2083          cms.PSet (
2084 +            name = cms.string("topPtScaleFactor"),
2085 +            title = cms.string("Top Pt Reweighting Factor; top pt weight "),
2086 +            bins = cms.untracked.vdouble(100, 0.5, 1.5),
2087 +            inputVariables = cms.vstring("topPtScaleFactor"),
2088 +        ),
2089 +        cms.PSet (
2090              name = cms.string("muonScaleFactor"),
2091              title = cms.string("Muon Scale Factor;muon weight"),
2092              bins = cms.untracked.vdouble(100, 0.5, 1.5),
# Line 2086 | Line 2110 | EventHistograms = cms.PSet(
2110              bins = cms.untracked.vdouble(100, 0, 10),
2111              inputVariables = cms.vstring("stopCTauScaleFactor"),
2112          ),
2113 +        cms.PSet (
2114 +            name = cms.string("eventScaleFactor"),
2115 +            title = cms.string("Event Scale Factor; event weight"),
2116 +            bins = cms.untracked.vdouble(100, 0, 2),
2117 +            inputVariables = cms.vstring("eventScaleFactor"),
2118 +        ),
2119      )
2120   )
2121  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines