CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/HLTriggerOffline/Higgs/python/hltHiggsValidator_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 
00004 HLTHiggsValidator = cms.EDAnalyzer("HLTHiggsValidator",
00005                 
00006     hltProcessName = cms.string("HLT"),
00007     analysis       = cms.vstring("HWW", "HZZ", "Hgg", "Htaunu", "H2tau"),
00008     
00009     # -- The instance name of the reco::genParticles collection
00010     genParticleLabel = cms.string("genParticles"),
00011 
00012     # -- The binning of the Pt efficiency plots
00013     parametersTurnOn = cms.vdouble(0,
00014                                    1, 8, 9, 10,
00015                                    11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
00016                                    22, 24, 26, 28, 30, 32, 34, 36, 38, 40,
00017                                    45, 50, 55, 60, 65, 70,
00018                                    80, 100,
00019                                    ),
00020 
00021     # -- (NBins, minVal, maxValue) for the Eta and Phi efficiency plots
00022     parametersEta      = cms.vdouble(48, -2.400, 2.400),
00023     parametersPhi      = cms.vdouble(50, -3.142, 3.142),
00024 
00025     # TO BE DEPRECATED --------------------------------------------
00026     cutsDr = cms.vdouble(0.4, 0.4, 0.015), # TO BE DEPRECATED
00027     # parameters for attempting an L1 match using a propagator
00028     maxDeltaPhi = cms.double(0.4),  # TO BE DEPRECATED
00029     maxDeltaR   = cms.double(0.4),  # TO BE DEPRECATED
00030     # TO BE DEPRECATED --------------------------------------------
00031 
00032     # Definition of generic cuts on generated and reconstructed objects (note that
00033     # these cuts can be overloaded inside a particular analysis)
00034     # Objects recognized: Mu Ele Photon PFTau MET
00035     # Syntax in the strings: valid syntax of the StringCutObjectSelector class
00036     # --- muons
00037     Mu_genCut     = cms.string("pt > 10 && abs(eta) < 2.4 && abs(pdgId) == 13 && status == 1"),
00038     Mu_recCut     = cms.string("pt > 10 && abs(eta) < 2.4 && isGlobalMuon"),
00039     Mu_cutMinPt   = cms.double(10),  # TO BE DEPRECATED
00040     Mu_cutMaxEta  = cms.double(2.4), # TO BE DEPRECATED
00041     
00042     # --- Electrons
00043     Ele_genCut      = cms.string("pt > 10 && abs(eta) < 2.5 && abs(pdgId) == 11 && status == 1"),
00044     Ele_recCut      = cms.string("pt > 10 && abs(eta) < 2.5 && hadronicOverEm < 0.05 && eSuperClusterOverP > 0.5 && eSuperClusterOverP < 2.5"),
00045     Ele_cutMinPt    = cms.double(10),  # TO BE DEPRECATED
00046     Ele_cutMaxEta   = cms.double(2.5), # TO BE DEPRECATED
00047 
00048     # --- photons
00049     Photon_genCut     = cms.string("abs(pdgId) == 22 && status == 1"),
00050     Photon_recCut     = cms.string("pt > 20 && abs(eta) < 2.4 && hadronicOverEm < 0.1 && ( r9 < 0.85 || ("+\
00051                     " ( abs(eta) < 1.479 && sigmaIetaIeta < 0.014  || "+\
00052                     "   abs(eta) > 1.479 && sigmaIetaIeta < 0.0035 ) && "+\
00053                     " ecalRecHitSumEtConeDR03 < (5.0+0.012*et) && hcalTowerSumEtConeDR03 < (5.0+0.0005*et )  && trkSumPtSolidConeDR03 < (5.0 + 0.0002*et)"+\
00054                     " )"+")" ),
00055     Photon_cutMinPt   = cms.double(20), # TO BE DEPRECATED
00056     Photon_cutMaxEta  = cms.double(2.4),# TO BE DEPRECATED
00057 
00058     # --- Taus: 
00059     PFTau_genCut      = cms.string("pt > 20 && abs(eta) < 2.4 && abs(pdgId) == 15 && status == 3"),
00060     PFTau_recCut      = cms.string("pt > 20 && abs(eta) < 2.4"),  # STILL MISSING THIS INFO
00061     PFTau_cutMinPt    = cms.double(20), # TO BE DEPRECATED
00062     PFTau_cutMaxEta   = cms.double(2.5),# TO BE DEPRECATED
00063 
00064     # --- MET (calo)    
00065     MET_genCut      = cms.string("(abs(pdgId) == 12 || abs(pdgId)==14 || abs(pdgId) == 16 ) && status == 1"),
00066     MET_recCut      = cms.string("pt > 75."),  
00067     MET_cutMinPt    = cms.double(75), # TO BE DEPRECATED
00068     MET_cutMaxEta   = cms.double(0),  # TO BE DEPRECATED
00069 
00070     # The specific parameters per analysis: the name of the parameter set has to be 
00071     # the same as the defined ones in the 'analysis' datamember. Each analysis is a PSet
00072     # with the mandatory attributes:
00073     #    - hltPathsToCheck (cms.vstring) : a list of all the trigger pats to be checked 
00074     #                 in this analysis. Up to the version number _v, but not including 
00075     #                 the number in order to avoid this version dependence. Example: HLT_Mu18_v
00076     #    - recVarLabel (cms.string): where Var can be Muon, Elec, Photon, CaloMET, PFTau. This 
00077     #                 attribute is the name of the INSTANCE LABEL for each RECO collection to 
00078     #                 be considered in the analysis. Note that the trigger paths rely on some 
00079     #                 objects which need to be defined here, otherwise the code will complain. 
00080     #    - minCandidates (cms.uint32): the minimum number of GEN/RECO objects in the event
00081     # Besides the mandatory attributes, you can redefine the generation and reconstruction cuts
00082     # for any object you want.
00083     #    * Var_genCut, Var_recCut (cms.string): where Var=Mu, Ele, Photon, MET, PFTau (see above)
00084 
00085     HWW = cms.PSet( 
00086             hltPathsToCheck = cms.vstring(
00087                     "HLT_Mu17_Mu8_v",
00088                     "HLT_Mu17_TkMu8_v",
00089                     "HLT_Mu17_Ele8_CaloIdT_CaloIsoVL_TrkIdVL_TrkIsoVL_v",
00090                     "HLT_Mu8_Ele17_CaloIdT_CaloIsoVL_TrkIdVL_TrkIsoVL_v",
00091                     "HLT_Ele17_CaloIdT_CaloIsoVL_TrkIdVL_TrkIsoVL_Ele8_CaloIdT_CaloIsoVL_TrkIdVL_TrkIsoVL_v",
00092                     ),
00093             recMuonLabel  = cms.string("muons"),
00094             recElecLabel  = cms.string("gsfElectrons"),
00095             # -- analysis specific cuts
00096             minCandidates = cms.uint32(2),
00097             ),
00098     HZZ = cms.PSet( 
00099             hltPathsToCheck = cms.vstring(
00100                     "HLT_Mu17_TkMu8_v",
00101                     "HLT_Ele17_CaloIdT_CaloIsoVL_TrkIdVL_TrkIsoVL_Ele8_CaloIdT_CaloIsoVL_TrkIdVL_TrkIsoVL_v",
00102                     ),
00103             recMuonLabel  = cms.string("muons"),
00104             recElecLabel  = cms.string("gsfElectrons"),
00105             #recTrackLabel = cms.string("globalMuons"),
00106             # -- analysis specific cuts
00107             minCandidates = cms.uint32(4), 
00108             ),
00109     Hgg = cms.PSet( 
00110             hltPathsToCheck = cms.vstring(
00111                     "HLT_Photon26_R9Id85_OR_CaloId10_Iso50_Photon18_R9Id85_OR_CaloId10_Iso50_Mass60_v",
00112                     "HLT_Photon36_R9Id85_OR_CaloId10_Iso50_Photon22_R9Id85_OR_CaloId10_Iso50_v",
00113                     ),
00114             recPhotonLabel  = cms.string("photons"),
00115             # -- analysis specific cuts
00116             minCandidates = cms.uint32(2), 
00117             ),
00118     Htaunu = cms.PSet( 
00119             hltPathsToCheck = cms.vstring(
00120                     #"HLT_LooseIsoPFTau35_Trk20_MET75_v",
00121                     "HLT_LooseIsoPFTau35_Trk20_Prong1_MET75_v",
00122                     ),
00123             recPFTauLabel   = cms.string("hpsTancTaus"),
00124             recCaloMETLabel = cms.string("met"),
00125             # -- analysis specific cuts
00126             minCandidates = cms.uint32(2), 
00127             ),
00128     H2tau  = cms.PSet( 
00129             hltPathsToCheck = cms.vstring(
00130                     "HLT_Ele20_CaloIdVT_CaloIsoRhoT_TrkIdT_TrkIsoT_LooseIsoPFTau20_v",
00131                     "HLT_IsoMu18_eta2p1_LooseIsoPFTau20_v"
00132                     ),
00133             recPFTauLabel  = cms.string("hpsTancTaus"),
00134             recMuonLabel   = cms.string("muons"),
00135             recElecLabel   = cms.string("gsfElectrons"),
00136             # -- analysis specific cuts
00137             minCandidates = cms.uint32(2), 
00138             ),
00139 )