CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
hltSMPValidator_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # taken from hltHiggsValidator_cfi.py in HLTriggerOffline/Higgs/python
4 hltSMPValidator = cms.EDAnalyzer("HLTHiggsValidator",
5 
6  hltProcessName = cms.string("HLT"),
7  histDirectory = cms.string("HLT/SMP"),
8  analysis = cms.vstring("SinglePhoton"),
9 
10  # -- The instance name of the reco::GenParticles collection
11  genParticleLabel = cms.string("genParticles"),
12 
13  # -- The instance name of the reco::GenJets collection
14  # (not used but required to be set)
15  genJetLabel = cms.string("ak5GenJets"),
16 
17  # -- The nomber of interactions in the event
18  pileUpInfoLabel = cms.string("addPileupInfo"),
19 
20  # -- The binning of the Pt efficiency plots
21  parametersTurnOn = cms.vdouble(0,
22  1, 8, 9, 10,
23  11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
24  22, 24, 26, 28, 30, 32, 34, 36, 38, 40,
25  45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100,
26  110, 120, 130, 140, 150, 160, 170, 180, 190, 200,
27  220, 250, 300, 400, 500
28  ),
29 
30  # -- (NBins, minVal, maxValue) for the Eta,Phi and nInterations efficiency plots
31  parametersEta = cms.vdouble(48, -2.400, 2.400),
32  parametersPhi = cms.vdouble(50, -3.142, 3.142),
33  parametersPu = cms.vdouble(10, 0, 20),
34 
35  # TO BE DEPRECATED --------------------------------------------
36  cutsDr = cms.vdouble(0.4, 0.4, 0.015), # TO BE DEPRECATED
37  # parameters for attempting an L1 match using a propagator
38  maxDeltaPhi = cms.double(0.4), # TO BE DEPRECATED
39  maxDeltaR = cms.double(0.4), # TO BE DEPRECATED
40  # TO BE DEPRECATED --------------------------------------------
41 
42  # Definition of generic cuts on generated and reconstructed objects (note that
43  # these cuts can be overloaded inside a particular analysis)
44  # Objects recognized: Mu Ele Photon PFTau MET
45  # Syntax in the strings: valid syntax of the StringCutObjectSelector class
46  # --- Muons
47  Mu_genCut = cms.string("pt > 10 && abs(eta) < 2.4 && abs(pdgId) == 13 && status == 1"),
48  Mu_recCut = cms.string("pt > 10 && abs(eta) < 2.4 && isGlobalMuon"),
49  Mu_cutMinPt = cms.double(10), # TO BE DEPRECATED
50  Mu_cutMaxEta = cms.double(2.4), # TO BE DEPRECATED
51 
52  # --- Electrons
53  Ele_genCut = cms.string("pt > 10 && abs(eta) < 2.5 && abs(pdgId) == 11 && status == 1"),
54  Ele_recCut = cms.string("pt > 10 && abs(eta) < 2.5 && hadronicOverEm < 0.05 && eSuperClusterOverP > 0.5 && eSuperClusterOverP < 2.5"),
55  Ele_cutMinPt = cms.double(10), # TO BE DEPRECATED
56  Ele_cutMaxEta = cms.double(2.5), # TO BE DEPRECATED
57 
58  # --- Photons
59  Photon_genCut = cms.string("abs(pdgId) == 22 && status == 1"),
60  Photon_recCut = cms.string("pt > 20 && abs(eta) < 2.4 && hadronicOverEm < 0.1 && ("+\
61  " abs(eta) < 1.479 && sigmaIetaIeta < 0.010 || "+\
62  " abs(eta) > 1.479 && sigmaIetaIeta < 0.027 ) && "+\
63  " ecalRecHitSumEtConeDR03 < (5.0+0.012*et) && hcalTowerSumEtConeDR03 < (5.0+0.0005*et ) && trkSumPtSolidConeDR03 < (5.0 + 0.0002*et)" ),
64  Photon_cutMinPt = cms.double(20), # TO BE DEPRECATED
65  Photon_cutMaxEta = cms.double(2.4),# TO BE DEPRECATED
66 
67  # The specific parameters per analysis: the name of the parameter set has to be
68  # the same as the defined ones in the 'analysis' datamember. Each analysis is a PSet
69  # with the mandatory attributes:
70  # - hltPathsToCheck (cms.vstring) : a list of all the trigger pats to be checked
71  # in this analysis. Up to the version number _v, but not including
72  # the number in order to avoid this version dependence. Example: HLT_Mu18_v
73  # - recVarLabel (cms.string): where Var can be Muon, Elec, Photon, CaloMET, PFTau. This
74  # attribute is the name of the INSTANCE LABEL for each RECO collection to
75  # be considered in the analysis. Note that the trigger paths rely on some
76  # objects which need to be defined here, otherwise the code will complain.
77  # - minCandidates (cms.uint32): the minimum number of GEN/RECO objects in the event
78  # Besides the mandatory attributes, you can redefine the generation and reconstruction cuts
79  # for any object you want.
80  # * Var_genCut, Var_recCut (cms.string): where Var=Mu, Ele, Photon, MET, PFTau (see above)
81 
82  SinglePhoton = cms.PSet(
83  hltPathsToCheck = cms.vstring(
84  "HLT_Photon22_v",
85  "HLT_Photon30_v",
86  "HLT_Photon36_v",
87  "HLT_Photon50_v",
88  "HLT_Photon75_v",
89  "HLT_Photon90_v",
90  "HLT_Photon120_v",
91  "HLT_Photon165_HE10_v",
92  "HLT_Photon22_R9Id90_HE10_IsoM_v",
93  "HLT_Photon30_R9Id90_HE10_IsoM_v",
94  "HLT_Photon36_R9Id90_HE10_IsoM_v",
95  "HLT_Photon50_R9Id90_HE10_IsoM_v",
96  "HLT_Photon75_R9Id90_HE10_IsoM_v",
97  "HLT_Photon90_R9Id90_HE10_IsoM_v",
98  "HLT_Photon120_R9Id90_HE10_IsoM_v",
99  "HLT_Photon165_R9Id90_HE10_IsoM_v",
100  ),
101  recPhotonLabel = cms.string("photons"),
102  # -- Analysis specific cuts
103  minCandidates = cms.uint32(1),
104  ),
105 )