CMS 3D CMS Logo

Namespaces | Functions | Variables

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DQM/SiStripMonitorClient/scripts/submitDQMOfflineCAF.py File Reference

Go to the source code of this file.

Namespaces

namespace  submitDQMOfflineCAF

Functions

def submitDQMOfflineCAF::Func_Exit
 Function Func_Exit()
def submitDQMOfflineCAF::Func_ExitBool
 Function Func_ExitBool()
def submitDQMOfflineCAF::Func_ExitUsage
 Function Func_ExitUsage()
def submitDQMOfflineCAF::Func_MagConfig
 Function Func_MagConfig(float_magFieldMeasured)
def submitDQMOfflineCAF::Func_MkDir
 Function Func_MkDir()
def submitDQMOfflineCAF::Func_Usage
 Function Func_Usage()

Variables

 submitDQMOfflineCAF::BOOL_CRAB = True
 submitDQMOfflineCAF::Bool_CRAB = BOOL_CRAB
 submitDQMOfflineCAF::BOOL_filter = False
 submitDQMOfflineCAF::Bool_filter = BOOL_filter
 submitDQMOfflineCAF::bool_foundField = False
 submitDQMOfflineCAF::BOOL_magFieldAuto = False
 submitDQMOfflineCAF::Bool_magFieldAuto = BOOL_magFieldAuto
 submitDQMOfflineCAF::bool_standBy = False
 submitDQMOfflineCAF::BOOL_useCastor = True
 submitDQMOfflineCAF::Bool_useCastor = BOOL_useCastor
dictionary submitDQMOfflineCAF::Dict_arguments = {}
 submitDQMOfflineCAF::dict_arguments = Dict_arguments
dictionary submitDQMOfflineCAF::DICT_functionLetters
dictionary submitDQMOfflineCAF::DICT_optionLetters
 submitDQMOfflineCAF::dt_stampNew = dt_stampOld-TD_shiftUTC
tuple submitDQMOfflineCAF::dt_stampOld = datetime.datetime(int(lstr_timeDate[0]),int(lstr_timeDate[1]),int(lstr_timeDate[2]),int(lstr_timeTime[0]),int(lstr_timeTime[1]),int(lstr_timeTime[2]))
tuple submitDQMOfflineCAF::file_cmsmonOutput = urllib.urlopen("https://cmsmon.cern.ch/cmsdb/servlet/RunSummary", str_cmsmonParams)
tuple submitDQMOfflineCAF::file_dbsOutput = urllib.urlopen("https://cmsweb.cern.ch/dbs_discovery/getLFN_txt", str_dbsParams)
tuple submitDQMOfflineCAF::file_inputFilesCAFCff = file(Str_pathInputFilesCAFCff, 'w')
tuple submitDQMOfflineCAF::file_inputFilesCff = file(str_nameInputFilesFile, 'w')
tuple submitDQMOfflineCAF::file_inputFilesJobCff = file(str_pathInputFilesJobCff, 'w')
tuple submitDQMOfflineCAF::float_magField = Func_MagConfig(Float_magField)
tuple submitDQMOfflineCAF::Float_magField = float(Str_magField[:-1])
 submitDQMOfflineCAF::Int_jobs = INT_jobs
int submitDQMOfflineCAF::INT_jobs = 10
 submitDQMOfflineCAF::Int_jobsNew = Int_jobs
int submitDQMOfflineCAF::int_nFunctionLetters = 0
int submitDQMOfflineCAF::int_nInputFiles = 0
int submitDQMOfflineCAF::int_nLinesRead = 0
list submitDQMOfflineCAF::LFLOAT_valueMagField = [0.0,2.0,3.0,3.5,3.8,4.0]
list submitDQMOfflineCAF::LSTR_auto = ['AUTO','Auto','auto']
list submitDQMOfflineCAF::LSTR_datatiers = ['RECO','RAW']
list submitDQMOfflineCAF::LSTR_false = ['0','FALSE','False','false']
list submitDQMOfflineCAF::LSTR_functionLetters = ['-s','-c','-h']
tuple submitDQMOfflineCAF::lstr_linesInput = file_inputFilesCff.readlines()
list submitDQMOfflineCAF::LSTR_optionLetters = ['-r','-C','-S','-e','-j','-M','-g','-f','-d','-o','-m']
list submitDQMOfflineCAF::LSTR_server = [STR_none,'caf','bari']
tuple submitDQMOfflineCAF::lstr_timeDate = str_timeQuery.split('=')
tuple submitDQMOfflineCAF::lstr_timeQuery = str_cmsmonOutput.split('HREF=Component?RUN=' + Str_run + '&NAME=TRACKER&')
tuple submitDQMOfflineCAF::lstr_timeTime = str_timeQuery.split('=')
list submitDQMOfflineCAF::LSTR_true = ['1','TRUE' ,'True' ,'true' ]
list submitDQMOfflineCAF::LSTR_wordArgument = sys.argv[1:]
tuple submitDQMOfflineCAF::lstr_wordsLine = str_iLine.split("/")
int submitDQMOfflineCAF::nLines = 0
int submitDQMOfflineCAF::OCT_rwx_r_r = 0744
string submitDQMOfflineCAF::str_argumentFormer = ''
tuple submitDQMOfflineCAF::str_buffer = commands.getoutput('which crab')
string submitDQMOfflineCAF::str_castorCp = 'cp'
tuple submitDQMOfflineCAF::str_cmsmonParams = urllib.urlencode({'RUN':Str_run})
tuple submitDQMOfflineCAF::str_correctedLine1 = str_linesInput.replace(')
list submitDQMOfflineCAF::Str_dataset = Dict_arguments[LSTR_optionLetters[8]]
tuple submitDQMOfflineCAF::str_datatier = Str_dataset.split('/')
list submitDQMOfflineCAF::Str_datatier = LSTR_datatiers[1]
tuple submitDQMOfflineCAF::str_dbsParams = urllib.urlencode({'dbsInst':'cms_dbs_prod_global', 'blockName':'*', 'dataset':Str_dataset, 'userMode':'user', 'run':Str_run, 'what':'py'})
string submitDQMOfflineCAF::STR_default = 'DEFAULT'
string submitDQMOfflineCAF::STR_email = 'volker.adler@cern.ch'
 submitDQMOfflineCAF::Str_email = STR_email
string submitDQMOfflineCAF::STR_globalTag = 'CRAFT_V4P::All'
 submitDQMOfflineCAF::Str_globalTag = STR_globalTag
string submitDQMOfflineCAF::str_lineInput = '/SiStripDQMOfflineGlobalRunCAF-'
string submitDQMOfflineCAF::STR_magField = '38T'
 submitDQMOfflineCAF::Str_magField = STR_magField
string submitDQMOfflineCAF::STR_mailServer = '@mail.cern.ch'
string submitDQMOfflineCAF::STR_mailSmtp = 'localhost'
string submitDQMOfflineCAF::STR_mailText
string submitDQMOfflineCAF::STR_mailTextOpener = """Dear """
 submitDQMOfflineCAF::Str_mergepath = STR_mergepath
string submitDQMOfflineCAF::STR_mergepath = '/afs/cern.ch/cms/CAF/CMSCOMM/COMM_TRACKER/DQM/SiStrip/jobs/merged'
string submitDQMOfflineCAF::STR_nameCmsswPackage = 'DQM/SiStripMonitorClient'
tuple submitDQMOfflineCAF::Str_nameCmsswRel = os.getenv('CMSSW_VERSION')
string submitDQMOfflineCAF::str_nameInputFilesFile = '/'
string submitDQMOfflineCAF::Str_nameRun = 'R'
tuple submitDQMOfflineCAF::str_nameRunIncludeDir = STR_nameCmsswPackage.replace('/','.')
tuple submitDQMOfflineCAF::str_nameStamp = str_timeQuery.split('=')
string submitDQMOfflineCAF::STR_none = 'None'
 submitDQMOfflineCAF::Str_outpath = STR_outpath
string submitDQMOfflineCAF::STR_outpath = '/castor/cern.ch/user/c/cctrack/DQM'
string submitDQMOfflineCAF::str_outputDir = '.'
tuple submitDQMOfflineCAF::Str_pathCmsswBase = os.getenv('CMSSW_BASE')
string submitDQMOfflineCAF::Str_pathCmsswBasePackage = '/src/'
tuple submitDQMOfflineCAF::Str_pathCurrentDir = os.getcwd()
 Main program.
string submitDQMOfflineCAF::Str_pathInputFilesCAFCff = '/inputFilesCAF_cff.py'
string submitDQMOfflineCAF::str_pathInputFilesJobCff = '/inputFiles_cff.py'
string submitDQMOfflineCAF::Str_pathRunIncludeDir = '/python/'
list submitDQMOfflineCAF::Str_run = Dict_arguments[LSTR_optionLetters[0]]
string submitDQMOfflineCAF::str_sedCommand = 'sed '
string submitDQMOfflineCAF::str_sedCommandCommon = 'sed '
 submitDQMOfflineCAF::Str_server = STR_server
list submitDQMOfflineCAF::STR_server = LSTR_server[0]
string submitDQMOfflineCAF::str_suffixShell = 'csh'
string submitDQMOfflineCAF::STR_textUsage
string submitDQMOfflineCAF::str_timeBegin = ''
string submitDQMOfflineCAF::str_timeEnd = ''
tuple submitDQMOfflineCAF::str_timeStamp = str(dt_stampNew)
tuple submitDQMOfflineCAF::TD_shiftUTC = datetime.timedelta(hours = 2)