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+LogError+LogErrorMonitor',
8  'SingleElectron' : 'LogError+LogErrorMonitor',
9  'SinglePhoton' : 'SinglePhotonJetPlusHOFilter+LogError+LogErrorMonitor',
10  'DoubleEG' : 'ZElectron+LogError+LogErrorMonitor',
11  'Tau' : 'LogError+LogErrorMonitor',
12  'SingleMuon' : 'ZMu+MuTau+LogError+LogErrorMonitor',
13  'DoubleMuon' : 'LogError+LogErrorMonitor',
14  'MuonEG' : 'TopMuEG+LogError+LogErrorMonitor',
15  'DoubleMuonLowMass' : 'BPHSkim+LogError+LogErrorMonitor',
16  'MuOnia' : 'BPHSkim+LogError+LogErrorMonitor',
17  'Charmonium' : 'BPHSkim+LogError+LogErrorMonitor',
18  'NoBPTX' : 'LogError+LogErrorMonitor',
19  'HcalHPDNoise' : 'LogError+LogErrorMonitor',
20  'HcalNZS' : 'LogError+LogErrorMonitor',
21  'HLTPhysics' : 'LogError+LogErrorMonitor',
22  'ZeroBias' : 'LogError+LogErrorMonitor',
23  'Commissioning' : 'EcalActivity+LogError+LogErrorMonitor',
24  'Cosmics':'CosmicSP+CosmicTP+LogError+LogErrorMonitor'
25 }
26 
27 autoSkimRunI = {
28  'MinBias':'MuonTrack+BeamBkg+ValSkim+LogError+HSCPSD',
29  'ZeroBias':'LogError',
30  'Commissioning':'DT+LogError',
31  'Cosmics':'CosmicSP+CosmicTP+LogError',
32  'Mu' : 'WMu+ZMu+HighMET+LogError',
33  'EG':'WElectron+ZElectron+HighMET+LogError',
34  'TopMuEG':'TopMuEG+LogError',
35  'Electron':'WElectron+ZElectron+HighMET+LogError',
36  'Photon':'WElectron+ZElectron+HighMET+LogError+DiPhoton+EXOHPTE',
37  'JetMETTau':'LogError+Tau',
38  'JetMET':'HighMET+LogError',
39  'BTau':'LogError+Tau',
40  'Jet':'HighMET+LogError',
41  'METFwd':'HighMET+LogError',
42  'SingleMu' : 'WMu+ZMu+HighMET+LogError+HWW+HZZ+DiTau+EXOHSCP',
43  'DoubleMu' : 'WMu+ZMu+HighMET+LogError+HWW+HZZ+EXOHSCP',
44  'SingleElectron' : 'WElectron+HighMET+LogError+HWW+HZZ+Tau',
45  'DoubleElectron' : 'ZElectron+LogError+HWW+HZZ',
46  'MuEG' : 'LogError+HWW+HZZ',
47  'METBTag': 'HighMET+LogError+EXOHSCP',
48  'BTag': 'LogError+EXOHSCP',
49  'MET': 'HighMET+LogError+EXOHSCP',
50  'HighMET': 'HighMET+LogError',
51 
52  'HT': 'HighMET+LogError',
53 
54  'Tau': 'LogError',
55  'MuTau': 'MuTau+LogError',
56  'PhotonHad': 'LogError',
57  'MuHad': 'LogError',
58  'MultiJet': 'LogError',
59  'MuOnia': 'LogError',
60  'ElectronHad': 'LogError',
61  'TauPlusX': 'LogError',
62 
63  }
64 
65 
66 autoSkimPDWG = {
67 
68  }
69 
70 autoSkimDPG = {
71 
72  }
73 
74 def mergeMapping(map1,map2):
75  merged={}
76  for k in list(set(map1.keys()+map2.keys())):
77  items=[]
78  if k in map1:
79  items.append(map1[k])
80  if k in map2:
81  items.append(map2[k])
82  merged[k]='+'.join(items)
83  return merged
84 
85 #autoSkim = mergeMapping(autoSkimPDWG,autoSkimDPG)
86 #print autoSkim
def mergeMapping(map1, map2)
Definition: autoSkim.py:74
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run