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

Definition at line 17 of file crabWrapper.py.

Referenced by argparse.Action.__call__(), python.rootplot.argparse.Action.__call__(), argparse._SubParsersAction.__call__(), python.rootplot.argparse._SubParsersAction.__call__(), argparse.FileType.__call__(), python.rootplot.argparse.FileType.__call__(), argparse._MutuallyExclusiveGroup._add_action(), python.rootplot.argparse._MutuallyExclusiveGroup._add_action(), argparse._ActionsContainer._add_container_actions(), python.rootplot.argparse._ActionsContainer._add_container_actions(), argparse.ArgumentParser._check_value(), python.rootplot.argparse.ArgumentParser._check_value(), argparse.HelpFormatter._format_usage(), python.rootplot.argparse.HelpFormatter._format_usage(), argparse._ActionsContainer._get_handler(), python.rootplot.argparse._ActionsContainer._get_handler(), argparse.ArgumentParser._get_option_tuples(), python.rootplot.argparse.ArgumentParser._get_option_tuples(), argparse._ActionsContainer._get_optional_kwargs(), python.rootplot.argparse._ActionsContainer._get_optional_kwargs(), argparse._ActionsContainer._get_positional_kwargs(), python.rootplot.argparse._ActionsContainer._get_positional_kwargs(), argparse.ArgumentParser._get_value(), python.rootplot.argparse.ArgumentParser._get_value(), argparse._ActionsContainer._handle_conflict_error(), python.rootplot.argparse._ActionsContainer._handle_conflict_error(), argparse.ArgumentParser._match_argument(), python.rootplot.argparse.ArgumentParser._match_argument(), argparse.ArgumentParser._parse_known_args(), python.rootplot.argparse.ArgumentParser._parse_known_args(), argparse.ArgumentParser._parse_optional(), python.rootplot.argparse.ArgumentParser._parse_optional(), argparse.ArgumentParser.add_subparsers(), python.rootplot.argparse.ArgumentParser.add_subparsers(), argparse.ArgumentParser.error(), python.rootplot.argparse.ArgumentParser.error(), funct::DecomposeProduct< ProductStruct< A, B >, A >.get(), funct::DecomposeProduct< ProductStruct< A, B >, B >.get(), funct.get(), funct::DecomposePower< A, Numerical< 1 > >.getBase(), cscdqm::Configuration.init(), funct.NUM(), argparse.ArgumentParser.parse_args(), python.rootplot.argparse.ArgumentParser.parse_args(), funct.primitive(), funct.PROD_S(), and cscdqm::Configuration.~Configuration().

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

Definition at line 35 of file crabWrapper.py.

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

Definition at line 22 of file crabWrapper.py.

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

Definition at line 36 of file crabWrapper.py.

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

Definition at line 7 of file crabWrapper.py.

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

Definition at line 34 of file crabWrapper.py.

crabWrapper.key

Definition at line 17 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(), DropBoxMetadata::Parameters.addParameter(), pat::PATObject< reco::Muon >.addUserDataFromPtr(), TtSemiLepJetComb.addUserVar(), FedCablingAlgorithm.analyse(), L1CondDBPayloadWriterExt.analyze(), L1CondDBIOVWriterExt.analyze(), L1O2OTestAnalyzerExt.analyze(), L1CondDBPayloadWriter.analyze(), L1CondDBIOVWriter.analyze(), HotlineDQM.analyze(), MCEfficiencyAnalyzer.analyze(), TagAndProbeBtagTriggerMonitor.analyze(), L1O2OTestAnalyzer.analyze(), SUSY_HLT_SingleLepton.analyze(), HLTObjectMonitorProtonLead.analyze(), HLTObjectMonitor.analyze(), HLTObjectsMonitor.analyze(), SingleTopTChannelLeptonDQM_miniAOD.analyze(), TopSingleLeptonDQM_miniAOD.analyze(), TopSingleLeptonHLTOfflineDQM.analyze(), TopDiLeptonHLTOfflineDQM.analyze(), edm::EventContentAnalyzer.analyze(), TopSingleLeptonDQM.analyze(), SingleTopTChannelLeptonDQM.analyze(), TopDiLeptonOfflineDQM.analyze(), HGCalTimingAnalyzer.analyzeSimHits(), DTCCBConfig.appendConfigKey(), edm::RefVector< reco::CastorTowerCollection, typename Ref< reco::CastorTowerCollection >::value_type, typename Ref< reco::CastorTowerCollection >::finder_type >.at(), 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(), SiStripEventSummary.commissioningInfo(), CommissioningTask.CommissioningTask(), FineDelayHistosUsingDb.computeDelays(), Phase2Tracker::Phase2TrackerFEDBuffer.conditionData(), RPCTechnicalTrigger.convertToMap(), SiStripCommissioningSource.createCablingTasks(), sistrip::SpyUnpacker.createDigis(), sistrip::RawToDigiUnpacker.createDigis(), sistrip::DigiToRaw.createFedBuffers_(), pos::PixelFEDTestDAC.dacs(), FWLiteESSource.delaySettingRecords(), CSCCrateMap.detId(), LMFUnique.dump(), cmsutil::SimpleAllocHashMultiMap< K, V, Hasher, Equals, Alloc >.empty(), FWXMLConfigParser.endElement(), DTTPAnalyzer.endJob(), dddDetails.errorReadMapType(), fwlite::ChainEvent.event(), FWEveViewManager.eventEnd(), edm::eventsetup.EventSetupRecord::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::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::EventSetupRecord.getImplementation(), CDFRunInfo.getInt(), L1GtPatternMap.getLine(), StripCompactDigiSimLinks.getLinks(), CommonAnalyzer.getList(), L1TMenuHelper.getLUSOTrigger(), DTUserKeyedConfigHandler.getNewObjects(), DTKeyedConfigHandler.getNewObjects(), pftools::IO.GetNextLineData(), 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(), 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(), GenericTriggerEventFlag.hltDBKey(), GeneralTracksImporterWithVeto.importToBlock(), TrackerMap.init(), LogicTool< RBCLogic >.initialise(), MillePedeAlignmentAlgorithm.initialize(), DDMapper< KeyType, ValueType >.insert(), edm::helper::IndexRangeAssociation::FastFiller.insert(), ClusterShapeHitFilter.isCompatible(), ZMuMuAnalyzer_cynematics.isContained(), NuclearInteractionEDProducer.isInside(), pftools::IO.IsZombie(), CSCChamberIndex.item(), FWTableViewManager.items(), edm::reftobase::Holder< T, REF >.key(), edm::reftobase::RefHolder< 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(), PFRecoTauDiscriminationAgainstElectronDeadECAL.loopXtals(), ls_cert_type(), main(), mapSubDirectoryStructure(), MergeRootfile(), TrigObjTnPHistColl::FilterSelector.mergeTrigKeys(), EGPfIsolationModifierFromValueMaps.modifyObject(), EGFull5x5ShowerShapeModifierFromValueMaps.modifyObject(), EGExtraInfoModifierFromValueMaps< MapType, OutputType >.modifyObject(), TrackerMap.module(), fwlite::EventSetup.namesOfAvailableRecords(), L1TMuonGlobalParamsOnlineProd.newObject(), L1TCaloParamsOnlineProd.newObject(), pat::ObjectResolutionCalc.ObjectResolutionCalc(), TriggerHelper.off(), pat::strbitset.operator&=(), ZMuMuOverlap.operator()(), edm::MessageSender::ErrorObjDeleter.operator()(), LayerHitMapCache.operator()(), Json::ValueIteratorBase.operator-(), pat::strbitset.operator==(), edm::RefVector< reco::CastorTowerCollection, typename Ref< reco::CastorTowerCollection >::value_type, typename Ref< reco::CastorTowerCollection >::finder_type >.operator[](), pat::strbitset.operator^=(), pat::strbitset.operator|=(), CommandLine.parse_file(), pat::PATGenericParticleProducer.PATGenericParticleProducer(), pat::PATTauProducer.PATTauProducer(), PCLMetadataWriter.PCLMetadataWriter(), TrackerMap.print(), print_trigger_candidates(), print_trigger_collection(), TrackerMap.printall(), SiStripConfigDb.printAnalysisDescriptions(), SiStripConfigDb.printDeviceDescriptions(), SiStripConfigDb.printFedDescriptions(), TrackerMap.printlayers(), TrackerMap.printonline(), edm.printTrees(), CSCCathodeLCTProcessor.priorityEncode(), RPCWheel.process(), processDirectory(), PixelClusterShapeExtractor.processPixelRecHits(), WeakEffectsWeightProducer.produce(), pat::PATGenJetSlimmer.produce(), pat::PATElectronSlimmer.produce(), StripCompactDigiSimLinksProducer.produce(), pat::PATJetSlimmer.produce(), pat::PATPhotonSlimmer.produce(), L1ConfigOnlineProdBaseExt< TRcd, TData >.produce(), pat::PATPackedCandidateProducer.produce(), TtEvtBuilder< C >.produce(), pat::PATLostTracks.produce(), pat::GenPlusSimParticleProducer.produce(), CandMCMatchTableProducer.produce(), BoostedTauSeedsProducer.produce(), L1ConfigOnlineProdBase< TRcd, TData >.produce(), SimPFProducer.produce(), pat::PATTriggerProducer.produce(), BTagProbabilityToDiscriminator.produce(), DeepFlavourJetTagsProducer.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(), TrackerMap.save(), TrackerMap.save_as_fedtrackermap(), SideBandSubtract.saveResults(), RPCTechnicalTrigger.searchCoincidence(), fwlite::MultiChainEvent.secondary(), pf2pat::GenericPFJetSelectorDefinition.select(), pf2pat::PdgIdPFCandidateSelectorDefinition.select(), pf2pat::PtMinPFCandidateSelectorDefinition.select(), pf2pat::GenericPFCandidateSelectorDefinition.select(), GenJetClosestMatchSelectorDefinition.select(), pf2pat::IsolatedPFCandidateSelectorDefinition.select(), pf2pat::MuonIDPFCandidateSelectorDefinition.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(), sistrip::MeasureLA.store_calibrations(), HGCPassive.storeInfo(), L1TriggerKeyExt.subsystemKey(), StripCompactDigiSimLinks.swap(), edm::OwnVector< T, P >.swap(), TopDiLeptonHLTOfflineDQM.TopDiLeptonHLTOfflineDQM(), TopDiLeptonOfflineDQM.TopDiLeptonOfflineDQM(), TopSingleLeptonDQM.TopSingleLeptonDQM(), TopSingleLeptonDQM_miniAOD.TopSingleLeptonDQM_miniAOD(), TopSingleLeptonHLTOfflineDQM.TopSingleLeptonHLTOfflineDQM(), trackerHierarchy(), TrackerMap.TrackerMap(), FastFedCablingHistosUsingDb.update(), FineDelayHistosUsingDb.update(), SimG4FluxProducer.update(), PFRecoTauDiscriminationAgainstElectronDeadECAL.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::PixelTKFECConfig.writeXML(), pos::PixelFEDConfig.writeXML(), pos::PixelTrimAllPixels.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 14 of file crabWrapper.py.

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

Definition at line 15 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 10 of file crabWrapper.py.

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

Definition at line 31 of file crabWrapper.py.

string crabWrapper.tempFilePath = "tempCrab"

Definition at line 30 of file crabWrapper.py.

crabWrapper.theCrab = CrabWrapper()

Definition at line 61 of file crabWrapper.py.

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

Definition at line 62 of file crabWrapper.py.

list crabWrapper.theLine = []

Definition at line 24 of file crabWrapper.py.

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

crabWrapper.theLines = crabFile.readlines()

Definition at line 23 of file crabWrapper.py.

crabWrapper.value

Definition at line 17 of file crabWrapper.py.