Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:41

0001 autoSkim = {
0002 
0003  # Skim 2023
0004  'BTagMu' : 'LogError+LogErrorMonitor',
0005  'DisplacedJet' : 'EXODisplacedJet+EXODelayedJet+EXODTCluster+EXOCSCCluster+EXOLLPJetHCAL+LogError+LogErrorMonitor',
0006  'JetMET0' : 'JetHTJetPlusHOFilter+EXOHighMET+EXODelayedJetMET+EXODisappTrk+EXOSoftDisplacedVertices+TeVJet+LogError+LogErrorMonitor',
0007  'JetMET1' : 'JetHTJetPlusHOFilter+EXOHighMET+EXODelayedJetMET+EXODisappTrk+EXOSoftDisplacedVertices+TeVJet+LogError+LogErrorMonitor',
0008  'EGamma0':'EGMJME+ZElectron+WElectron+EXOMONOPOLE+EXODisappTrk+IsoPhotonEB+LogError+LogErrorMonitor',
0009  'EGamma1':'EGMJME+ZElectron+WElectron+EXOMONOPOLE+EXODisappTrk+IsoPhotonEB+LogError+LogErrorMonitor',
0010  'Tau' : 'EXODisappTrk+LogError+LogErrorMonitor',
0011  'Muon0' : 'MUOJME+ZMu+EXODisappTrk+EXOCSCCluster+EXODisappMuon+LogError+LogErrorMonitor',
0012  'Muon1' : 'MUOJME+ZMu+EXODisappTrk+EXOCSCCluster+EXODisappMuon+LogError+LogErrorMonitor',
0013  'MuonEG' : 'TopMuEG+LogError+LogErrorMonitor',
0014  'NoBPTX' : 'EXONoBPTXSkim+LogError+LogErrorMonitor',
0015  'HcalNZS' : 'LogError+LogErrorMonitor',
0016  'HLTPhysics' : 'LogError+LogErrorMonitor',
0017  'ZeroBias' : 'LogError+LogErrorMonitor',
0018  'Commissioning' : 'EcalActivity+LogError+LogErrorMonitor',
0019  'Cosmics':'CosmicSP+CosmicTP+LogError+LogErrorMonitor',
0020  'ParkingDoubleMuonLowMass0': 'ReserveDMu+LogError+LogErrorMonitor',
0021  'ParkingDoubleMuonLowMass1': 'ReserveDMu+LogError+LogErrorMonitor',
0022  'ParkingDoubleMuonLowMass2': 'ReserveDMu+LogError+LogErrorMonitor',
0023  'ParkingDoubleMuonLowMass3': 'ReserveDMu+LogError+LogErrorMonitor',
0024  'ParkingDoubleMuonLowMass4': 'ReserveDMu+LogError+LogErrorMonitor',
0025  'ParkingDoubleMuonLowMass5': 'ReserveDMu+LogError+LogErrorMonitor',
0026  'ParkingDoubleMuonLowMass6': 'ReserveDMu+LogError+LogErrorMonitor',
0027  'ParkingDoubleMuonLowMass7': 'ReserveDMu+LogError+LogErrorMonitor',
0028 
0029  # These should be uncommented when 2022 data reprocessing
0030  # Dedicated skim for 2022
0031  'JetMET' : 'JetHTJetPlusHOFilter+EXOHighMET+EXODelayedJetMET+EXODisappTrk+EXOSoftDisplacedVertices+TeVJet+LogError+LogErrorMonitor',
0032  'EGamma':'EGMJME+ZElectron+WElectron+EXOMONOPOLE+EXODisappTrk+IsoPhotonEB+LogError+LogErrorMonitor',
0033  'Muon' : 'MUOJME+ZMu+EXODisappTrk+EXODisappMuon+LogError+LogErrorMonitor',
0034  'JetHT' : 'JetHTJetPlusHOFilter+EXOSoftDisplacedVertices+TeVJet+LogError+LogErrorMonitor',
0035  'MET' : 'EXOHighMET+EXODelayedJetMET+EXODisappTrk+EXOSoftDisplacedVertices+TeVJet+LogError+LogErrorMonitor',
0036  'SingleMuon' : 'ZMu+EXODisappTrk+EXODisappMuon+LogError+LogErrorMonitor',
0037  'DoubleMuon' : 'MUOJME+LogError+LogErrorMonitor',
0038 
0039  # Used in unit test scenario ppEra_Run2_2018
0040  #'SingleMuon': 'LogError+LogErrorMonitor',
0041 }
0042 
0043 # For 2023 PbPb skims
0044 for i_split in range(32):
0045     autoSkim[f'HIPhysicsRawPrime{i_split}'] = 'PbPbEMu+PbPbZEE+PbPbZMM+LogError+LogErrorMonitor'
0046 
0047 autoSkimRunII = {
0048  'BTagCSV' : 'LogError+LogErrorMonitor',
0049  'BTagMu' : 'LogError+LogErrorMonitor',
0050  'HTMHT' : 'LogError+LogErrorMonitor',
0051  'JetHT' : 'JetHTJetPlusHOFilter+LogError+LogErrorMonitor',
0052  'DisplacedJet' : 'LogError+LogErrorMonitor',
0053  'MET' : 'HighMET+EXOMONOPOLE+LogError+LogErrorMonitor',
0054  'SingleElectron' : 'LogError+LogErrorMonitor',
0055  'SinglePhoton' : 'SinglePhotonJetPlusHOFilter+EXOMONOPOLE+LogError+LogErrorMonitor',
0056  'DoubleEG' : 'ZElectron+EXOMONOPOLE+LogError+LogErrorMonitor',
0057  'EGamma':'SinglePhotonJetPlusHOFilter+ZElectron+EXOMONOPOLE+LogError+LogErrorMonitor',
0058  'Tau' : 'LogError+LogErrorMonitor',
0059  'SingleMuon' : 'MuonPOGSkim+ZMu+MuTau+LogError+LogErrorMonitor',
0060  'DoubleMuon' : 'LogError+LogErrorMonitor',
0061  'MuonEG' : 'TopMuEG+LogError+LogErrorMonitor',
0062  'DoubleMuonLowMass' : 'BPHSkim+LogError+LogErrorMonitor',
0063  'MuOnia' : 'BPHSkim+LogError+LogErrorMonitor',
0064  'Charmonium' : 'MuonPOGJPsiSkim+BPHSkim+LogError+LogErrorMonitor',
0065  'NoBPTX' : 'EXONoBPTXSkim+LogError+LogErrorMonitor',
0066  'HcalHPDNoise' : 'LogError+LogErrorMonitor',
0067  'HcalNZS' : 'LogError+LogErrorMonitor',
0068  'HLTPhysics' : 'LogError+LogErrorMonitor',
0069  'ZeroBias' : 'LogError+LogErrorMonitor',
0070  'Commissioning' : 'EcalActivity+LogError+LogErrorMonitor',
0071  'Cosmics':'CosmicSP+CosmicTP+LogError+LogErrorMonitor',
0072  'ParkingBPH':'SkimBPark+LogError+LogErrorMonitor',
0073 }
0074 #2018 EGamma is a merged datasets of SingleElectron, SinglePhoton, DoubleEG
0075 
0076 autoSkimRunI = {
0077     'MinBias':'MuonTrack+BeamBkg+ValSkim+LogError+HSCPSD',
0078     'ZeroBias':'LogError',
0079     'Commissioning':'DT+LogError',
0080     'Cosmics':'CosmicSP+CosmicTP+LogError',
0081     'Mu' : 'WMu+ZMu+HighMET+LogError',    
0082     'EG':'WElectron+ZElectron+HighMET+LogError',
0083     'TopMuEG':'TopMuEG+LogError',
0084     'Electron':'WElectron+ZElectron+HighMET+LogError',
0085     'Photon':'WElectron+ZElectron+HighMET+LogError+DiPhoton+EXOHPTE',
0086     'JetMETTau':'LogError+Tau',
0087     'JetMET':'HighMET+LogError',
0088     'BTau':'LogError+Tau',
0089     'Jet':'HighMET+LogError',
0090     'METFwd':'HighMET+LogError',
0091     'SingleMu' : 'WMu+ZMu+HighMET+LogError+HWW+HZZ+DiTau+EXOHSCP',
0092     'DoubleMu' : 'WMu+ZMu+HighMET+LogError+HWW+HZZ+EXOHSCP',
0093     'SingleElectron' : 'WElectron+HighMET+LogError+HWW+HZZ+Tau',
0094     'DoubleElectron' : 'ZElectron+LogError+HWW+HZZ',
0095     'MuEG' : 'LogError+HWW+HZZ',
0096     'METBTag': 'HighMET+LogError+EXOHSCP',
0097     'BTag': 'LogError+EXOHSCP',
0098     'MET': 'HighMET+LogError+EXOHSCP',
0099     'HighMET': 'HighMET+LogError',
0100     'HT': 'HighMET+LogError',
0101     'Tau': 'LogError',
0102     'MuTau': 'MuTau+LogError',
0103     'PhotonHad': 'LogError',
0104     'MuHad': 'LogError',
0105     'MultiJet': 'LogError',
0106     'MuOnia': 'LogError',
0107     'ElectronHad': 'LogError',
0108     'TauPlusX': 'LogError',    
0109 }
0110 
0111 autoSkimPDWG = {
0112 }
0113 
0114 autoSkimDPG = {
0115 }
0116 
0117 def mergeMapping(map1,map2):
0118     merged={}
0119     for k in list(set(map1.keys()+map2.keys())):
0120         items=[]
0121         if k in map1: 
0122             items.append(map1[k])
0123         if k in map2:
0124             items.append(map2[k])
0125         merged[k]='+'.join(items)
0126     return merged
0127     
0128 #autoSkim = mergeMapping(autoSkimPDWG,autoSkimDPG)
0129 #print autoSkim