2 "AlCaLumiPixelsCountsExpress" :
"AlCaPCCRandom",
3 "AlCaLumiPixelsCountsPrompt" :
"AlCaPCCZeroBias+RawPCCProducer",
7 "AlCaPPSExpress" :
"PPSCalMaxTracks",
8 "AlCaPPSPrompt" :
"PPSCalMaxTracks",
9 "Commissioning" :
"HcalCalIsoTrk+TkAlMinBias+SiStripCalMinBias+HcalCalIsolatedBunchSelector",
10 "Cosmics" :
"SiPixelCalCosmics+SiStripCalCosmics+TkAlCosmics0T+MuAlGlobalCosmics",
11 "DoubleMuon" :
"TkAlZMuMu+TkAlDiMuonAndVertex+MuAlCalIsolatedMu",
12 "DoubleMuonLowMass" :
"TkAlJpsiMuMu+TkAlUpsilonMuMu",
13 "EGamma" :
"EcalESAlign+EcalUncalWElectron+EcalUncalZElectron+HcalCalIsoTrkProducerFilter+HcalCalIterativePhiSym",
14 "Express" :
"SiStripCalZeroBias+TkAlMinBias+TkAlZMuMu+SiStripPCLHistos+SiStripCalMinBias+SiStripCalMinBiasAAG+Hotline+SiPixelCalZeroBias",
15 "ExpressAlignment" :
"TkAlMinBias",
16 "ExpressCosmics" :
"SiStripPCLHistos+SiStripCalZeroBias+TkAlCosmics0T+SiPixelCalZeroBias+SiPixelCalCosmics+SiStripCalCosmics",
17 "HcalNZS" :
"HcalCalMinBias",
18 "HLTPhysics" :
"TkAlMinBias+TkAlV0s",
19 "JetHT" :
"HcalCalIsoTrkProducerFilter+TkAlJetHT",
20 "JetMET" :
"HcalCalIsoTrkProducerFilter+TkAlJetHT+HcalCalNoise",
21 "MinimumBias" :
"SiStripCalZeroBias+SiStripCalMinBias+TkAlMinBias",
22 "MET" :
"HcalCalNoise",
23 "Muon" :
"TkAlZMuMu+TkAlDiMuonAndVertex+MuAlCalIsolatedMu+SiPixelCalSingleMuonLoose+SiPixelCalSingleMuonTight+TkAlMuonIsolated+HcalCalHO+HcalCalIterativePhiSym+HcalCalHBHEMuonProducerFilter",
24 "NoBPTX" :
"TkAlCosmicsInCollisions",
25 "ParkingDoubleMuonLowMass" :
"TkAlJpsiMuMu+TkAlUpsilonMuMu",
26 "SingleMuon" :
"SiPixelCalSingleMuonLoose+SiPixelCalSingleMuonTight+TkAlMuonIsolated+MuAlCalIsolatedMu+HcalCalHO+HcalCalIterativePhiSym+HcalCalHBHEMuonProducerFilter",
27 "SpecialHLTPhysics" :
"LumiPixelsMinBias",
28 "StreamExpress" :
"SiStripCalZeroBias+TkAlMinBias+TkAlZMuMu+SiStripPCLHistos+SiStripCalMinBias+SiStripCalMinBiasAAG+Hotline+SiPixelCalZeroBias+SiPixelCalSingleMuon",
29 "StreamExpressHI" :
"SiStripCalZeroBias+TkAlMinBiasHI+SiStripPCLHistos+SiStripCalMinBias+SiStripCalMinBiasAAG+SiPixelCalZeroBias",
33 "ZeroBias" :
"HcalCalIsolatedBunchSelector+SiStripCalZeroBias+TkAlMinBias+SiStripCalMinBias",
38 """Takes a list of primary datasets (PDs) and the AlCaRecoMatrix (a dictinary) and returns a string with all the AlCaRecos for the selected PDs separated by the '+' character without duplicates.""" 41 alCaRecoList.extend(matrix[pd].
split(
"+"))
43 alCaRecoList = set(alCaRecoList)
45 for alCaReco
in alCaRecoList:
47 stringList += alCaReco
49 stringList +=
'+'+alCaReco
53 autoAlca = {
'allForPrompt' :
buildList([
'Commissioning',
'EGamma',
'HLTPhysics',
'HcalNZS',
'JetMET',
'Muon',
'NoBPTX',
'ParkingDoubleMuonLowMass',
'ZeroBias'], AlCaRecoMatrix),
54 'allForExpress' :
buildList([
'StreamExpress'], AlCaRecoMatrix),
55 'allForExpressHI' :
buildList([
'StreamExpressHI'], AlCaRecoMatrix),
56 'allForPromptCosmics' :
buildList([
'Cosmics'], AlCaRecoMatrix),
57 'allForExpressCosmics' :
buildList([
'ExpressCosmics'], AlCaRecoMatrix) }
58 autoAlca.update(AlCaRecoMatrix)
61 AlCaNoConcurrentLumis = [
63 'PromptCalibProdSiPixelAli',
64 'PromptCalibProdSiPixelAliHG',
65 'PromptCalibProdSiPixelAliHGComb',
66 'PromptCalibProdBeamSpotHP',
67 'PromptCalibProdBeamSpotHPLowPU',
def buildList(pdList, matrix)
def split(sequence, size)