CMS 3D CMS Logo

Classes | Variables
crabWrapper Namespace Reference

Classes

class  CrabWrapper
 

Variables

 _
 
list crabCmd = ['bash', '-c', crabStr ]
 
 crabFile = open('/'.join([os.environ["CRABPYTHON"],'crab']))
 
 crabProc = subprocess.Popen(crabCmd, stdout = subprocess.PIPE)
 
string crabSourceScript = '/afs/cern.ch/cms/ccs/wm/scripts/Crab/crab.sh'
 
tuple crabStr = ('source tempCrab && env' )
 
 key
 
list sourceCmd = ['bash', '-c', sourceStr ]
 
 sourceProc = subprocess.Popen(sourceCmd, stdout = subprocess.PIPE)
 
tuple sourceStr
 
 tempFile = open( tempFilePath, "w" )
 
string tempFilePath = "tempCrab"
 
 theCrab = CrabWrapper()
 
dictionary theCrabOptions
 
list theLine = []
 
 theLines = crabFile.readlines()
 
 value
 

Variable Documentation

crabWrapper._
private
list crabWrapper.crabCmd = ['bash', '-c', crabStr ]

Definition at line 37 of file crabWrapper.py.

crabWrapper.crabFile = open('/'.join([os.environ["CRABPYTHON"],'crab']))

Definition at line 24 of file crabWrapper.py.

crabWrapper.crabProc = subprocess.Popen(crabCmd, stdout = subprocess.PIPE)

Definition at line 38 of file crabWrapper.py.

string crabWrapper.crabSourceScript = '/afs/cern.ch/cms/ccs/wm/scripts/Crab/crab.sh'

Definition at line 9 of file crabWrapper.py.

tuple crabWrapper.crabStr = ('source tempCrab && env' )

Definition at line 36 of file crabWrapper.py.

crabWrapper.key

Definition at line 19 of file crabWrapper.py.

Referenced by optutl::VariableMapCont._checkKey(), optutl::CommandLineParser._runVariableCommandFromString(), SiPixelStatusProducer.accumulate(), LayerHitMapCache::SimpleCache.add(), L1TriggerKeyExt.add(), L1TriggerKey.add(), FastFedCablingHistosUsingDb.addDcuDetIds(), TtEvent.addEventHypo(), sistrip::SpyEventMatcher.addNextEventToMap(), CalibrationScanAnalysis.addOneCalibrationPoint(), DropBoxMetadata::Parameters.addParameter(), pat::PATObject< reco::Muon >.addUserDataFromPtr(), TtSemiLepJetComb.addUserVar(), CalibrationScanAnalysis.amplitude(), FedCablingAlgorithm.analyse(), L1CondDBPayloadWriterExt.analyze(), L1CondDBIOVWriterExt.analyze(), L1O2OTestAnalyzerExt.analyze(), L1CondDBIOVWriter.analyze(), L1CondDBPayloadWriter.analyze(), HotlineDQM.analyze(), MCEfficiencyAnalyzer.analyze(), TagAndProbeBtagTriggerMonitor.analyze(), L1O2OTestAnalyzer.analyze(), SUSY_HLT_SingleLepton.analyze(), HLTObjectMonitorProtonLead.analyze(), HLTObjectMonitor.analyze(), HLTObjectsMonitor.analyze(), TopSingleLeptonDQM_miniAOD.analyze(), SingleTopTChannelLeptonDQM_miniAOD.analyze(), TopSingleLeptonHLTOfflineDQM.analyze(), TopDiLeptonHLTOfflineDQM.analyze(), edm::EventContentAnalyzer.analyze(), TopSingleLeptonDQM.analyze(), SingleTopTChannelLeptonDQM.analyze(), TopDiLeptonOfflineDQM.analyze(), HGCalTimingAnalyzer.analyzeSimHits(), DTCCBConfig.appendConfigKey(), edm::RefVector< std::vector< math::PtEtaPhiELorentzVectorD > >.at(), CalibrationScanAnalysis.baseline(), AntiElectronDeadECAL.beginEvent(), QGLikelihoodDBWriter.beginJob(), SiPixelStatusProducer.beginLuminosityBlock(), TrackingRecoMaterialAnalyser.bookHistograms(), PixelLumiDQM.bookHistograms(), MagGeoBuilderFromDDD.build(), TrackerMap.build(), RPCConeBuilder.buildCones(), CommissioningHistosUsingDb.buildDetInfo(), SiStripFedCablingBuilderFromDb.buildFecCablingFromDevices(), MagGeoBuilderFromDDD.buildMagVolumes(), ViewTranslator.buildMaps(), MomentumDependentPedeLabeler.buildReverseMap(), RunRangeDependentPedeLabeler.buildReverseMap(), DTCompactMapWriter.buildSteering(), DTReadOutMapping.cacheMap(), edm::eventsetup::EventSetupProvider.checkESProducerSharing(), CalibrationScanAnalysis.chi2(), SiStripEventSummary.commissioningInfo(), CommissioningTask.CommissioningTask(), FineDelayHistosUsingDb.computeDelays(), Phase2Tracker::Phase2TrackerFEDBuffer.conditionData(), RPCTechnicalTrigger.convertToMap(), SiStripCommissioningSource.createCablingTasks(), sistrip::RawToDigiUnpacker.createDigis(), sistrip::SpyUnpacker.createDigis(), sistrip::DigiToRaw.createFedBuffers_(), pos::PixelFEDTestDAC.dacs(), CalibrationScanAnalysis.decayTime(), FWLiteESSource.delaySettingRecords(), edm::eventsetup::EventSetupRecordProvider.dependentRecords(), CSCCrateMap.detId(), HcalObjRepresent::HcalDataContainer< Items, Item >.Divide(), LMFUnique.dump(), cmsutil::SimpleAllocHashMultiMap< K, V, Hasher, Equals, Alloc >.empty(), FWXMLConfigParser.endElement(), DTTPAnalyzer.endJob(), dddDetails.errorReadMapType(), edm::ConsumesCollector.esConsumes(), fwlite::ChainEvent.event(), FWEveViewManager.eventEnd(), edm::eventsetup.EventSetupRecordImpl::getImplementation< fwliteeswriter::DummyType >(), DTExpandMap.expandSteering(), CommissioningHistograms.extractHistograms(), SiStripHistoTitle.extractTitle(), FastFedCablingAnalysis.FastFedCablingAnalysis(), CommissioningAnalysis.fecKey(), CommissioningAnalysis.fedKey(), pftools::CaloBox.fill(), TrackerMap.fill(), TrackerMap.fill_current_val_fed_channel(), TrackerMap.fill_fec_channel(), TrackerMap.fill_fed_channel(), TrackerMap.fill_hv_channel2(), TrackerMap.fill_hv_channel3(), TrackerMap.fill_lv_channel(), TrackerMap.fillc(), TrackerMap.fillc_fec_channel(), TrackerMap.fillc_fed_channel(), TrackerMap.fillc_hv_channel2(), TrackerMap.fillc_hv_channel3(), TrackerMap.fillc_lv_channel(), TrackingNtuple.fillPhase2OTHits(), TrackingNtuple.fillPixelHits(), TtEvtBuilder< C >.fillSpecific(), TrackingNtuple.fillStripRphiStereoHits(), DTCompactMapWriter.fillTDCMap(), edm::OwnArray< T, MAX_SIZE, P >.fillView(), edm::RefVector< C, T, F >.fillView(), edm::SortedCollection< T, SORT >.find(), PFBlockAlgo.findBlocks(), sistrip::FEDBuffer.findChannels(), SiPixelFedCablingMap.findItem(), edm::eventsetup::EventSetupProvider.finishConfiguration(), edm::TypeWithDict.functionMemberByName(), Pythia8Hadronizer.generatePartonsAndHadronize(), LayerHitMapCache::SimpleCache.get(), edm::helper::IndexRangeAssociation.get(), edm::eventsetup::EventSetupRecord.get(), pos::PixelConfigFile.get(), getAllKeys(), TrackerMap.getAutomaticRange(), fwlite::DataGetterHelper.getBranchDataFor(), LMFUnique.getClassName(), CDFRunInfo.getDouble(), Pythia8Hadronizer.getGenLumiInfoHeader(), GFOverlay.GetHistManager(), METplusTrackMonitor.getHLTObj(), edm::eventsetup::EventSetupRecordImpl.getImplementation(), CDFRunInfo.getInt(), L1GtPatternMap.getLine(), StripCompactDigiSimLinks.getLinks(), CommonAnalyzer.getList(), L1TMenuHelper.getLUSOTrigger(), DTKeyedConfigHandler.getNewObjects(), DTUserKeyedConfigHandler.getNewObjects(), L1ConfigOnlineProdBaseExt< TRcd, TData >.getObjectKey(), L1ConfigOnlineProdBase< TRcd, TData >.getObjectKey(), tensorflow::NTSession.GetOrCreateExecutors(), tensorflow::TBBSession.GetOrCreateExecutors(), LMFCorrCoefDat.getParameterErrors(), LMFCorrCoefDat.getParameters(), edm::refitem::GetRefPtrImpl< C, T, F, unsigned int >.getRefPtr_(), pos::PixelDetectorConfig.getROCsList(), fwlite::Event.getTFile(), TrajSeedMatcher.getTrajStateFromPoint(), TrajSeedMatcher.getTrajStateFromVtx(), SiStripMiscalibrate.getTruncatedRange(), edm::MultiAssociation< C >.getValues(), FWPSetTableManager.handleEntry(), FWPSetTableManager.handlePSetEntry(), FWPSetTableManager.handleVPSetEntry(), cond::GTEntry_t.hashvalue(), optutl::VariableMapCont.hasOption(), pat::PATObject< reco::Muon >.hasUserCand(), pat::PATObject< reco::Muon >.hasUserFloat(), pat::PATObject< reco::Muon >.hasUserInt(), HGCalElectronIDValueMapProducer.HGCalElectronIDValueMapProducer(), HGCalPhotonIDValueMapProducer.HGCalPhotonIDValueMapProducer(), CalibrationScanAlgorithm.histo(), GenericTriggerEventFlag.hltDBKey(), GeneralTracksImporterWithVeto.importToBlock(), TrackerMap.init(), LogicTool< GenLogic >.initialise(), MillePedeAlignmentAlgorithm.initialize(), DDMapper< KeyType, ValueType >.insert(), edm::helper::IndexRangeAssociation::FastFiller.insert(), edm::eventsetup::EventSetupProvider.insert(), edm::eventsetup::EventSetupRecord.invalidTokenHandle(), ClusterShapeHitFilter.isCompatible(), ZMuMuAnalyzer_cynematics.isContained(), NuclearInteractionEDProducer.isInside(), CalibrationScanAnalysis.isValid(), CSCChamberIndex.item(), FWTableViewManager.items(), edm::reftobase::RefHolder< REF >.key(), edm::reftobase::Holder< T, REF >.key(), JsonOutputProducer.key_int(), JsonOutputProducer.key_string(), cond::KeyedElement.KeyedElement(), L1TriggerKeyDummyProd.L1TriggerKeyDummyProd(), L1TriggerKeyDummyProdExt.L1TriggerKeyDummyProdExt(), listbadmodule(), FWPartialConfigLoadGUI.Load(), CovarianceParameterization.load(), ClusterShapeHitFilter.loadPixelLimits(), ClusterShapeHitFilter.loadStripLimits(), edm.LoggedErrorsOnlySummary(), edm.LoggedErrorsSummary(), ls_cert_type(), main(), mapSubDirectoryStructure(), MergeRootfile(), TrigObjTnPHistColl::FilterSelector.mergeTrigKeys(), TrackerMap.module(), fwlite::EventSetup.namesOfAvailableRecords(), L1TMuonGlobalParamsOnlineProd.newObject(), L1TCaloParamsOnlineProd.newObject(), edm::eventsetup::EventSetupRecord.noProxyHandle(), pat::ObjectResolutionCalc.ObjectResolutionCalc(), TriggerHelper.off(), pat::strbitset.operator&=(), ZMuMuOverlap.operator()(), edm::MessageSender::ErrorObjDeleter.operator()(), LayerHitMapCache.operator()(), Json::ValueIteratorBase.operator-(), pat::strbitset.operator==(), edm::RefVector< std::vector< math::PtEtaPhiELorentzVectorD > >.operator[](), pat::strbitset.operator^=(), pat::strbitset.operator|=(), PPSTimingCalibration.parameters(), CommandLine.parse_file(), PPSTimingCalibrationESSource.parsePPSDiamondJsonFile(), PPSTimingCalibrationESSource.parseTotemUFSDJsonFile(), pat::PATGenericParticleProducer.PATGenericParticleProducer(), pat::PATTauProducer.PATTauProducer(), PCLMetadataWriter.PCLMetadataWriter(), CalibrationScanAnalysis.peakTime(), TrackerMap.print(), print_trigger_candidates(), print_trigger_collection(), TrackerMap.printall(), SiStripConfigDb.printAnalysisDescriptions(), SiStripConfigDb.printDeviceDescriptions(), SiStripConfigDb.printFedDescriptions(), TrackerMap.printlayers(), TrackerMap.printonline(), edm.printTrees(), RPCWheel.process(), processDirectory(), PixelClusterShapeExtractor.processPixelRecHits(), WeakEffectsWeightProducer.produce(), StripCompactDigiSimLinksProducer.produce(), pat::PATGenJetSlimmer.produce(), LowPtGSFToPackedCandidateLinker.produce(), pat::PATJetSlimmer.produce(), pat::PATLostTracks.produce(), pat::PATElectronSlimmer.produce(), pat::PATPhotonSlimmer.produce(), L1ConfigOnlineProdBaseExt< TRcd, TData >.produce(), pat::PATPackedCandidateProducer.produce(), pat::GenPlusSimParticleProducer.produce(), TtEvtBuilder< C >.produce(), BoostedTauSeedsProducer.produce(), CandMCMatchTableProducer.produce(), L1ConfigOnlineProdBase< TRcd, TData >.produce(), SimPFProducer.produce(), pat::PATTriggerProducer.produce(), BTagProbabilityToDiscriminator.produce(), edm::EventPrincipal.productProvenanceRetrieverPtr(), tensorflow::NTSession.PRun(), read_badmodlist(), read_runflag(), DQMStore.readDirectory(), pat::PATMuonProducer.readIsolationLabels(), pat::PATPhotonProducer.readIsolationLabels(), pat::PATElectronProducer.readIsolationLabels(), edm::detail.reallyFillView(), L1TriggerKeyListExt.recordTypeToKeyToTokenMap(), L1TriggerKeyList.recordTypeToKeyToTokenMap(), CondDBESSource.registerProxies(), edm::eventsetup::EventSetupProvider.replaceExisting(), CalibrationScanAnalysis.reset(), CalibrationScanAnalysis.riseTime(), TrackerMap.save(), TrackerMap.save_as_fedtrackermap(), SideBandSubtract.saveResults(), RPCTechnicalTrigger.searchCoincidence(), fwlite::MultiChainEvent.secondary(), pf2pat::PdgIdPFCandidateSelectorDefinition.select(), pf2pat::PtMinPFCandidateSelectorDefinition.select(), pf2pat::GenericPFJetSelectorDefinition.select(), pf2pat::GenericPFCandidateSelectorDefinition.select(), GenJetClosestMatchSelectorDefinition.select(), pf2pat::MuonIDPFCandidateSelectorDefinition.select(), pf2pat::IsolatedPFCandidateSelectorDefinition.select(), pf2pat::IPCutPFCandidateSelectorDefinition.select(), CaloTauSelectorDefinition.select(), pf2pat::ElectronIDPFCandidateSelectorDefinition.select(), HLTMuonMatchAndPlot.selectedTriggerObjects(), JsonOutputProducer::JsonConfigurationBlock.serialise(), JsonOutputProducer::JsonConfiguration.serialise(), JsonOutputProducer::JsonVars.serialise(), JsonOutputProducer::JsonTriggerEventState.serialise(), DTLVStatus.set(), DTTPGParameters.set(), DTHVStatus.set(), DTRangeT0.set(), DTTtrig.set(), DTPerformance.set(), DTStatusFlag.set(), DTDeadFlag.set(), DTMtime.set(), Comparator.SetAxis(), LMFDat.setData(), pos::PixelGlobalDelay25.setDelay(), edm::eventsetup::EventSetupRecordProvider.setDependentProviders(), DTCCBConfig.setFullKey(), CDFRunInfo.setInfo(), LMFUnique.setInt(), pat::Lepton< reco::Muon >.setIsolation(), pat::Photon.setIsolation(), pat::GenericParticle.setIsolation(), TtEvent.setNumberOfConsideredJets(), TtSemiLeptonicEvent.setNumberOfRealNeutrinoSolutions(), LMFUnique.setString(), L1TriggerKeyExt.setSubsystemKey(), L1TriggerKey.setSubsystemKey(), TrackerMap.setText(), edm::MultiAssociation< C >::FastFiller.setValues(), SingleTopTChannelLeptonDQM.SingleTopTChannelLeptonDQM(), SingleTopTChannelLeptonDQM_miniAOD.SingleTopTChannelLeptonDQM_miniAOD(), SiPixelFedCablingMap.SiPixelFedCablingMap(), LMFDat.size(), SummaryGenerator.size(), CalibrationScanAnalysis.smearing(), sistrip::MeasureLA.store_calibrations(), HGCPassive.storeInfo(), L1TriggerKeyExt.subsystemKey(), HcalObjRepresent::HcalDataContainer< Items, Item >.Subtract(), StripCompactDigiSimLinks.swap(), edm::OwnVector< T, P >.swap(), CalibrationScanAnalysis.tail(), PPSTimingCalibration.timeOffset(), PPSTimingCalibration.timePrecision(), TopDiLeptonHLTOfflineDQM.TopDiLeptonHLTOfflineDQM(), TopDiLeptonOfflineDQM.TopDiLeptonOfflineDQM(), TopSingleLeptonDQM.TopSingleLeptonDQM(), TopSingleLeptonDQM_miniAOD.TopSingleLeptonDQM_miniAOD(), TopSingleLeptonHLTOfflineDQM.TopSingleLeptonHLTOfflineDQM(), trackerHierarchy(), TrackerMap.TrackerMap(), CalibrationScanAnalysis.turnOn(), CalibrationScanAnalysis.undershoot(), FastFedCablingHistosUsingDb.update(), FineDelayHistosUsingDb.update(), SimG4FluxProducer.update(), AntiElectronDeadECAL.updateBadTowers(), edm::service::CondorStatusService.updateChirpImpl(), pat::PATObject< ObjectType >.userCand(), pat::PATObject< ObjectType >.userDataObject_(), pat::PATObject< ObjectType >.userFloat(), pat::PATObject< ObjectType >.userFloatRange(), pat::PATObject< ObjectType >.userInt(), pat::PATObject< ObjectType >.userIntRange(), pat::Lepton< reco::Muon >.userIsolation(), pat::GenericParticle.userIsolation(), pat::Photon.userIsolation(), JsonOutputProducer.write(), sistrip::MeasureLA.write_report_plots(), sistrip::MeasureLA.write_report_text_ms(), FWPartialConfigSaveGUI.WriteConfig(), ecaldqm::StatusManager.writeToObj(), pos::PixelTTCciConfig.writeXML(), pos::PixelDelay25Calib.writeXML(), pos::PixelMaxVsf.writeXML(), pos::PixelPortCardConfig.writeXML(), pos::PixelMaskAllPixels.writeXML(), pos::PixelLowVoltageMap.writeXML(), pos::PixelLTCConfig.writeXML(), pos::PixelFECConfig.writeXML(), pos::PixelTBMSettings.writeXML(), pos::PixelFEDConfig.writeXML(), pos::PixelTrimAllPixels.writeXML(), pos::PixelTKFECConfig.writeXML(), pos::PixelPortcardMap.writeXML(), pos::PixelDACSettings.writeXML(), pos::PixelCalibConfiguration.writeXML(), edm::service::CondorStatusService.~CondorStatusService(), pat::helper::MultiIsolator.~MultiIsolator(), pos::PixelFEDCard.~PixelFEDCard(), pos::PixelNameTranslation.~PixelNameTranslation(), SummaryGeneratorControlView.~SummaryGeneratorControlView(), SummaryGeneratorReadoutView.~SummaryGeneratorReadoutView(), and TrackerMap.~TrackerMap().

list crabWrapper.sourceCmd = ['bash', '-c', sourceStr ]

Definition at line 16 of file crabWrapper.py.

crabWrapper.sourceProc = subprocess.Popen(sourceCmd, stdout = subprocess.PIPE)

Definition at line 17 of file crabWrapper.py.

tuple crabWrapper.sourceStr
Initial value:
1 = ( 'cd $CMSSW_BASE/src;'
2  'source /afs/cern.ch/cms/LCG/LCG-2/UI/cms_ui_env.sh;'
3  'eval `scramv1 runtime -sh`;'
4  'source ' + crabSourceScript + ' && env' )

Definition at line 12 of file crabWrapper.py.

crabWrapper.tempFile = open( tempFilePath, "w" )

Definition at line 33 of file crabWrapper.py.

string crabWrapper.tempFilePath = "tempCrab"

Definition at line 32 of file crabWrapper.py.

crabWrapper.theCrab = CrabWrapper()

Definition at line 63 of file crabWrapper.py.

dictionary crabWrapper.theCrabOptions
Initial value:
1 = {"-create":"",
2  "-cfg":"TkAlOfflineValidation.shiftPlots.crab.cfg"}

Definition at line 64 of file crabWrapper.py.

list crabWrapper.theLine = []

Definition at line 26 of file crabWrapper.py.

Referenced by ThirdHitCorrection.correctRZRange(), and ThirdHitCorrection.init().

crabWrapper.theLines = crabFile.readlines()

Definition at line 25 of file crabWrapper.py.

crabWrapper.value

Definition at line 19 of file crabWrapper.py.