CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions | Variables
autoAlca Namespace Reference

Functions

def buildList
 

Variables

list AlCaNoConcurrentLumis
 
dictionary AlCaRecoMatrix
 
dictionary AlCaRecoMatrix2017
 
dictionary AlCaRecoMatrixRereco
 
dictionary autoAlca
 

Function Documentation

def autoAlca.buildList (   pdList,
  matrix 
)
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.

Definition at line 105 of file autoAlca.py.

References submitPVValidationJobs.split().

106 def buildList(pdList, matrix):
107  """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."""
108  alCaRecoList = []
109  for pd in pdList:
110  alCaRecoList.extend(matrix[pd].split("+"))
111  # remove duplicates converting to a set
112  alCaRecoList = set(alCaRecoList)
113  stringList = ''
114  for alCaReco in alCaRecoList:
115  if stringList == '':
116  stringList += alCaReco
117  else:
118  stringList += '+'+alCaReco
119  return stringList
120 
# Update the lists anytime a new PD is added to the matrix
def buildList
Definition: autoAlca.py:105

Variable Documentation

list autoAlca.AlCaNoConcurrentLumis
Initial value:
1 = [
2  'PromptCalibProd', # AlcaBeamSpotProducer
3  'PromptCalibProdSiPixelAli', # AlignmentProducerAsAnalyzer, MillePedeFileConverter
4  'PromptCalibProdBeamSpotHP', # AlcaBeamSpotProducer
5  'PromptCalibProdBeamSpotHPLowPU', # AlcaBeamSpotProducer
6 ]

Definition at line 129 of file autoAlca.py.

dictionary autoAlca.AlCaRecoMatrix

Definition at line 1 of file autoAlca.py.

dictionary autoAlca.AlCaRecoMatrix2017

Definition at line 43 of file autoAlca.py.

dictionary autoAlca.AlCaRecoMatrixRereco
Initial value:
1 = {'AlCaLumiPixels' : 'LumiPixels',
2  'Charmonium' : 'TkAlJpsiMuMu',
3  'Commissioning' : 'TkAlMinBias+SiStripCalMinBias+HcalCalIsoTrk+HcalCalIsolatedBunchSelector',
4  'Cosmics' : 'SiPixelCalCosmics+TkAlCosmics0T+MuAlGlobalCosmics+HcalCalHOCosmics',
5  'DoubleEG' : 'EcalUncalZElectron+HcalCalIterativePhiSym+HcalCalIsoTrkFilter',
6  'DoubleElectron' : 'EcalUncalZElectron+HcalCalIsoTrkFilter',
7  'DoubleMu' : 'MuAlCalIsolatedMu+MuAlOverlaps+TkAlZMuMu+MuAlZMuMu+TkAlZMuMu+TkAlJpsiMuMu+TkAlUpsilonMuMu+HcalCalIsoTrkFilter',
8  'DoubleMuon' : 'TkAlZMuMu+MuAlCalIsolatedMu+MuAlOverlaps+MuAlZMuMu',
9  'DoubleMuParked' : 'MuAlCalIsolatedMu+MuAlOverlaps+TkAlZMuMu',
10  'HLTPhysics' : 'SiStripCalMinBias+TkAlMinBias+HcalCalIsoTrkFilter+HcalCalIterativePhiSym',
11  'JetHT' : 'HcalCalDijets+HcalCalIsoTrkFilter+HcalCalIsolatedBunchFilter',
12  'NoBPTX' : 'TkAlCosmicsInCollisions',
13  'MET' : 'HcalCalNoise',
14  'MinimumBias' : 'SiStripCalMinBias+TkAlMinBias',
15  'MuOnia' : 'TkAlUpsilonMuMu',
16  'SingleElectron' : 'EcalUncalWElectron+EcalUncalZElectron+EcalESAlign+HcalCalIterativePhiSym+HcalCalIsoTrkFilter',
17  'SingleMu' : 'MuAlCalIsolatedMu+MuAlOverlaps+TkAlMuonIsolated+MuAlZMuMu+HcalCalHO',
18  'SingleMuon' : 'SiPixelCalSingleMuonLoose+SiPixelCalSingleMuonTight+TkAlMuonIsolated+MuAlCalIsolatedMu+MuAlOverlaps+MuAlZMuMu+HcalCalIterativePhiSym+HcalCalHO',
19  'SinglePhoton' : 'HcalCalGammaJet',
20  'ZeroBias' : 'SiStripCalZeroBias+TkAlMinBias+LumiPixelsMinBias+SiStripCalMinBias+SiStripCalMinBiasAfterAbortGap',
21  'HcalNZS' : 'HcalCalMinBias'
22  }

Definition at line 82 of file autoAlca.py.

dictionary autoAlca.autoAlca
Initial value:
1 = { 'allForPrompt' : buildList(['Charmonium', 'Commissioning', 'DoubleEG', 'DoubleElectron', 'DoubleMu', 'DoubleMuParked', 'DoubleMuon', 'HLTPhysics', 'HcalNZS', 'JetHT', 'MET', 'MinimumBias', 'MuOnia', 'MuOniaParked', 'NoBPTX' , 'SingleElectron', 'SingleMu', 'SingleMuon', 'SinglePhoton', 'ZeroBias'], AlCaRecoMatrix),
2  'allForExpress' : buildList(['StreamExpress'], AlCaRecoMatrix),
3  'allForExpressHI' : buildList(['StreamExpressHI'], AlCaRecoMatrix),
4  'allForPromptCosmics' : buildList(['Cosmics'], AlCaRecoMatrix),
5  'allForExpressCosmics' : buildList(['ExpressCosmics'], AlCaRecoMatrix) }
def buildList
Definition: autoAlca.py:105

Definition at line 121 of file autoAlca.py.