CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/ElectroWeakAnalysis/ZMuMu/python/zSelection_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 zSelectionLoose = cms.PSet(
00004     cut = cms.string("charge = 0 & daughter(0).pt > 15 & daughter(1).pt > 15 & abs(daughter(0).eta)<2.4 & abs(daughter(1).eta)<2.4 & mass > 0"),
00005     isoCut = cms.double(1000.),
00006     ptThreshold = cms.untracked.double("1.5"),
00007     etEcalThreshold = cms.untracked.double("0.2"),
00008     etHcalThreshold = cms.untracked.double("0.5"),
00009     deltaRVetoTrk = cms.untracked.double("0.015"),
00010     deltaRTrk = cms.untracked.double("0.3"),
00011     deltaREcal = cms.untracked.double("0.25"),
00012     deltaRHcal = cms.untracked.double("0.25"),
00013     alpha = cms.untracked.double("0."),
00014     beta = cms.untracked.double("-0.75"),
00015     relativeIsolation = cms.bool(False)
00016 
00017 # For standard isolation (I_Tkr<3GeV) choose this configuration:
00018 #   isoCut = cms.double(3.),
00019 #   ptThreshold = cms.untracked.double("1.5"),
00020 #   etEcalThreshold = cms.untracked.double("0.2"),
00021 #   etHcalThreshold = cms.untracked.double("0.5"),
00022 #   deltaRVetoTrk = cms.untracked.double("0.015"),
00023 #   deltaRTrk = cms.untracked.double("0.3"),
00024 #   deltaREcal = cms.untracked.double("0.25"),
00025 #   deltaRHcal = cms.untracked.double("0.25"),
00026 #   alpha = cms.untracked.double("0."),
00027 #   beta = cms.untracked.double("-0.75"),
00028 #   relativeIsolation = cms.bool(False)
00029  )
00030 
00031 
00032 ##### I = alpha /2 (( 1 + beta) HCal + (1 - beta) Ecal ) + (1 - alpha)Trk
00033 
00034 ####### combined isolation 
00035 #zSelection = cms.PSet(
00036 #    cut = cms.string("charge = 0 & daughter(0).pt > 20. & daughter(1).pt > 20. & abs(daughter(0).eta)<2.1 & abs(daughter(1).eta)<2.1 & mass > 0"),
00037 #    isoCut = cms.double(.45), ### with alpha = 2/3 and beta =0, so 0.45 is equivalent to 0.15......
00038 #    ptThreshold = cms.untracked.double("0."),
00039 #    etEcalThreshold = cms.untracked.double("0."),
00040 #    etHcalThreshold = cms.untracked.double("0."),
00041 #    deltaRVetoTrk = cms.untracked.double("0.01"),
00042 #    deltaRTrk = cms.untracked.double("0.3"),
00043 #    deltaREcal = cms.untracked.double("0.3"),
00044 #    deltaRHcal = cms.untracked.double("0.3"),
00045 #    alpha = cms.untracked.double("0.666667"),
00046 #    beta = cms.untracked.double("0.0"),
00047 #    relativeIsolation = cms.bool(True)
00048 # )
00049 
00050 
00051 #### tracker isolation
00052 zSelection = cms.PSet(
00053     cut = cms.string("charge = 0 & daughter(0).pt > 20. & daughter(1).pt > 20. & abs(daughter(0).eta)<2.1 & abs(daughter(1).eta)<2.1 & mass > 0"),
00054     isoCut = cms.double(3.00), 
00055     ptThreshold = cms.untracked.double("0."),
00056     etEcalThreshold = cms.untracked.double("0."),
00057     etHcalThreshold = cms.untracked.double("0."),
00058     deltaRVetoTrk = cms.untracked.double("0.01"),
00059     deltaRTrk = cms.untracked.double("0.3"),
00060     deltaREcal = cms.untracked.double("0.3"),
00061     deltaRHcal = cms.untracked.double("0.3"),
00062     alpha = cms.untracked.double("0."),
00063     beta = cms.untracked.double("0.0"),
00064     relativeIsolation = cms.bool(False)
00065  )
00066 
00067 
00068 
00069  
00070 ### region A: |eta|<2.1, region B: 2.1< |eta| <2.4
00071 
00072 zSelectionABLoose = cms.PSet(
00073     cut = cms.string("charge = 0 & daughter(0).pt > 15 & daughter(1).pt > 15 & ( (abs(daughter(0).eta)<2.1 & 2.1< abs(daughter(1).eta)<2.4 ) || (abs(daughter(1).eta)<2.1 & 2.1< abs(daughter(0).eta)<2.4 ) )  & mass > 0"),
00074     isoCut = cms.double(1000.),
00075     ptThreshold = cms.untracked.double("1.5"),
00076     etEcalThreshold = cms.untracked.double("0.2"),
00077     etHcalThreshold = cms.untracked.double("0.5"),
00078     deltaRVetoTrk = cms.untracked.double("0.015"),
00079     deltaRTrk = cms.untracked.double("0.3"),
00080     deltaREcal = cms.untracked.double("0.25"),
00081     deltaRHcal = cms.untracked.double("0.25"),
00082     alpha = cms.untracked.double("0."),
00083     beta = cms.untracked.double("-0.75"),
00084     relativeIsolation = cms.bool(False)
00085  )
00086 
00087 
00088 zSelectionAB = cms.PSet(
00089     cut = cms.string("charge = 0 & daughter(0).pt > 20. & daughter(1).pt > 20. & ( (abs(daughter(0).eta)<2.1 & 2.1< abs(daughter(1).eta)<2.4 ) || (abs(daughter(1).eta)<2.1 & 2.1< abs(daughter(0).eta)<2.4 ) )  & mass > 0"),
00090     isoCut = cms.double(1000.),
00091     ptThreshold = cms.untracked.double("1.5"),
00092     etEcalThreshold = cms.untracked.double("0.2"),
00093     etHcalThreshold = cms.untracked.double("0.5"),
00094     deltaRVetoTrk = cms.untracked.double("0.015"),
00095     deltaRTrk = cms.untracked.double("0.3"),
00096     deltaREcal = cms.untracked.double("0.25"),
00097     deltaRHcal = cms.untracked.double("0.25"),
00098     alpha = cms.untracked.double("0."),
00099     beta = cms.untracked.double("-0.75"),
00100     relativeIsolation = cms.bool(False)
00101  )
00102 
00103 
00104 zSelectionBBLoose = cms.PSet(
00105     cut = cms.string("charge = 0 & daughter(0).pt > 15 & daughter(1).pt > 15 & ( 2.1< abs(daughter(0).eta)<2.4 & 2.1< abs(daughter(1).eta)<2.4 )  & mass > 0"),
00106     isoCut = cms.double(1000.),
00107     ptThreshold = cms.untracked.double("1.5"),
00108     etEcalThreshold = cms.untracked.double("0.2"),
00109     etHcalThreshold = cms.untracked.double("0.5"),
00110     deltaRVetoTrk = cms.untracked.double("0.015"),
00111     deltaRTrk = cms.untracked.double("0.3"),
00112     deltaREcal = cms.untracked.double("0.25"),
00113     deltaRHcal = cms.untracked.double("0.25"),
00114     alpha = cms.untracked.double("0."),
00115     beta = cms.untracked.double("-0.75"),
00116     relativeIsolation = cms.bool(False)
00117  )
00118 
00119 
00120 zSelectionBB = cms.PSet(
00121     cut = cms.string("charge = 0 & daughter(0).pt > 20 & daughter(1).pt > 20 & ( 2.1< abs(daughter(0).eta)<2.4 & 2.1< abs(daughter(1).eta)<2.4 )  & mass > 0"),
00122     isoCut = cms.double(1000.),
00123     ptThreshold = cms.untracked.double("1.5"),
00124     etEcalThreshold = cms.untracked.double("0.2"),
00125     etHcalThreshold = cms.untracked.double("0.5"),
00126     deltaRVetoTrk = cms.untracked.double("0.015"),
00127     deltaRTrk = cms.untracked.double("0.3"),
00128     deltaREcal = cms.untracked.double("0.25"),
00129     deltaRHcal = cms.untracked.double("0.25"),
00130     alpha = cms.untracked.double("0."),
00131     beta = cms.untracked.double("-0.75"),
00132     relativeIsolation = cms.bool(False)
00133  )
00134 
00135 
00136 
00137 
00138 goodZTight = cms.EDFilter(
00139     "ZToMuMuIsolatedIDSelector",
00140     zSelection,
00141     src = cms.InputTag("goodZ"),
00142     filter = cms.bool(True) 
00143 )
00144