Functions | |
def | digest_path (path) |
def | find_and_change (keys, var, alt=digest_path) |
def | get_all_keys (var) |
def | get_root_color (value) |
Variables | |
_file = pfnInPath(path_to_check) | |
op | |
path_d = path_expanded.split("://")[1] | |
path_expanded = os.path.expandvars(path) | |
path_s = path_d.split(os.sep) | |
path_to_check = os.path.join(*path_s[:placeholderIdx[0]]) | |
list | placeholderIdx = [] |
post | |
pre | |
string | protocol = "" |
list | reserved_keys = ["customrighttitle","title"] |
def findAndChange.digest_path | ( | path | ) |
Definition at line 6 of file findAndChange.py.
def findAndChange.find_and_change | ( | keys, | |
var, | |||
alt = digest_path |
|||
) |
Definition at line 107 of file findAndChange.py.
References get_all_keys(), and get_root_color().
def findAndChange.get_all_keys | ( | var | ) |
def findAndChange.get_root_color | ( | value | ) |
Definition at line 66 of file findAndChange.py.
References caHitNtupletGeneratorKernels.if(), and createfilelist.int.
Referenced by find_and_change().
|
private |
Definition at line 55 of file findAndChange.py.
Referenced by HcalLutManager.create_lut_loader(), XMLLUTLoader.createLoader(), and L1GtVhdlTemplateFile.insert().
findAndChange.op |
Definition at line 75 of file findAndChange.py.
Referenced by L1GtVhdlWriterCore.addJetCountsToCond2IntMap(), BPHMultiSelectBase< T >.BPHMultiSelectBase(), BTagCalibrationReader::BTagCalibrationReaderImpl.BTagCalibrationReaderImpl(), BTagEntry.BTagEntry(), LMFDat.buildSelectSql(), TtSemiLepJetComb.combinedBTags(), TtSemiLepJetComb.combinedBTagsForLightQuarks(), edm::Hash< EntryDescriptionType >.compareUsing(), CSCSkim.doLongSATrack(), fwlite::IOVSyncValue.doOp(), edm::IOVSyncValue.doOp(), edm::LuminosityBlockID.doOp(), fwlite::Event.draw(), edm::pathStatusExpression::BinaryOperator< T >.evaluate(), fwlite::DataGetterHelper.getBranchData(), L1GtVhdlWriterCore.getCaloSetupContentFromTriggerMenu(), L1GtVhdlWriterCore.getCondChipVhdContentFromTriggerMenu(), getConfigurationDescription4CCC(), L1GtVhdlWriterCore.getDefValsFromTriggerMenu(), L1GtVhdlWriterCore.getEsumsSetupContentFromTriggerMenu(), L1GtVhdlWriterCore.getMuonSetupContentFromTriggerMenu(), edm::MessageLoggerQ.handshaked(), LocalTrajectoryParameters.momentum(), multiTrajectoryStateMode.momentumFromModePPhiEta(), SiPixelDigiMorphing.morph(), edm::GlobalSchedule.processOneGlobalAsync(), edm::StreamSchedule.processOneStreamAsync(), SiStripRegFEDSelector.produce(), SelectedElectronFEDListProducer< TEle, TCand >.produce(), conifer.reduce(), L1SCJetEmu.reduce(), fwlite::Event.scan(), DDSpecificsFilter.setCriteria(), jsoncollector::DataPoint.setOperation(), riemannFit.transformToPerigeePlane(), lumi::Lumi2DB.writeAllLumiDataToSchema2(), lumi::HLTV32DB.writeHltDataToSchema2(), edm::OutputModuleCommunicatorT< T >.writeLumiAsync(), edm::Schedule.writeLumiAsync(), edm::EventProcessor.writeLumiAsync(), edm::OutputModuleCommunicatorT< T >.writeProcessBlockAsync(), edm::Schedule.writeProcessBlockAsync(), edm::EventProcessor.writeProcessBlockAsync(), edm::OutputModuleCommunicatorT< T >.writeRunAsync(), edm::Schedule.writeRunAsync(), edm::EventProcessor.writeRunAsync(), lumi::TRGScalers2DB.writeTrgDataToSchema2(), L1GtVmeWriterCore.writeVME(), and edm::EventProcessor.~EventProcessor().
string findAndChange.path_d = path_expanded.split("://")[1] |
Definition at line 26 of file findAndChange.py.
findAndChange.path_expanded = os.path.expandvars(path) |
Ensure that everything is done for path to exist Arguments: - path: String that can be both directory and file Return: - general: environmental variables are expanded - directory: is checked to exist - file: is checked to exist with backup directory being searched in cms-data
Definition at line 20 of file findAndChange.py.
findAndChange.path_s = path_d.split(os.sep) |
Definition at line 34 of file findAndChange.py.
findAndChange.path_to_check = os.path.join(*path_s[:placeholderIdx[0]]) |
Definition at line 45 of file findAndChange.py.
list findAndChange.placeholderIdx = [] |
Definition at line 36 of file findAndChange.py.
findAndChange.post |
Definition at line 75 of file findAndChange.py.
Referenced by HLTMuonPlotter.analyze(), MuonKinkFinder.fillTrkKink(), edm::Maker.makeModule(), edm::Factory.makeModule(), EcalTBH4Trigger.update(), and SimTracer.update().
findAndChange.pre |
Returns an integer correspondig to the ROOT color
Definition at line 75 of file findAndChange.py.
Referenced by HLTMuonPlotter.analyze(), HEff1DHitHarvest.computeEfficiency(), HEff2DHitHarvest.computeEfficiency(), HEff4DHitHarvest.computeEfficiency(), MuonKinkFinder.fillTrkKink(), DDHtmlFormatter.footer(), DDHtmlFormatter.header(), HEff1DHit.HEff1DHit(), HEff1DHitHarvest.HEff1DHitHarvest(), HEff2DHit.HEff2DHit(), HEff2DHitHarvest.HEff2DHitHarvest(), HEff4DHit.HEff4DHit(), HEff4DHitHarvest.HEff4DHitHarvest(), HRes1DHit.HRes1DHit(), HRes2DHit.HRes2DHit(), HRes4DHit.HRes4DHit(), DDHtmlFormatter.link(), edm::Maker.makeModule(), edm::Factory.makeModule(), ParticleTreeDrawer.printDecay(), IntegerCaloSamples.setPresamples(), CaloSamples.setPresamples(), and EcalTBH4Trigger.update().
string findAndChange.protocol = "" |
Definition at line 23 of file findAndChange.py.
Referenced by edm::FileLocator.applyRules(), edm::storage::StorageFactory.check(), cond::persistency.getConnectionParams(), edm::storage::StorageFactory.getMaker(), edm::FileLocator.init(), edm::storage::StorageFactory.open(), cond::persistency.parseConnectionString(), edm::FileLocator.parseRule(), edm::FileLocator.parseRuleTrivialCatalog(), and edm::storage::StorageFactory.stagein().
list findAndChange.reserved_keys = ["customrighttitle","title"] |
Generate all keys for nested dictionary - reserved keywords are not picked up
Definition at line 92 of file findAndChange.py.