CMS 3D CMS Logo

autoSkim.py
Go to the documentation of this file.
1 autoSkim = {
2 
3  # Skim 2023
4  'BTagMu' : 'LogError+LogErrorMonitor',
5  'DisplacedJet' : 'EXODisplacedJet+EXODelayedJet+EXODTCluster+EXOLLPJetHCAL+LogError+LogErrorMonitor',
6  'JetMET0' : 'JetHTJetPlusHOFilter+EXOHighMET+EXODelayedJetMET+EXODisappTrk+LogError+LogErrorMonitor',
7  'JetMET1' : 'JetHTJetPlusHOFilter+EXOHighMET+EXODelayedJetMET+EXODisappTrk+LogError+LogErrorMonitor',
8  'EGamma0':'ZElectron+WElectron+EXOMONOPOLE+EXODisappTrk+IsoPhotonEB+LogError+LogErrorMonitor',
9  'EGamma1':'ZElectron+WElectron+EXOMONOPOLE+EXODisappTrk+IsoPhotonEB+LogError+LogErrorMonitor',
10  'Tau' : 'EXODisappTrk+LogError+LogErrorMonitor',
11  'Muon0' : 'ZMu+EXODisappTrk+EXOCSCCluster+EXODisappMuon+LogError+LogErrorMonitor',
12  'Muon1' : 'ZMu+EXODisappTrk+EXOCSCCluster+EXODisappMuon+LogError+LogErrorMonitor',
13  'MuonEG' : 'TopMuEG+LogError+LogErrorMonitor',
14  'NoBPTX' : 'EXONoBPTXSkim+LogError+LogErrorMonitor',
15  'HcalNZS' : 'LogError+LogErrorMonitor',
16  'HLTPhysics' : 'LogError+LogErrorMonitor',
17  'ZeroBias' : 'LogError+LogErrorMonitor',
18  'Commissioning' : 'EcalActivity+LogError+LogErrorMonitor',
19  'Cosmics':'CosmicSP+CosmicTP+LogError+LogErrorMonitor',
20  'ParkingDoubleMuonLowMass0': 'ReserveDMu+LogError+LogErrorMonitor',
21  'ParkingDoubleMuonLowMass1': 'ReserveDMu+LogError+LogErrorMonitor',
22  'ParkingDoubleMuonLowMass2': 'ReserveDMu+LogError+LogErrorMonitor',
23  'ParkingDoubleMuonLowMass3': 'ReserveDMu+LogError+LogErrorMonitor',
24  'ParkingDoubleMuonLowMass4': 'ReserveDMu+LogError+LogErrorMonitor',
25  'ParkingDoubleMuonLowMass5': 'ReserveDMu+LogError+LogErrorMonitor',
26  'ParkingDoubleMuonLowMass6': 'ReserveDMu+LogError+LogErrorMonitor',
27  'ParkingDoubleMuonLowMass7': 'ReserveDMu+LogError+LogErrorMonitor',
28 
29  # These should be uncommented when 2022 data reprocessing
30  # Dedicated skim for 2022
31  #'JetMET' : 'JetHTJetPlusHOFilter+EXOHighMET+EXODelayedJetMET+EXODisappTrk+LogError+LogErrorMonitor',
32  #'EGamma':'ZElectron+WElectron+EXOMONOPOLE+EXODisappTrk+LogError+LogErrorMonitor',
33  #'Muon' : 'ZMu+EXODisappTrk+EXODisappMuon+LogError+LogErrorMonitor',
34  #'DisplacedJet' : 'EXODisplacedJet+EXODelayedJet+EXODTCluster+EXOCSCCluster+EXOLLPJetHCAL+LogError+LogErrorMonitor',
35  #'JetHT' : 'JetHTJetPlusHOFilter+LogError+LogErrorMonitor',
36  #'MET' : 'EXOHighMET+EXODelayedJetMET+EXODisappTrk+LogError+LogErrorMonitor',
37  #'SingleMuon' : 'ZMu+EXODisappTrk+EXODisappMuon+LogError+LogErrorMonitor',
38  #'DoubleMuon' : 'LogError+LogErrorMonitor',
39 
40  # Used in unit test scenario ppEra_Run2_2018
41  'SingleMuon': 'LogError+LogErrorMonitor',
42 }
43 
44 autoSkimRunII = {
45  'BTagCSV' : 'LogError+LogErrorMonitor',
46  'BTagMu' : 'LogError+LogErrorMonitor',
47  'HTMHT' : 'LogError+LogErrorMonitor',
48  'JetHT' : 'JetHTJetPlusHOFilter+LogError+LogErrorMonitor',
49  'DisplacedJet' : 'LogError+LogErrorMonitor',
50  'MET' : 'HighMET+EXOMONOPOLE+LogError+LogErrorMonitor',
51  'SingleElectron' : 'LogError+LogErrorMonitor',
52  'SinglePhoton' : 'SinglePhotonJetPlusHOFilter+EXOMONOPOLE+LogError+LogErrorMonitor',
53  'DoubleEG' : 'ZElectron+EXOMONOPOLE+LogError+LogErrorMonitor',
54  'EGamma':'SinglePhotonJetPlusHOFilter+ZElectron+EXOMONOPOLE+LogError+LogErrorMonitor',
55  'Tau' : 'LogError+LogErrorMonitor',
56  'SingleMuon' : 'MuonPOGSkim+ZMu+MuTau+LogError+LogErrorMonitor',
57  'DoubleMuon' : 'LogError+LogErrorMonitor',
58  'MuonEG' : 'TopMuEG+LogError+LogErrorMonitor',
59  'DoubleMuonLowMass' : 'BPHSkim+LogError+LogErrorMonitor',
60  'MuOnia' : 'BPHSkim+LogError+LogErrorMonitor',
61  'Charmonium' : 'MuonPOGJPsiSkim+BPHSkim+LogError+LogErrorMonitor',
62  'NoBPTX' : 'EXONoBPTXSkim+LogError+LogErrorMonitor',
63  'HcalHPDNoise' : 'LogError+LogErrorMonitor',
64  'HcalNZS' : 'LogError+LogErrorMonitor',
65  'HLTPhysics' : 'LogError+LogErrorMonitor',
66  'ZeroBias' : 'LogError+LogErrorMonitor',
67  'Commissioning' : 'EcalActivity+LogError+LogErrorMonitor',
68  'Cosmics':'CosmicSP+CosmicTP+LogError+LogErrorMonitor',
69  'ParkingBPH':'SkimBPark+LogError+LogErrorMonitor',
70 }
71 #2018 EGamma is a merged datasets of SingleElectron, SinglePhoton, DoubleEG
72 
73 autoSkimRunI = {
74  'MinBias':'MuonTrack+BeamBkg+ValSkim+LogError+HSCPSD',
75  'ZeroBias':'LogError',
76  'Commissioning':'DT+LogError',
77  'Cosmics':'CosmicSP+CosmicTP+LogError',
78  'Mu' : 'WMu+ZMu+HighMET+LogError',
79  'EG':'WElectron+ZElectron+HighMET+LogError',
80  'TopMuEG':'TopMuEG+LogError',
81  'Electron':'WElectron+ZElectron+HighMET+LogError',
82  'Photon':'WElectron+ZElectron+HighMET+LogError+DiPhoton+EXOHPTE',
83  'JetMETTau':'LogError+Tau',
84  'JetMET':'HighMET+LogError',
85  'BTau':'LogError+Tau',
86  'Jet':'HighMET+LogError',
87  'METFwd':'HighMET+LogError',
88  'SingleMu' : 'WMu+ZMu+HighMET+LogError+HWW+HZZ+DiTau+EXOHSCP',
89  'DoubleMu' : 'WMu+ZMu+HighMET+LogError+HWW+HZZ+EXOHSCP',
90  'SingleElectron' : 'WElectron+HighMET+LogError+HWW+HZZ+Tau',
91  'DoubleElectron' : 'ZElectron+LogError+HWW+HZZ',
92  'MuEG' : 'LogError+HWW+HZZ',
93  'METBTag': 'HighMET+LogError+EXOHSCP',
94  'BTag': 'LogError+EXOHSCP',
95  'MET': 'HighMET+LogError+EXOHSCP',
96  'HighMET': 'HighMET+LogError',
97  'HT': 'HighMET+LogError',
98  'Tau': 'LogError',
99  'MuTau': 'MuTau+LogError',
100  'PhotonHad': 'LogError',
101  'MuHad': 'LogError',
102  'MultiJet': 'LogError',
103  'MuOnia': 'LogError',
104  'ElectronHad': 'LogError',
105  'TauPlusX': 'LogError',
106 }
107 
108 autoSkimPDWG = {
109 }
110 
111 autoSkimDPG = {
112 }
113 
114 def mergeMapping(map1,map2):
115  merged={}
116  for k in list(set(map1.keys()+map2.keys())):
117  items=[]
118  if k in map1:
119  items.append(map1[k])
120  if k in map2:
121  items.append(map2[k])
122  merged[k]='+'.join(items)
123  return merged
124 
125 #autoSkim = mergeMapping(autoSkimPDWG,autoSkimDPG)
126 #print autoSkim
def mergeMapping(map1, map2)
Definition: autoSkim.py:114
static std::string join(char **cmd)
Definition: RemoteFile.cc:19