CMS 3D CMS Logo

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