Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 AlCaRecoMatrix = {
0002                   "AlCaLumiPixelsCountsExpress" : "AlCaPCCRandom",
0003                   "AlCaLumiPixelsCountsPrompt"  : "AlCaPCCZeroBias+RawPCCProducer",
0004                   # These two (AlCaPhiSym, AlCaP0) cannot run on RAW, they are just meant to run on the dedicated AlcaRAW so they do not enter the allForPrompt list
0005                   "AlCaPhiSym"                  : "",
0006                   "AlCaP0"                      : "",
0007                   "AlCaPPSExpress"              : "PPSCalMaxTracks", # Express producer
0008                   "AlCaPPSPrompt"               : "PPSCalMaxTracks", # Prompt  producer
0009                   "Commissioning"               : "HcalCalIsoTrk+TkAlMinBias+SiStripCalMinBias+HcalCalIsolatedBunchSelector",
0010                   "Cosmics"                     : "SiPixelCalCosmics+SiStripCalCosmics+TkAlCosmics0T+MuAlGlobalCosmics",
0011                   "DoubleMuon"                  : "TkAlZMuMu+TkAlDiMuonAndVertex+MuAlCalIsolatedMu",
0012                   "DoubleMuonLowMass"           : "TkAlJpsiMuMu+TkAlUpsilonMuMu",
0013                   "EGamma"                      : "EcalESAlign+EcalUncalWElectron+EcalUncalZElectron+HcalCalIsoTrkProducerFilter+HcalCalIterativePhiSym",
0014                   "Express"                     : "SiStripCalZeroBias+TkAlMinBias+TkAlZMuMu+SiStripPCLHistos+SiStripCalMinBias+SiStripCalMinBiasAAG+Hotline+SiPixelCalZeroBias",
0015                   "ExpressAlignment"            : "TkAlMinBias",
0016                   "ExpressCosmics"              : "SiStripPCLHistos+SiStripCalZeroBias+TkAlCosmics0T+SiPixelCalZeroBias+SiPixelCalCosmics+SiStripCalCosmics",
0017                   "HcalNZS"                     : "HcalCalMinBias",
0018                   "HLTPhysics"                  : "TkAlMinBias+TkAlV0s",
0019                   "JetHT"                       : "HcalCalIsoTrkProducerFilter+TkAlJetHT",
0020                   "JetMET"                      : "HcalCalIsoTrkProducerFilter+TkAlJetHT+HcalCalNoise",
0021                   "MinimumBias"                 : "SiStripCalZeroBias+SiStripCalMinBias+TkAlMinBias",
0022                   "MET"                         : "HcalCalNoise",
0023                   "Muon"                        : "TkAlZMuMu+TkAlDiMuonAndVertex+MuAlCalIsolatedMu+SiPixelCalSingleMuonLoose+SiPixelCalSingleMuonTight+TkAlMuonIsolated+HcalCalHO+HcalCalIterativePhiSym+HcalCalHBHEMuonProducerFilter",
0024                   "NoBPTX"                      : "TkAlCosmicsInCollisions",
0025                   "ParkingDoubleMuonLowMass"    : "TkAlJpsiMuMu+TkAlUpsilonMuMu",
0026                   "SingleMuon"                  : "SiPixelCalSingleMuonLoose+SiPixelCalSingleMuonTight+TkAlMuonIsolated+MuAlCalIsolatedMu+HcalCalHO+HcalCalIterativePhiSym+HcalCalHBHEMuonProducerFilter",
0027                   "SpecialHLTPhysics"           : "LumiPixelsMinBias",
0028                   "StreamExpress"               : "SiStripCalZeroBias+TkAlMinBias+TkAlZMuMu+SiStripPCLHistos+SiStripCalMinBias+SiStripCalMinBiasAAG+Hotline+SiPixelCalZeroBias+SiPixelCalSingleMuon",
0029                   "StreamExpressHI"             : "SiStripCalZeroBias+TkAlMinBiasHI+SiStripPCLHistos+SiStripCalMinBias+SiStripCalMinBiasAAG+SiPixelCalZeroBias",
0030                   # These (TestEnablesTracker, TestEnablesEcalHcal) are in the AlCaRecoMatrix, but no RelVals are produced
0031                   # 'TestEnablesTracker'        : 'TkAlLAS'
0032                   # 'TestEnablesEcalHcal'       : 'HcalCalPedestal'
0033                   "ZeroBias"                    : "HcalCalIsolatedBunchSelector+SiStripCalZeroBias+TkAlMinBias+SiStripCalMinBias",
0034                   }
0035 
0036 
0037 def buildList(pdList, matrix):
0038     """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."""
0039     alCaRecoList = []
0040     for pd in pdList:
0041         alCaRecoList.extend(matrix[pd].split("+"))
0042     # remove duplicates converting to a set
0043     alCaRecoList = set(alCaRecoList)
0044     stringList = ''
0045     for alCaReco in alCaRecoList:
0046         if stringList == '':
0047             stringList += alCaReco
0048         else:
0049             stringList += '+'+alCaReco
0050     return stringList
0051 
0052 # Update the lists anytime a new PD is added to the matrix
0053 autoAlca = { 'allForPrompt'         : buildList(['Commissioning', 'EGamma', 'HLTPhysics', 'HcalNZS', 'JetMET', 'Muon', 'NoBPTX', 'ParkingDoubleMuonLowMass', 'ZeroBias'], AlCaRecoMatrix),
0054              'allForExpress'        : buildList(['StreamExpress'], AlCaRecoMatrix),
0055              'allForExpressHI'      : buildList(['StreamExpressHI'], AlCaRecoMatrix),
0056              'allForPromptCosmics'  : buildList(['Cosmics'], AlCaRecoMatrix),
0057              'allForExpressCosmics' : buildList(['ExpressCosmics'], AlCaRecoMatrix) }
0058 autoAlca.update(AlCaRecoMatrix)
0059 
0060 # list of AlCa sequences that have modules that do not support concurrent LuminosityBlocks
0061 AlCaNoConcurrentLumis = [
0062     'PromptCalibProd',                 # AlcaBeamSpotProducer
0063     'PromptCalibProdSiPixelAli',       # AlignmentProducerAsAnalyzer, MillePedeFileConverter
0064     'PromptCalibProdSiPixelAliHG',     # AlignmentProducerAsAnalyzer, MillePedeFileConverter
0065     'PromptCalibProdSiPixelAliHGComb', # AlignmentProducerAsAnalyzer, MillePedeFileConverter
0066     'PromptCalibProdBeamSpotHP',       # AlcaBeamSpotProducer
0067     'PromptCalibProdBeamSpotHPLowPU',  # AlcaBeamSpotProducer
0068 ]