CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
updateHPSPFTaus_cff.py
Go to the documentation of this file.
2 import copy
3 
4 '''
5 
6 Sequences for HPS taus that need to be rerun in order to update Monte Carlo/Data samples produced with CMSSW_5_2_x RecoTauTag tags
7 to the latest tau id. developments recommended by the Tau POG
8 
9 authors: Evan Friis, Wisconsin
10  Christian Veelken, LLR
11 
12 '''
13 
14 ## import for scheduled mode
15 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByChargedIsolationSeq
16 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByDecayModeFinding
17 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByLooseElectronRejection
18 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByMediumElectronRejection
19 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByTightElectronRejection
20 ## imports for unscheduled mode
21 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByVLooseChargedIsolation
22 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByLooseChargedIsolation
23 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByMediumChargedIsolation
24 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByTightChargedIsolation
25 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByVLooseIsolation
26 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByLooseIsolation
27 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByMediumIsolation
28 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByTightIsolation
29 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByVLooseIsolationDBSumPtCorr
30 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByLooseIsolationDBSumPtCorr
31 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByMediumIsolationDBSumPtCorr
32 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByTightIsolationDBSumPtCorr
33 ## import for scheduled mode
34 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByMVAIsolationSeq
35 ## imports for unscheduled mode
36 from RecoTauTag.Configuration.HPSPFTaus_cff import kt6PFJetsForRhoComputationVoronoi
37 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByIsolationMVAraw
38 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByLooseIsolationMVA
39 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByMediumIsolationMVA
40 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByTightIsolationMVA
41 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByIsolationMVA2raw
42 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByLooseIsolationMVA2
43 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByMediumIsolationMVA2
44 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByTightIsolationMVA2
45 
46 
47 ## import for (un-)scheduled mode
48 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByVLooseCombinedIsolationDBSumPtCorr
49 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByRawCombinedIsolationDBSumPtCorr
50 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByRawChargedIsolationDBSumPtCorr
51 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByRawGammaIsolationDBSumPtCorr
52 from RecoTauTag.Configuration.HPSPFTaus_cff import pfRecoTauDiscriminationAgainstElectronMVA
53 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByMVAElectronRejection
54 from RecoTauTag.Configuration.HPSPFTaus_cff import pfRecoTauDiscriminationAgainstElectronMVA2
55 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByMVA2rawElectronRejection
56 from RecoTauTag.Configuration.HPSPFTaus_cff import recoTauDiscriminantCutMultiplexer
57 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByMVA2VLooseElectronRejection
58 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByMVA2LooseElectronRejection
59 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByMVA2MediumElectronRejection
60 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByMVA2TightElectronRejection
61 from RecoTauTag.Configuration.HPSPFTaus_cff import pfRecoTauDiscriminationAgainstMuon
62 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByLooseMuonRejection
63 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByMediumMuonRejection
64 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByTightMuonRejection
65 
66 # new discriminators
67 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByMVA3rawElectronRejection
68 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByMVA3VTightElectronRejection
69 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByMVA3LooseElectronRejection
70 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByMVA3MediumElectronRejection
71 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByMVA3TightElectronRejection
72 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByDeadECALElectronRejection
73 
74 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr
75 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr
76 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr
77 
78 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits
79 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3Hits
80 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3Hits
81 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByRawCombinedIsolationDBSumPtCorr3Hits
82 
83 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByLooseMuonRejection2
84 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByMediumMuonRejection2
85 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByTightMuonRejection2
86 
87 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByLooseMuonRejection3
88 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByTightMuonRejection3
89 
90 updateHPSPFTaus = cms.Sequence(
91  hpsPFTauDiscriminationByDecayModeFinding*
92  hpsPFTauDiscriminationByChargedIsolationSeq*
93  hpsPFTauDiscriminationByMVAIsolationSeq*
94  hpsPFTauDiscriminationByRawCombinedIsolationDBSumPtCorr*
95  hpsPFTauDiscriminationByRawChargedIsolationDBSumPtCorr*
96  hpsPFTauDiscriminationByRawGammaIsolationDBSumPtCorr*
97  hpsPFTauDiscriminationByVLooseIsolation*
98  hpsPFTauDiscriminationByLooseIsolation*
99  hpsPFTauDiscriminationByMediumIsolation*
100  hpsPFTauDiscriminationByTightIsolation*
101  hpsPFTauDiscriminationByVLooseIsolationDBSumPtCorr*
102  hpsPFTauDiscriminationByLooseIsolationDBSumPtCorr*
103  hpsPFTauDiscriminationByMediumIsolationDBSumPtCorr*
104  hpsPFTauDiscriminationByTightIsolationDBSumPtCorr*
105  hpsPFTauDiscriminationByVLooseCombinedIsolationDBSumPtCorr*
106  hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr*
107  hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr*
108  hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr*
109 
110  hpsPFTauDiscriminationByLooseCombinedIsolationDBSumPtCorr3Hits*
111  hpsPFTauDiscriminationByMediumCombinedIsolationDBSumPtCorr3Hits*
112  hpsPFTauDiscriminationByTightCombinedIsolationDBSumPtCorr3Hits*
113  hpsPFTauDiscriminationByRawCombinedIsolationDBSumPtCorr3Hits*
114 
115  hpsPFTauDiscriminationByLooseElectronRejection*
116  hpsPFTauDiscriminationByMediumElectronRejection*
117  hpsPFTauDiscriminationByTightElectronRejection*
118  hpsPFTauDiscriminationByMVAElectronRejection*
119  hpsPFTauDiscriminationByMVA2rawElectronRejection*
120  hpsPFTauDiscriminationByMVA2LooseElectronRejection*
121  hpsPFTauDiscriminationByMVA2VLooseElectronRejection*
122  hpsPFTauDiscriminationByMVA2MediumElectronRejection*
123  hpsPFTauDiscriminationByMVA2TightElectronRejection*
124  hpsPFTauDiscriminationByLooseMuonRejection*
125  hpsPFTauDiscriminationByMediumMuonRejection*
126  hpsPFTauDiscriminationByTightMuonRejection*
127  hpsPFTauDiscriminationByLooseMuonRejection2*
128  hpsPFTauDiscriminationByMediumMuonRejection2*
129  hpsPFTauDiscriminationByTightMuonRejection2*
130  hpsPFTauDiscriminationByLooseMuonRejection3*
131  hpsPFTauDiscriminationByTightMuonRejection3*
132 
133  hpsPFTauDiscriminationByMVA3rawElectronRejection*
134  hpsPFTauDiscriminationByMVA3LooseElectronRejection*
135  hpsPFTauDiscriminationByMVA3VTightElectronRejection*
136  hpsPFTauDiscriminationByMVA3MediumElectronRejection*
137  hpsPFTauDiscriminationByMVA3TightElectronRejection*
138  hpsPFTauDiscriminationByDeadECALElectronRejection
139 )