CMS 3D CMS Logo

Functions | Variables
mps_alisetup Namespace Reference

Functions

def check_iov_definition (cms_process, first_run)
 
def create_input_db (cms_process, run_number)
 
def create_mass_storage_directory (mps_dir_name, general_options)
 
def create_tracker_tree (global_tag, first_run)
 
def get_weight_configs (config)
 
def handle_process_call (command, verbose=False)
 

Variables

 action
 
 aligmentConfig = args.alignmentConfig
 
string append = "-a"
 
 args = parser.parse_args()
 
 cms_process = mps_tools.get_process_object(thisCfgTemplate)
 
 collection = config.get(section, "collection")
 
list command
 
 config = ConfigParser.ConfigParser()
 
 configTemplate = config.get('general','configTemplate')
 
 currentDir = os.getcwd()
 
dictionary datasetOptions = {}
 
 first_run = config.get("general", "FirstRunForStartGeometry")
 
bool firstDataset = True
 
bool firstPedeConfig = True
 
dictionary generalOptions = {}
 
 globalTag = config.get('general','globaltag')
 
 help
 
string helpEpilog
 
 jobm_path = os.path.join("jobData", lib.JOBDIR[-1])
 
 lib = mpslib.jobdatabase()
 
 match = re.search(re.compile('mpproduction\/mp(.+?)$', re.M|re.I),currentDir)
 
 milleScript = os.path.join(mpsTemplates, "mps_runMille_template.sh")
 
string mpsdirname = ''
 
 mpsTemplates = os.path.join("src", "Alignment", "MillePedeAlignmentAlgorithm", "templates")
 
tuple msg
 
 mssDir = create_mass_storage_directory(mpsdirname, generalOptions)
 
 optionxform
 
 overrideGT = create_input_db(cms_process, first_run)
 
 parser
 
 pedeScript = os.path.join(mpsTemplates, "mps_runPede_rfcp_template.sh")
 
tuple pedesettings
 
string thisCfgTemplate = "tmp.py"
 
 tmpFile = f.read()
 
 tracker_tree_path
 
 weight_confs = get_weight_configs(config)
 

Function Documentation

def mps_alisetup.check_iov_definition (   cms_process,
  first_run 
)
Check consistency of input alignment payloads and IOV definition.
Returns a dictionary with the information needed to override possibly
problematic input taken from the global tag.

Arguments:
- `cms_process`: cms.Process object containing the CMSSW configuration
- `first_run`: first run for start geometry

Definition at line 135 of file mps_alisetup.py.

References lhef.pop(), and harvestTrackValidationPlots.str.

Referenced by create_input_db().

135 def check_iov_definition(cms_process, first_run):
136  """
137  Check consistency of input alignment payloads and IOV definition.
138  Returns a dictionary with the information needed to override possibly
139  problematic input taken from the global tag.
140 
141  Arguments:
142  - `cms_process`: cms.Process object containing the CMSSW configuration
143  - `first_run`: first run for start geometry
144  """
145 
146  print "Checking consistency of IOV definition..."
147  iovs = mps_tools.make_unique_runranges(cms_process.AlignmentProducer)
148 
149  inputs = {
150  "TrackerAlignmentRcd": None,
151  "TrackerSurfaceDeformationRcd": None,
152  "TrackerAlignmentErrorExtendedRcd": None,
153  }
154 
155  for condition in cms_process.GlobalTag.toGet.value():
156  if condition.record.value() in inputs:
157  inputs[condition.record.value()] = {
158  "tag": condition.tag.value(),
159  "connect": ("pro"
160  if not condition.hasParameter("connect")
161  else condition.connect.value())
162  }
163 
164  inputs_from_gt = [record for record in inputs if inputs[record] is None]
165  inputs.update(mps_tools.get_tags(cms_process.GlobalTag.globaltag.value(),
166  inputs_from_gt))
167 
168 
169  if first_run != iovs[0]: # simple consistency check
170  if iovs[0] == 1 and len(iovs) == 1:
171  print "Single IOV output detected in configuration and",
172  print "'FirstRunForStartGeometry' is not 1."
173  print "Creating single IOV output from input conditions in run",
174  print str(first_run)+"."
175  for inp in inputs: inputs[inp]["problematic"] = True
176  else:
177  print "Value of 'FirstRunForStartGeometry' has to match first",
178  print "defined output IOV:",
179  print first_run, "!=", iovs[0]
180  sys.exit(1)
181 
182 
183  for inp in inputs.itervalues():
184  inp["iovs"] = mps_tools.get_iovs(inp["connect"], inp["tag"])
185 
186  # check consistency of input with output
187  problematic_gt_inputs = {}
188  input_indices = {key: len(value["iovs"]) -1
189  for key,value in inputs.iteritems()}
190  for iov in reversed(iovs):
191  for inp in inputs:
192  if inputs[inp].pop("problematic", False):
193  problematic_gt_inputs[inp] = inputs[inp]
194  if inp in problematic_gt_inputs: continue
195  if input_indices[inp] < 0:
196  print "First output IOV boundary at run", iov,
197  print "is before the first input IOV boundary at",
198  print inputs[inp]["iovs"][0], "for '"+inp+"'."
199  print "Please check your run range selection."
200  sys.exit(1)
201  input_iov = inputs[inp]["iovs"][input_indices[inp]]
202  if iov < input_iov:
203  if inp in inputs_from_gt:
204  problematic_gt_inputs[inp] = inputs[inp]
205  print "Found problematic input taken from global tag."
206  print "Input IOV boundary at run",input_iov,
207  print "for '"+inp+"' is within output IOV starting with",
208  print "run", str(iov)+"."
209  print "Deriving an alignment with coarse IOV granularity",
210  print "starting from finer granularity leads to wrong",
211  print "results."
212  print "A single IOV input using the IOV of",
213  print "'FirstRunForStartGeometry' ("+str(first_run)+") is",
214  print "automatically created and used."
215  continue
216  print "Found input IOV boundary at run",input_iov,
217  print "for '"+inp+"' which is within output IOV starting with",
218  print "run", str(iov)+"."
219  print "Deriving an alignment with coarse IOV granularity",
220  print "starting from finer granularity leads to wrong results."
221  print "Please check your run range selection."
222  sys.exit(1)
223  elif iov == input_iov:
224  input_indices[inp] -= 1
225 
226  # check consistency of 'TrackerAlignmentRcd' with other inputs
227  input_indices = {key: len(value["iovs"]) -1
228  for key,value in inputs.iteritems()
229  if (key != "TrackerAlignmentRcd")
230  and (inp not in problematic_gt_inputs)}
231  for iov in reversed(inputs["TrackerAlignmentRcd"]["iovs"]):
232  for inp in input_indices:
233  input_iov = inputs[inp]["iovs"][input_indices[inp]]
234  if iov < input_iov:
235  print "Found input IOV boundary at run",input_iov,
236  print "for '"+inp+"' which is within 'TrackerAlignmentRcd'",
237  print "IOV starting with run", str(iov)+"."
238  print "Deriving an alignment with inconsistent IOV boundaries",
239  print "leads to wrong results."
240  print "Please check your input IOVs."
241  sys.exit(1)
242  elif iov == input_iov:
243  input_indices[inp] -= 1
244 
245  print "IOV consistency check successful."
246  print "-"*60
247 
248  return problematic_gt_inputs
249 
250 
def check_iov_definition(cms_process, first_run)
static void pop(std::vector< T > &vec, unsigned int index)
Definition: LHEEvent.cc:150
def mps_alisetup.create_input_db (   cms_process,
  run_number 
)
Create sqlite file with single-IOV tags and use it to override the GT. If
the GT is already customized by the user, the customization has higher
priority. Returns a snippet to be appended to the configuration file

Arguments:
- `cms_process`: cms.Process object
- `run_number`: run from which to extract the alignment payloads

Definition at line 100 of file mps_alisetup.py.

References check_iov_definition(), and createfilelist.int.

100 def create_input_db(cms_process, run_number):
101  """
102  Create sqlite file with single-IOV tags and use it to override the GT. If
103  the GT is already customized by the user, the customization has higher
104  priority. Returns a snippet to be appended to the configuration file
105 
106  Arguments:
107  - `cms_process`: cms.Process object
108  - `run_number`: run from which to extract the alignment payloads
109  """
110 
111  run_number = int(run_number)
112  if not run_number > 0:
113  print "'FirstRunForStartGeometry' must be positive, but is", run_number
114  sys.exit(1)
115 
116  input_db_name = os.path.abspath("alignment_input.db")
117  tags = mps_tools.create_single_iov_db(
118  check_iov_definition(cms_process, run_number),
119  run_number, input_db_name)
120 
121  result = ""
122  for record,tag in tags.iteritems():
123  if result == "":
124  result += ("\nimport "
125  "Alignment.MillePedeAlignmentAlgorithm.alignmentsetup."
126  "SetCondition as tagwriter\n")
127  result += ("\ntagwriter.setCondition(process,\n"
128  " connect = \""+tag["connect"]+"\",\n"
129  " record = \""+record+"\",\n"
130  " tag = \""+tag["tag"]+"\")\n")
131 
132  return result
133 
134 
def check_iov_definition(cms_process, first_run)
def create_input_db(cms_process, run_number)
def mps_alisetup.create_mass_storage_directory (   mps_dir_name,
  general_options 
)
Create MPS mass storage directory where, e.g., mille binaries are stored.

Arguments:
- `mps_dir_name`: campaign name
- `general_options`: general options dictionary

Definition at line 251 of file mps_alisetup.py.

251 def create_mass_storage_directory(mps_dir_name, general_options):
252  """Create MPS mass storage directory where, e.g., mille binaries are stored.
253 
254  Arguments:
255  - `mps_dir_name`: campaign name
256  - `general_options`: general options dictionary
257  """
258 
259  # set directory on eos
260  mss_dir = general_options.get("massStorageDir",
261  "/eos/cms/store/caf/user/"+os.environ["USER"])
262  mss_dir = os.path.join(mss_dir, "MPproduction", mps_dir_name)
263 
264  cmd = ["mkdir", "-p", mss_dir]
265 
266  # create directory
267  if not general_options.get("testMode", False):
268  try:
269  with open(os.devnull, "w") as dump:
270  subprocess.check_call(cmd, stdout = dump, stderr = dump)
271  except subprocess.CalledProcessError:
272  print "Failed to create mass storage directory:", mss_dir
273  sys.exit(1)
274 
275  return mss_dir
276 
277 
def create_mass_storage_directory(mps_dir_name, general_options)
def mps_alisetup.create_tracker_tree (   global_tag,
  first_run 
)
Method to create hidden 'TrackerTree.root'.

Arguments:
- `global_tag`: global tag from which the tracker geometry is taken
- `first_run`: run to specify IOV within `global_tag`

Definition at line 278 of file mps_alisetup.py.

278 def create_tracker_tree(global_tag, first_run):
279  """Method to create hidden 'TrackerTree.root'.
280 
281  Arguments:
282  - `global_tag`: global tag from which the tracker geometry is taken
283  - `first_run`: run to specify IOV within `global_tag`
284  """
285 
286  config = mpsv_iniparser.ConfigData()
287  config.jobDataPath = "." # current directory
288  config.globalTag = global_tag
289  config.firstRun = first_run
290  return mpsv_trackerTree.check(config)
291 
292 # ------------------------------------------------------------------------------
293 # set up argument parser and config parser
294 
def create_tracker_tree(global_tag, first_run)
def mps_alisetup.get_weight_configs (   config)
Extracts different weight configurations from `config`.

Arguments:
- `config`: ConfigParser object containing the alignment configuration

Definition at line 48 of file mps_alisetup.py.

References split.

48 def get_weight_configs(config):
49  """Extracts different weight configurations from `config`.
50 
51  Arguments:
52  - `config`: ConfigParser object containing the alignment configuration
53  """
54 
55  weight_dict = collections.OrderedDict()
56  common_weights = {}
57 
58  # loop over datasets to reassign weights
59  for section in config.sections():
60  if 'general' in section:
61  continue
62  elif section == "weights":
63  for option in config.options(section):
64  common_weights[option] = [x.strip() for x in
65  config.get(section, option).split(",")]
66  elif section.startswith("dataset:"):
67  name = section[8:] # get name of dataset by stripping of "dataset:"
68  if config.has_option(section,'weight'):
69  weight_dict[name] = [x.strip() for x in
70  config.get(section, "weight").split(",")]
71  else:
72  weight_dict[name] = ['1.0']
73 
74  weights_list = [[(name, weight) for weight in weight_dict[name]]
75  for name in weight_dict]
76 
77  common_weights_list = [[(name, weight) for weight in common_weights[name]]
78  for name in common_weights]
79  common_weights_dicts = []
80  for item in itertools.product(*common_weights_list):
81  d = {}
82  for name,weight in item:
83  d[name] = weight
84  common_weights_dicts.append(d)
85 
86  configs = []
87  for weight_conf in itertools.product(*weights_list):
88  if len(common_weights) > 0:
89  for common_weight in common_weights_dicts:
90  configs.append([(dataset[0],
91  reduce(lambda x,y: x.replace(y, common_weight[y]),
92  common_weight, dataset[1]))
93  for dataset in weight_conf])
94  else:
95  configs.append(weight_conf)
96 
97  return configs
98 
99 
def get_weight_configs(config)
Definition: mps_alisetup.py:48
double split
Definition: MVATrainer.cc:139
def mps_alisetup.handle_process_call (   command,
  verbose = False 
)
Wrapper around subprocess calls which treats output depending on verbosity
level.

Arguments:
- `command`: list of command items
- `verbose`: flag to turn on verbosity

Definition at line 29 of file mps_alisetup.py.

References join().

29 def handle_process_call(command, verbose = False):
30  """
31  Wrapper around subprocess calls which treats output depending on verbosity
32  level.
33 
34  Arguments:
35  - `command`: list of command items
36  - `verbose`: flag to turn on verbosity
37  """
38 
39  call_method = subprocess.check_call if verbose else subprocess.check_output
40  try:
41  call_method(command, stderr=subprocess.STDOUT)
42  except subprocess.CalledProcessError as e:
43  print "" if verbose else e.output
44  print "Failed to execute command:", " ".join(command)
45  sys.exit(1)
46 
47 
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
def handle_process_call(command, verbose=False)
Definition: mps_alisetup.py:29

Variable Documentation

mps_alisetup.action
mps_alisetup.aligmentConfig = args.alignmentConfig

Definition at line 312 of file mps_alisetup.py.

string mps_alisetup.append = "-a"

Definition at line 651 of file mps_alisetup.py.

Referenced by contentValuesCheck.OptionParser.__init__(), mps_create_file_lists.FileListCreator._add_file_info(), cfg-viewer.visitor._doModules(), cmsPerfSuiteHarvest._eventContent_DEBUG(), Vispa.Main.SplitterTab.SplitterToolBar.addWidgetToSection(), Impl.pp.pp.alcaHarvesting(), ecaldqm::Dependency.append(), ModuleToSequenceAssign.assignModulesToSeqs(), lumiCalcAPI.beamForIds(), lumiCalcAPI.beamForRange(), lumiQueryAPI.beamIntensityForRun(), JetCorrectorDBWriter.beginJob(), confdb.HLTProcess.buildOptions(), bookConverter.compute(), edmStreamStallGrapher.consolidateContiguousBlocks(), pat::TauJetCorrFactors.correctionLabelString(), pat::JetCorrFactors.correctionLabelString(), plotscripts.corrections2D(), HcalLutManager.create_lut_loader(), XMLLUTLoader.createLoader(), validateAlignments.createMergeScript(), edmStreamStallGrapher.createPDFImage(), plotscripts.curvatureDTsummary(), customiseCheckEventSetup.customise(), customiseEarlyDeleteForCandIsoDeposits.customiseEarlyDeleteForCandIsoDeposits(), customiseEarlyDeleteForSeeding.customiseEarlyDeleteForSeeding(), plotscripts.DBdiff(), cmsHarvester.dbs_check_dataset_spread(), lumiCalcAPI.deliveredLumiForIds(), ecaldqm::Dependency.Dependency(), dqmCopyRecursively(), ntuplePlotting.drawMany(), PrintMaterialBudgetInfo.dumpElementMassFraction(), cmsHarvester.DBSXMLHandler.endElement(), TauDQMHistEffProducer.endRun(), TauDQMHistPlotter.endRun(), cfg-viewer.visitor.enter(), SequenceTypes._CopyAndExcludeSequenceVisitorOld.enter(), SequenceTypes._MutatingSequenceVisitor.enter(), cmsPerfSuiteHarvest.exportIgProfReport(), cmsPerfSuiteHarvest.exportMemcheckReport(), cmsPerfSuiteHarvest.exportTimeSizeJob(), Impl.trackingOnly.trackingOnly.expressProcessing(), Impl.cosmics.cosmics.expressProcessing(), Impl.pp.pp.expressProcessing(), Impl.HeavyIons.HeavyIons.expressProcessing(), TableParser.extractPages(), TableParser.extractPagesForPackage(), mergeAndRegister.filecheck(), dqmPostProcessing_online.filecheck(), PatZToMuMuAnalyzer.fill(), MainPageGenerator.fillContentTemplate(), dataDML.fillInRange(), dataDML.fillrunMap(), edmConvertToStreamModule.find_all_module_classes(), EgammaHLTValidationUtils.findEgammaPaths(), gen::Py8PtGun.generatePartonsAndHadronize(), gen::Py8JetGun.generatePartonsAndHadronize(), gen::Py8EGun.generatePartonsAndHadronize(), dqm-mbProfile.get_children(), web.app_utils.get_folders(), geometry.Alignables.get_ndiscriminator(), web.app_utils.get_release_summary_stats(), HcalQIEManager.getHfQieTable(), BeamSpotWorkflow.getListOfRunsAndLumiFromDBS(), specificLumi.getSpecificLumi(), PrintRecoObjects.getString(), HcalQIEManager.getTableFromDb(), histoStyle.graphProducer(), heppy_hadd.haddChunks(), cacheconfigParser.cacheconfigParser.handleFrontierConnect(), lumiCalcAPI.hltForIds(), lumiCalcAPI.hltpathsForRange(), helpers.listDependencyChain(), GenObject.GenObject.loadEventFromTree(), generateEDF.loadEvents(), VarParsing.VarParsing.loadFromFile(), checkRuns.main(), utils_v2.make_file_pairs(), utils.make_files_pairs(), relval_upgrade.makeStepName(), mps_list_evts.merge_datasets(), MultShiftMETcorrInputProducer.MultShiftMETcorrInputProducer(), EnablePSetHistory.new__place(), EnablePSetHistory.new__placeLooper(), EnablePSetHistory.new__placeService(), EnablePSetHistory.new__placeSource(), EnablePSetHistory.new_addAction(), EnablePSetHistory.new_setLooper_(), EnablePSetHistory.new_setSchedule_(), python.rootplot.rootmath.newadd(), L1TMuonGlobalParamsOnlineProd.newObject(), L1TMuonBarrelParamsOnlineProd.newObject(), L1TCaloParamsOnlineProd.newObject(), L1TGlobalPrescalesVetosOnlineProd.newObject(), cmsPerfStripChart.operate(), parserPerfsuiteMetadata.parserPerfsuiteMetadata.parseAllOtherTests(), bigModule.plot(), matplotRender.matplotRender.plotPeakPerday_Time(), matplotRender.matplotRender.plotPerdayX_Time(), matplotRender.matplotRender.plotSumX_Fill(), matplotRender.matplotRender.plotSumX_Run(), matplotRender.matplotRender.plotSumX_Time(), MatrixInjector.MatrixInjector.prepare(), bookConverter.priorities(), create_public_peakpu_plots.processdata(), parserTimingReport.processModuleTimeLogData(), fileCollector2.processSiStrip(), Impl.cosmics.cosmics.promptReco(), Impl.pp.pp.promptReco(), Impl.HeavyIons.HeavyIons.promptReco(), psClasses.BuildThread.putInServerQueue(), cms::Exception.raise(), CommonMethods.readBeamSpotFile(), python.readProv.filereader.readfile(), createFEDtable.retrieveFedEntries(), heppy_report.root2map(), production_tasks.MonitorJobs.run(), production_tasks.WriteJobReport.run(), production_tasks.CleanJobFiles.run(), lumiQueryAPI.runsByfillrange(), MatrixUtil.selectedLS(), BeamSpotWorkflow.selectFilesToProcess(), fileCollector.sendmail(), jsoncollector::DataPoint.serialize(), VarParsing.VarParsing.setDefault(), edmIntegrityCheck.IntegrityCheck.sortByBaseDir(), specificLumi.specificlumiTofile(), edmIntegrityCheck.IntegrityCheck.stripDuplicates(), edmIntegrityCheck.IntegrityCheck.structured(), DictTypes.TestDictTypes.testFixedKeysDict(), lumiReport.toScreenLSEffective(), lumiReport.toScreenLSTrg(), lumiReport.toScreenLumiByLS(), lumiReport.toScreenTotEffective(), lumiCalcAPI.trgForIds(), queryDataSource.trgFromOldLumi(), dataDML.trgLSById(), Vispa.Gui.VispaWidget.TextField.truncate(), lumiQueryAPI.validation(), Impl.cosmics.cosmics.visualizationProcessing(), Impl.pp.pp.visualizationProcessing(), and Impl.HeavyIons.HeavyIons.visualizationProcessing().

mps_alisetup.args = parser.parse_args()

Definition at line 311 of file mps_alisetup.py.

mps_alisetup.cms_process = mps_tools.get_process_object(thisCfgTemplate)

Definition at line 449 of file mps_alisetup.py.

mps_alisetup.collection = config.get(section, "collection")
list mps_alisetup.command
mps_alisetup.config = ConfigParser.ConfigParser()
mps_alisetup.configTemplate = config.get('general','configTemplate')

Definition at line 400 of file mps_alisetup.py.

mps_alisetup.currentDir = os.getcwd()

Definition at line 334 of file mps_alisetup.py.

dictionary mps_alisetup.datasetOptions = {}

Definition at line 526 of file mps_alisetup.py.

mps_alisetup.first_run = config.get("general", "FirstRunForStartGeometry")

Definition at line 415 of file mps_alisetup.py.

bool mps_alisetup.firstDataset = True

Definition at line 520 of file mps_alisetup.py.

bool mps_alisetup.firstPedeConfig = True

Definition at line 705 of file mps_alisetup.py.

dictionary mps_alisetup.generalOptions = {}

Definition at line 348 of file mps_alisetup.py.

mps_alisetup.globalTag = config.get('general','globaltag')

Definition at line 408 of file mps_alisetup.py.

mps_alisetup.help

Definition at line 303 of file mps_alisetup.py.

string mps_alisetup.helpEpilog
Initial value:
1 = '''Builds the config-templates from a universal config-template for each
2 dataset specified in .ini-file that is passed to this script.
3 Then calls mps_setup.pl for all datasets.'''

Definition at line 295 of file mps_alisetup.py.

mps_alisetup.jobm_path = os.path.join("jobData", lib.JOBDIR[-1])

Definition at line 477 of file mps_alisetup.py.

mps_alisetup.lib = mpslib.jobdatabase()
mps_alisetup.match = re.search(re.compile('mpproduction\/mp(.+?)$', re.M|re.I),currentDir)

Definition at line 336 of file mps_alisetup.py.

mps_alisetup.milleScript = os.path.join(mpsTemplates, "mps_runMille_template.sh")

Definition at line 330 of file mps_alisetup.py.

string mps_alisetup.mpsdirname = ''

Definition at line 335 of file mps_alisetup.py.

mps_alisetup.mpsTemplates = os.path.join("src", "Alignment", "MillePedeAlignmentAlgorithm", "templates")

Definition at line 325 of file mps_alisetup.py.

tuple mps_alisetup.msg
Initial value:
1 = ("Overriding global tag with single-IOV tags extracted from '{}' "
2  "for run number '{}'.".format(generalOptions["globaltag"],
3  first_run))

Definition at line 508 of file mps_alisetup.py.

Referenced by FWGUIEventDataAdder.addNewItem(), DDXMLElement.appendText(), dqm::RamdiskMonitor.beginLuminosityBlock(), BPHPlusMinusVertex.cAppInRPhi(), edm::service::ELdestination.changeFile(), edm::PrintEventSetupDataRetrieval.check(), dqm::DQMFileSaverOnline.checkError(), cmdline::CmdLineError.CmdLineError(), dqmservices::DQMFileIterator.collect(), BPHPlusMinusCandidate.composite(), BPHPlusMinusVertex.computeApp(), cond::auth::DecodingKey.createFromInputFile(), DDI::Specific.createPartSelections(), cond::RelationalAuthenticationService::RelationalAuthenticationService.credentials(), Logger.debug(), DQMNet.dqmhash(), Logger.dqmthrow(), edm::JobReport.dumpFiles(), HLTScalersClient.endLuminosityBlock(), DDLMap.errorOut(), RPCConst.etaFromTowerNum(), PSFitter::HybridMinimizer.ExamineMinimum(), EcalCondDBInterface.fetchFEDelaysForRun(), CondDBESSource.fillTagCollectionFromDB(), cond::persistency::RunInfoEditor.flush(), cond::auth::DecodingKey.flush(), cond::persistency::IOVEditor.flush(), edm::service::ELdestination.flush(), DDXMLElement.get(), DDXMLElement.getDDName(), EcalCondDBInterface.getEcalLogicID(), DQMStore::IGetter.getElement(), dqmservices::DQMStreamerReader.getEventMsg(), cond.getLoginName(), evf::EvFDaqDirector.getStreamDestinations(), DDXMLElement.getText(), cond::CredentialStore.importForPrincipal(), edm::reftobase::IndirectHolder< reco::GsfElectronCore >.IndirectHolder(), Logger.info(), triggerExpression::PathReader.init(), cond::auth::DecodingKey.init(), cond::CredentialStore.installAdmin(), RPCConst.iptFromPt(), BPHPlusMinusCandidate.isCowboy(), BPHPlusMinusCandidate.isSailor(), dqmservices::DQMFileIterator.logLumiState(), MuonDDDConstants.MuonDDDConstants(), edm::StreamerInputFile.newHeader(), DQMNet.onPeerData(), FWFileEntry.openFile(), Accessor.operator()(), pat::PATLostTracks.PATLostTracks(), QualityTester.performTests(), edm::service::StallMonitor.postEvent(), edm::service::StallMonitor.postEventReadFromSource(), edm::service::StallMonitor.postModuleEvent(), edm::service::StallMonitor.postModuleEventPrefetching(), edm::service::StallMonitor.postSourceEvent(), edm::service::StallMonitor.preEvent(), edm::service::StallMonitor.preEventReadFromSource(), edm::service::StallMonitor.preModuleEvent(), edm::service::StallMonitor.preSourceEvent(), edm::PrintEventSetupContent.print(), QcdLowPtDQM.print(), egHLT::TrigCodes.printCodes(), DDLPgonGenerator.processElement(), DDLTubs.processElement(), DDLTrapezoid.processElement(), DDLPolyGenerator.processElement(), DDLRotationAndReflection.processElement(), DDLCompositeMaterial.processElement(), DDLVector.processElement(), DDLRotationByAxis.processOne(), RPCConst.ptFromIpt(), cond::FileReader.read(), readRemote(), RecoProducerFP420.RecoProducerFP420(), edm::reftobase::RefHolderBase.RefHolderBase(), DQMNet.releaseFromWait(), CmsShowMainBase.reloadConfiguration(), cond::CredentialStore.removeConnection(), cond::CredentialStore.removePrincipal(), edm::JobReport.reportAnalysisFile(), edm::JobReport.reportError(), edm::JobReport.reportFallbackAttempt(), edm::JobReport.reportMemoryInfo(), edm::JobReport.reportMessageInfo(), edm::JobReport.reportPerformanceForModule(), edm::JobReport.reportPerformanceSummary(), edm::JobReport.reportRandomStateFile(), edm::JobReport.reportSkippedEvent(), edm::JobReport.reportSkippedFile(), DQMNet.requestObjectData(), HGCFEElectronics< DFr >.runShaperWithToT(), HGCFEElectronics< DFr >.runSimpleShaper(), SimpleElectronicsSimInMIPs.runTrivialShaper(), HGCFEElectronics< DFr >.runTrivialShaper(), DQMFileSaver.saveForOffline(), dqm::DQMFileSaverBase.saveRun(), DCCTBBlockPrototype.seeIfIsPossibleToIncrement(), DQMImplNet< DQMNet::Object >.sendObjectListToPeers(), CmsShowMainBase.sendVersionInfo(), edm::StreamerOutputModuleBase.serializeEvent(), FWGUIValidatingTextEntry.setMaxListBoxHeight(), cond::CredentialStore.setPermission(), Tm.setToString(), cond::CredentialStore.setUpForService(), TrackingRecHit.sharesInput(), DDXMLElement.throwError(), cond::CredentialStore.unsetPermission(), dqmservices::DQMFileIterator.update_state(), Logger.warn(), edm::ThreadSafeOutputFileStream.write(), edm::StreamerOutputModuleBase.write(), RawEventOutputModuleForBU< Consumer >.write(), ALIUtils.~ALIUtils(), and DCCTBBlockPrototype.~DCCTBBlockPrototype().

Definition at line 377 of file mps_alisetup.py.

mps_alisetup.optionxform

Definition at line 316 of file mps_alisetup.py.

string mps_alisetup.overrideGT = create_input_db(cms_process, first_run)

Definition at line 451 of file mps_alisetup.py.

mps_alisetup.parser
Initial value:
2  description='Setup the alignment as configured in the alignment_config file.',
3  epilog=helpEpilog)

Definition at line 298 of file mps_alisetup.py.

mps_alisetup.pedeScript = os.path.join(mpsTemplates, "mps_runPede_rfcp_template.sh")

Definition at line 331 of file mps_alisetup.py.

tuple mps_alisetup.pedesettings
Initial value:
1 = ([x.strip() for x in config.get("general", "pedesettings").split(",")]
2  if config.has_option("general", "pedesettings") else [None])
double split
Definition: MVATrainer.cc:139

Definition at line 380 of file mps_alisetup.py.

string mps_alisetup.thisCfgTemplate = "tmp.py"

Definition at line 446 of file mps_alisetup.py.

mps_alisetup.tmpFile = f.read()

Definition at line 431 of file mps_alisetup.py.

mps_alisetup.tracker_tree_path
Initial value:
1 = create_tracker_tree(datasetOptions["globaltag"],
2  generalOptions["FirstRunForStartGeometry"])
def create_tracker_tree(global_tag, first_run)

Definition at line 751 of file mps_alisetup.py.

mps_alisetup.weight_confs = get_weight_configs(config)

Definition at line 383 of file mps_alisetup.py.