CMS 3D CMS Logo

autoSkim.py
Go to the documentation of this file.
1 #The autoSkim should be reviewed for Run-3 when PDs are available
2 autoSkim = {
3  'BTagCSV' : 'LogError+LogErrorMonitor',
4  'BTagMu' : 'LogError+LogErrorMonitor',
5  'HTMHT' : 'LogError+LogErrorMonitor',
6  'JetHT' : 'JetHTJetPlusHOFilter+LogError+LogErrorMonitor',
7  'DisplacedJet' : 'LogError+LogErrorMonitor',
8  'MET' : 'HighMET+LogError+LogErrorMonitor',
9  'SingleElectron' : 'LogError+LogErrorMonitor', #to be updated if we will have EGamma as Run-2 (2018), or splitting as 2016,2017
10  'SinglePhoton' : 'SinglePhotonJetPlusHOFilter+EXOMONOPOLE+LogError+LogErrorMonitor', #to be updated if we will have EGamma as Run-2 (2018), or splitting as 2016,2017
11  'DoubleEG' : 'ZElectron+LogError+LogErrorMonitor', #to be updated if we will have EGamma as Run-2 (2018), or splitting as 2016,2017
12  'EGamma':'SinglePhotonJetPlusHOFilter+ZElectron+EXOMONOPOLE+LogError+LogErrorMonitor',
13  'Tau' : 'LogError+LogErrorMonitor',
14  'SingleMuon' : 'MuonPOGSkim+ZMu+MuTau+LogError+LogErrorMonitor',
15  'DoubleMuon' : 'LogError+LogErrorMonitor',
16  'MuonEG' : 'TopMuEG+LogError+LogErrorMonitor',
17  'DoubleMuonLowMass' : 'BPHSkim+LogError+LogErrorMonitor',
18  'MuOnia' : 'BPHSkim+LogError+LogErrorMonitor',
19  'Charmonium' : 'MuonPOGJPsiSkim+BPHSkim+LogError+LogErrorMonitor',
20  'NoBPTX' : 'EXONoBPTXSkim+LogError+LogErrorMonitor',
21  'HcalHPDNoise' : 'LogError+LogErrorMonitor',
22  'HcalNZS' : 'LogError+LogErrorMonitor',
23  'HLTPhysics' : 'LogError+LogErrorMonitor',
24  'ZeroBias' : 'LogError+LogErrorMonitor',
25  'Commissioning' : 'EcalActivity+LogError+LogErrorMonitor',
26  'Cosmics':'CosmicSP+CosmicTP+LogError+LogErrorMonitor',
27  'ParkingBPH':'SkimBPark+LogError+LogErrorMonitor',
28 }
29 
30 autoSkimRunII = {
31  'BTagCSV' : 'LogError+LogErrorMonitor',
32  'BTagMu' : 'LogError+LogErrorMonitor',
33  'HTMHT' : 'LogError+LogErrorMonitor',
34  'JetHT' : 'JetHTJetPlusHOFilter+LogError+LogErrorMonitor',
35  'DisplacedJet' : 'LogError+LogErrorMonitor',
36  'MET' : 'HighMET+EXOMONOPOLE+LogError+LogErrorMonitor',
37  'SingleElectron' : 'LogError+LogErrorMonitor',
38  'SinglePhoton' : 'SinglePhotonJetPlusHOFilter+EXOMONOPOLE+LogError+LogErrorMonitor',
39  'DoubleEG' : 'ZElectron+EXOMONOPOLE+LogError+LogErrorMonitor',
40  'EGamma':'SinglePhotonJetPlusHOFilter+ZElectron+EXOMONOPOLE+LogError+LogErrorMonitor',
41  'Tau' : 'LogError+LogErrorMonitor',
42  'SingleMuon' : 'MuonPOGSkim+ZMu+MuTau+LogError+LogErrorMonitor',
43  'DoubleMuon' : 'LogError+LogErrorMonitor',
44  'MuonEG' : 'TopMuEG+LogError+LogErrorMonitor',
45  'DoubleMuonLowMass' : 'BPHSkim+LogError+LogErrorMonitor',
46  'MuOnia' : 'BPHSkim+LogError+LogErrorMonitor',
47  'Charmonium' : 'MuonPOGJPsiSkim+BPHSkim+LogError+LogErrorMonitor',
48  'NoBPTX' : 'EXONoBPTXSkim+LogError+LogErrorMonitor',
49  'HcalHPDNoise' : 'LogError+LogErrorMonitor',
50  'HcalNZS' : 'LogError+LogErrorMonitor',
51  'HLTPhysics' : 'LogError+LogErrorMonitor',
52  'ZeroBias' : 'LogError+LogErrorMonitor',
53  'Commissioning' : 'EcalActivity+LogError+LogErrorMonitor',
54  'Cosmics':'CosmicSP+CosmicTP+LogError+LogErrorMonitor',
55  'ParkingBPH':'SkimBPark+LogError+LogErrorMonitor',
56 }
57 #2018 EGamma is a merged datasets of SingleElectron, SinglePhoton, DoubleEG
58 
59 autoSkimRunI = {
60  'MinBias':'MuonTrack+BeamBkg+ValSkim+LogError+HSCPSD',
61  'ZeroBias':'LogError',
62  'Commissioning':'DT+LogError',
63  'Cosmics':'CosmicSP+CosmicTP+LogError',
64  'Mu' : 'WMu+ZMu+HighMET+LogError',
65  'EG':'WElectron+ZElectron+HighMET+LogError',
66  'TopMuEG':'TopMuEG+LogError',
67  'Electron':'WElectron+ZElectron+HighMET+LogError',
68  'Photon':'WElectron+ZElectron+HighMET+LogError+DiPhoton+EXOHPTE',
69  'JetMETTau':'LogError+Tau',
70  'JetMET':'HighMET+LogError',
71  'BTau':'LogError+Tau',
72  'Jet':'HighMET+LogError',
73  'METFwd':'HighMET+LogError',
74  'SingleMu' : 'WMu+ZMu+HighMET+LogError+HWW+HZZ+DiTau+EXOHSCP',
75  'DoubleMu' : 'WMu+ZMu+HighMET+LogError+HWW+HZZ+EXOHSCP',
76  'SingleElectron' : 'WElectron+HighMET+LogError+HWW+HZZ+Tau',
77  'DoubleElectron' : 'ZElectron+LogError+HWW+HZZ',
78  'MuEG' : 'LogError+HWW+HZZ',
79  'METBTag': 'HighMET+LogError+EXOHSCP',
80  'BTag': 'LogError+EXOHSCP',
81  'MET': 'HighMET+LogError+EXOHSCP',
82  'HighMET': 'HighMET+LogError',
83  'HT': 'HighMET+LogError',
84  'Tau': 'LogError',
85  'MuTau': 'MuTau+LogError',
86  'PhotonHad': 'LogError',
87  'MuHad': 'LogError',
88  'MultiJet': 'LogError',
89  'MuOnia': 'LogError',
90  'ElectronHad': 'LogError',
91  'TauPlusX': 'LogError',
92 }
93 
94 autoSkimPDWG = {
95 }
96 
97 autoSkimDPG = {
98 }
99 
100 def mergeMapping(map1,map2):
101  merged={}
102  for k in list(set(map1.keys()+map2.keys())):
103  items=[]
104  if k in map1:
105  items.append(map1[k])
106  if k in map2:
107  items.append(map2[k])
108  merged[k]='+'.join(items)
109  return merged
110 
111 #autoSkim = mergeMapping(autoSkimPDWG,autoSkimDPG)
112 #print autoSkim
def mergeMapping(map1, map2)
Definition: autoSkim.py:100
static std::string join(char **cmd)
Definition: RemoteFile.cc:19