CMS 3D CMS Logo

Functions | Variables
submitDQMOfflineCAF Namespace Reference

Functions

def Func_Exit ()
 Function Func_Exit() More...
 
def Func_ExitBool (int_index)
 Function Func_ExitBool() More...
 
def Func_ExitUsage ()
 Function Func_ExitUsage() More...
 
def Func_MagConfig (float_magFieldMeasured)
 Function Func_MagConfig(float_magFieldMeasured) More...
 
def Func_MkDir (str_path)
 Function Func_MkDir() More...
 
def Func_Usage ()
 Function Func_Usage() More...
 

Variables

 BOOL_CRAB
 
 Bool_CRAB
 
 BOOL_filter
 
 Bool_filter
 
 bool_found
 
 bool_foundField
 
 BOOL_magFieldAuto
 
 Bool_magFieldAuto
 
 bool_standBy
 
 BOOL_useCastor
 
 Bool_useCastor
 
 Dict_arguments
 
 dict_arguments
 
 DICT_functionLetters
 
 DICT_optionLetters
 
 dt_stampNew
 
 dt_stampOld
 
 file_cmsmonOutput
 
 file_dbsOutput
 
 file_inputFilesCAFCff
 
 file_inputFilesCff
 
 file_inputFilesJobCff
 
 file_logCRAB
 
 Float_magField
 
 float_magField
 
 hours
 
 INT_jobs
 
 Int_jobs
 
 Int_jobsNew
 
 int_nFunctionLetters
 
 int_nInputFiles
 
 int_nInputFilesJob
 
 int_nLinesRead
 
 LFLOAT_valueMagField
 
 LSTR_auto
 
 LSTR_datatiers
 
 LSTR_false
 
 LSTR_functionLetters
 
 lstr_linesInput
 
 LSTR_optionLetters
 
 lstr_outpath
 
 LSTR_server
 
 lstr_timeDate
 
 lstr_timeQuery
 
 lstr_timeTime
 
 LSTR_true
 
 LSTR_wordArgument
 
 lstr_wordsLine
 
 nLines
 
 OCT_rwx_r_r
 
 server
 
 str_actualLine
 
 str_argumentFormer
 
 str_batchCommand
 
 str_buffer
 
 str_castorCp
 
 str_cmsmonParams
 
 str_correctedLine
 
 str_correctedLine1
 
 str_crabCommand
 
 Str_dataset
 
 str_datatier
 
 Str_datatier
 
 str_dbsParams
 
 STR_default
 
 STR_email
 
 Str_email
 
 STR_globalTag
 
 Str_globalTag
 
 str_lineInput
 
 str_linesInput
 
 STR_magField
 
 Str_magField
 
 str_mailFrom
 
 str_mailMessage
 
 STR_mailServer
 
 STR_mailSmtp
 
 str_mailSubject
 
 STR_mailText
 
 str_mailText
 
 STR_mailTextOpener
 
 str_mailTo
 
 STR_mergepath
 
 Str_mergepath
 
 STR_nameCmsswPackage
 
 Str_nameCmsswRel
 
 str_nameInputFilesFile
 
 str_nameJob
 
 str_nameJobDir
 
 str_nameJobIncludeDir
 
 Str_nameRun
 
 str_nameRunIncludeDir
 
 str_nameStamp
 
 STR_none
 
 STR_outpath
 
 Str_outpath
 
 str_outpath
 
 str_outputDir
 
 Str_pathCmsswBase
 
 Str_pathCmsswBasePackage
 
 Str_pathCurrentDir
 Main program. More...
 
 Str_pathInputFilesCAFCff
 
 str_pathInputFilesJobCff
 
 str_pathJobIncludeDir
 
 Str_pathRunIncludeDir
 
 Str_run
 
 str_sedCommand
 
 str_sedCommandCommon
 
 STR_server
 
 Str_server
 
 str_suffixShell
 
 STR_textUsage
 
 str_timeBegin
 
 str_timeEnd
 
 str_timeStamp
 
 TD_shiftUTC
 

Function Documentation

◆ Func_Exit()

def submitDQMOfflineCAF.Func_Exit ( )

Function Func_Exit()

Exit after error

Function Func_Exit():
Exit after error

Definition at line 247 of file submitDQMOfflineCAF.py.

References print().

Referenced by Func_ExitBool().

247 def Func_Exit():
248  """ Function Func_Exit():
249  Exit after error
250  """
251  print(' exit')
252  print()
253  sys.exit(1)
254 
def Func_Exit()
Function Func_Exit()
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47

◆ Func_ExitBool()

def submitDQMOfflineCAF.Func_ExitBool (   int_index)

Function Func_ExitBool()

Exit after wrong assignment of bool option

Function Func_ExitBool():
Exit after wrong assignment of bool option

Definition at line 270 of file submitDQMOfflineCAF.py.

References Func_Exit(), and print().

270 def Func_ExitBool(int_index):
271  """ Function Func_ExitBool():
272  Exit after wrong assignment of bool option
273  """
274  print('> submitDQMOfflineCAF.py > option %s expects 0/1, FALSE/TRUE, False/True or false/true' %(DICT_optionLetters.items()[int_index]))
275  Func_Exit()
276 
def Func_Exit()
Function Func_Exit()
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47
def Func_ExitBool(int_index)
Function Func_ExitBool()

◆ Func_ExitUsage()

def submitDQMOfflineCAF.Func_ExitUsage ( )

Function Func_ExitUsage()

Exit after wrong invocation of script

Function Func_ExitUsage():
Exit after wrong invocation of script

Definition at line 258 of file submitDQMOfflineCAF.py.

References Func_Usage(), and print().

258 def Func_ExitUsage():
259  """ Function Func_ExitUsage():
260  Exit after wrong invocation of script
261  """
262  print(' exit')
263  print()
264  Func_Usage()
265  sys.exit(1)
266 
def Func_ExitUsage()
Function Func_ExitUsage()
def Func_Usage()
Function Func_Usage()
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47

◆ Func_MagConfig()

def submitDQMOfflineCAF.Func_MagConfig (   float_magFieldMeasured)

Function Func_MagConfig(float_magFieldMeasured)

Determine configuration to be used for a given magnetic field

Func_MagConfig(float_magFieldMeasured):
Determine configuration to be used for a given magnetic field

Definition at line 290 of file submitDQMOfflineCAF.py.

References print().

290 def Func_MagConfig(float_magFieldMeasured):
291  """ Func_MagConfig(float_magFieldMeasured):
292  Determine configuration to be used for a given magnetic field
293  """
294  float_magField = 0.0
295  for float_valueMagField in LFLOAT_valueMagField:
296  if math.fabs(float_valueMagField-float_magFieldMeasured) < math.fabs(float_magField-float_magFieldMeasured):
297  float_magField = float_valueMagField
298  return float_magField
299 
def Func_MagConfig(float_magFieldMeasured)
Function Func_MagConfig(float_magFieldMeasured)

◆ Func_MkDir()

def submitDQMOfflineCAF.Func_MkDir (   str_path)

Function Func_MkDir()

Create new directory

Function Func_MkDir():
Create new directory

Definition at line 280 of file submitDQMOfflineCAF.py.

280 def Func_MkDir(str_path):
281  """ Function Func_MkDir():
282  Create new directory
283  """
284  shutil.rmtree(str_path, True)
285  os.mkdir(str_path)
286 
def Func_MkDir(str_path)
Function Func_MkDir()

◆ Func_Usage()

def submitDQMOfflineCAF.Func_Usage ( )

Function Func_Usage()

Displays usage of the script

Function Func_Usage():
Displays usage of the script

Definition at line 238 of file submitDQMOfflineCAF.py.

References print().

Referenced by Func_ExitUsage().

238 def Func_Usage():
239  """ Function Func_Usage():
240  Displays usage of the script
241  """
242  print(STR_textUsage)
243 
def Func_Usage()
Function Func_Usage()
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47

Variable Documentation

◆ BOOL_CRAB

submitDQMOfflineCAF.BOOL_CRAB

Definition at line 138 of file submitDQMOfflineCAF.py.

◆ Bool_CRAB

submitDQMOfflineCAF.Bool_CRAB

Definition at line 222 of file submitDQMOfflineCAF.py.

◆ BOOL_filter

submitDQMOfflineCAF.BOOL_filter

Definition at line 146 of file submitDQMOfflineCAF.py.

◆ Bool_filter

submitDQMOfflineCAF.Bool_filter

Definition at line 227 of file submitDQMOfflineCAF.py.

◆ bool_found

submitDQMOfflineCAF.bool_found

Definition at line 775 of file submitDQMOfflineCAF.py.

◆ bool_foundField

submitDQMOfflineCAF.bool_foundField

Definition at line 488 of file submitDQMOfflineCAF.py.

◆ BOOL_magFieldAuto

submitDQMOfflineCAF.BOOL_magFieldAuto

Definition at line 145 of file submitDQMOfflineCAF.py.

◆ Bool_magFieldAuto

submitDQMOfflineCAF.Bool_magFieldAuto

Definition at line 230 of file submitDQMOfflineCAF.py.

◆ bool_standBy

submitDQMOfflineCAF.bool_standBy

Definition at line 341 of file submitDQMOfflineCAF.py.

◆ BOOL_useCastor

submitDQMOfflineCAF.BOOL_useCastor

Definition at line 148 of file submitDQMOfflineCAF.py.

◆ Bool_useCastor

submitDQMOfflineCAF.Bool_useCastor

Definition at line 232 of file submitDQMOfflineCAF.py.

◆ Dict_arguments

submitDQMOfflineCAF.Dict_arguments

Definition at line 221 of file submitDQMOfflineCAF.py.

◆ dict_arguments

submitDQMOfflineCAF.dict_arguments

Definition at line 376 of file submitDQMOfflineCAF.py.

◆ DICT_functionLetters

submitDQMOfflineCAF.DICT_functionLetters

Definition at line 152 of file submitDQMOfflineCAF.py.

◆ DICT_optionLetters

submitDQMOfflineCAF.DICT_optionLetters

Definition at line 156 of file submitDQMOfflineCAF.py.

◆ dt_stampNew

submitDQMOfflineCAF.dt_stampNew

Definition at line 580 of file submitDQMOfflineCAF.py.

◆ dt_stampOld

submitDQMOfflineCAF.dt_stampOld

Definition at line 579 of file submitDQMOfflineCAF.py.

◆ file_cmsmonOutput

submitDQMOfflineCAF.file_cmsmonOutput

Definition at line 569 of file submitDQMOfflineCAF.py.

◆ file_dbsOutput

submitDQMOfflineCAF.file_dbsOutput

Definition at line 543 of file submitDQMOfflineCAF.py.

◆ file_inputFilesCAFCff

submitDQMOfflineCAF.file_inputFilesCAFCff

Definition at line 632 of file submitDQMOfflineCAF.py.

◆ file_inputFilesCff

submitDQMOfflineCAF.file_inputFilesCff

Definition at line 540 of file submitDQMOfflineCAF.py.

◆ file_inputFilesJobCff

submitDQMOfflineCAF.file_inputFilesJobCff

Definition at line 674 of file submitDQMOfflineCAF.py.

◆ file_logCRAB

submitDQMOfflineCAF.file_logCRAB

Definition at line 776 of file submitDQMOfflineCAF.py.

◆ Float_magField

submitDQMOfflineCAF.Float_magField

Definition at line 229 of file submitDQMOfflineCAF.py.

◆ float_magField

submitDQMOfflineCAF.float_magField

Definition at line 600 of file submitDQMOfflineCAF.py.

◆ hours

submitDQMOfflineCAF.hours

Definition at line 31 of file submitDQMOfflineCAF.py.

◆ INT_jobs

submitDQMOfflineCAF.INT_jobs

Definition at line 142 of file submitDQMOfflineCAF.py.

◆ Int_jobs

submitDQMOfflineCAF.Int_jobs

Definition at line 225 of file submitDQMOfflineCAF.py.

◆ Int_jobsNew

submitDQMOfflineCAF.Int_jobsNew

Definition at line 562 of file submitDQMOfflineCAF.py.

◆ int_nFunctionLetters

submitDQMOfflineCAF.int_nFunctionLetters

Definition at line 326 of file submitDQMOfflineCAF.py.

◆ int_nInputFiles

submitDQMOfflineCAF.int_nInputFiles

Definition at line 539 of file submitDQMOfflineCAF.py.

◆ int_nInputFilesJob

submitDQMOfflineCAF.int_nInputFilesJob

Definition at line 707 of file submitDQMOfflineCAF.py.

◆ int_nLinesRead

submitDQMOfflineCAF.int_nLinesRead

Definition at line 608 of file submitDQMOfflineCAF.py.

◆ LFLOAT_valueMagField

submitDQMOfflineCAF.LFLOAT_valueMagField

Definition at line 30 of file submitDQMOfflineCAF.py.

◆ LSTR_auto

submitDQMOfflineCAF.LSTR_auto

Definition at line 37 of file submitDQMOfflineCAF.py.

◆ LSTR_datatiers

submitDQMOfflineCAF.LSTR_datatiers

Definition at line 134 of file submitDQMOfflineCAF.py.

◆ LSTR_false

submitDQMOfflineCAF.LSTR_false

Definition at line 34 of file submitDQMOfflineCAF.py.

◆ LSTR_functionLetters

submitDQMOfflineCAF.LSTR_functionLetters

Definition at line 151 of file submitDQMOfflineCAF.py.

◆ lstr_linesInput

submitDQMOfflineCAF.lstr_linesInput

Definition at line 610 of file submitDQMOfflineCAF.py.

◆ LSTR_optionLetters

submitDQMOfflineCAF.LSTR_optionLetters

Definition at line 155 of file submitDQMOfflineCAF.py.

◆ lstr_outpath

submitDQMOfflineCAF.lstr_outpath

Definition at line 690 of file submitDQMOfflineCAF.py.

◆ LSTR_server

submitDQMOfflineCAF.LSTR_server

Definition at line 139 of file submitDQMOfflineCAF.py.

◆ lstr_timeDate

submitDQMOfflineCAF.lstr_timeDate

Definition at line 577 of file submitDQMOfflineCAF.py.

◆ lstr_timeQuery

submitDQMOfflineCAF.lstr_timeQuery

Definition at line 574 of file submitDQMOfflineCAF.py.

◆ lstr_timeTime

submitDQMOfflineCAF.lstr_timeTime

Definition at line 578 of file submitDQMOfflineCAF.py.

◆ LSTR_true

submitDQMOfflineCAF.LSTR_true

Definition at line 33 of file submitDQMOfflineCAF.py.

◆ LSTR_wordArgument

submitDQMOfflineCAF.LSTR_wordArgument

Definition at line 136 of file submitDQMOfflineCAF.py.

◆ lstr_wordsLine

submitDQMOfflineCAF.lstr_wordsLine

Definition at line 545 of file submitDQMOfflineCAF.py.

◆ nLines

submitDQMOfflineCAF.nLines

◆ OCT_rwx_r_r

submitDQMOfflineCAF.OCT_rwx_r_r

Definition at line 29 of file submitDQMOfflineCAF.py.

◆ server

submitDQMOfflineCAF.server

Definition at line 856 of file submitDQMOfflineCAF.py.

◆ str_actualLine

submitDQMOfflineCAF.str_actualLine

Definition at line 682 of file submitDQMOfflineCAF.py.

◆ str_argumentFormer

submitDQMOfflineCAF.str_argumentFormer

Definition at line 340 of file submitDQMOfflineCAF.py.

◆ str_batchCommand

submitDQMOfflineCAF.str_batchCommand

Definition at line 828 of file submitDQMOfflineCAF.py.

◆ str_buffer

submitDQMOfflineCAF.str_buffer

Definition at line 462 of file submitDQMOfflineCAF.py.

◆ str_castorCp

submitDQMOfflineCAF.str_castorCp

Definition at line 517 of file submitDQMOfflineCAF.py.

◆ str_cmsmonParams

submitDQMOfflineCAF.str_cmsmonParams

Definition at line 568 of file submitDQMOfflineCAF.py.

◆ str_correctedLine

submitDQMOfflineCAF.str_correctedLine

Definition at line 680 of file submitDQMOfflineCAF.py.

◆ str_correctedLine1

submitDQMOfflineCAF.str_correctedLine1

Definition at line 679 of file submitDQMOfflineCAF.py.

◆ str_crabCommand

submitDQMOfflineCAF.str_crabCommand

Definition at line 816 of file submitDQMOfflineCAF.py.

◆ Str_dataset

submitDQMOfflineCAF.Str_dataset

Definition at line 445 of file submitDQMOfflineCAF.py.

◆ str_datatier

submitDQMOfflineCAF.str_datatier

Definition at line 501 of file submitDQMOfflineCAF.py.

◆ Str_datatier

submitDQMOfflineCAF.Str_datatier

Definition at line 503 of file submitDQMOfflineCAF.py.

◆ str_dbsParams

submitDQMOfflineCAF.str_dbsParams

Definition at line 542 of file submitDQMOfflineCAF.py.

◆ STR_default

submitDQMOfflineCAF.STR_default

Definition at line 35 of file submitDQMOfflineCAF.py.

◆ STR_email

submitDQMOfflineCAF.STR_email

Definition at line 141 of file submitDQMOfflineCAF.py.

◆ Str_email

submitDQMOfflineCAF.Str_email

Definition at line 224 of file submitDQMOfflineCAF.py.

◆ STR_globalTag

submitDQMOfflineCAF.STR_globalTag

Definition at line 143 of file submitDQMOfflineCAF.py.

◆ Str_globalTag

submitDQMOfflineCAF.Str_globalTag

Definition at line 226 of file submitDQMOfflineCAF.py.

◆ str_lineInput

submitDQMOfflineCAF.str_lineInput

Definition at line 635 of file submitDQMOfflineCAF.py.

◆ str_linesInput

submitDQMOfflineCAF.str_linesInput

Definition at line 745 of file submitDQMOfflineCAF.py.

◆ STR_magField

submitDQMOfflineCAF.STR_magField

Definition at line 144 of file submitDQMOfflineCAF.py.

◆ Str_magField

submitDQMOfflineCAF.Str_magField

Definition at line 228 of file submitDQMOfflineCAF.py.

◆ str_mailFrom

submitDQMOfflineCAF.str_mailFrom

Definition at line 842 of file submitDQMOfflineCAF.py.

◆ str_mailMessage

submitDQMOfflineCAF.str_mailMessage

Definition at line 850 of file submitDQMOfflineCAF.py.

◆ STR_mailServer

submitDQMOfflineCAF.STR_mailServer

Definition at line 168 of file submitDQMOfflineCAF.py.

◆ STR_mailSmtp

submitDQMOfflineCAF.STR_mailSmtp

Definition at line 167 of file submitDQMOfflineCAF.py.

◆ str_mailSubject

submitDQMOfflineCAF.str_mailSubject

Definition at line 848 of file submitDQMOfflineCAF.py.

◆ STR_mailText

submitDQMOfflineCAF.STR_mailText

Definition at line 172 of file submitDQMOfflineCAF.py.

◆ str_mailText

submitDQMOfflineCAF.str_mailText

Definition at line 849 of file submitDQMOfflineCAF.py.

◆ STR_mailTextOpener

submitDQMOfflineCAF.STR_mailTextOpener

Definition at line 169 of file submitDQMOfflineCAF.py.

◆ str_mailTo

submitDQMOfflineCAF.str_mailTo

Definition at line 843 of file submitDQMOfflineCAF.py.

◆ STR_mergepath

submitDQMOfflineCAF.STR_mergepath

Definition at line 149 of file submitDQMOfflineCAF.py.

◆ Str_mergepath

submitDQMOfflineCAF.Str_mergepath

Definition at line 233 of file submitDQMOfflineCAF.py.

◆ STR_nameCmsswPackage

submitDQMOfflineCAF.STR_nameCmsswPackage

Definition at line 38 of file submitDQMOfflineCAF.py.

◆ Str_nameCmsswRel

submitDQMOfflineCAF.Str_nameCmsswRel

Definition at line 316 of file submitDQMOfflineCAF.py.

◆ str_nameInputFilesFile

submitDQMOfflineCAF.str_nameInputFilesFile

Definition at line 533 of file submitDQMOfflineCAF.py.

◆ str_nameJob

submitDQMOfflineCAF.str_nameJob

Definition at line 714 of file submitDQMOfflineCAF.py.

◆ str_nameJobDir

submitDQMOfflineCAF.str_nameJobDir

Definition at line 716 of file submitDQMOfflineCAF.py.

◆ str_nameJobIncludeDir

submitDQMOfflineCAF.str_nameJobIncludeDir

Definition at line 719 of file submitDQMOfflineCAF.py.

◆ Str_nameRun

submitDQMOfflineCAF.Str_nameRun

Definition at line 528 of file submitDQMOfflineCAF.py.

◆ str_nameRunIncludeDir

submitDQMOfflineCAF.str_nameRunIncludeDir

Definition at line 534 of file submitDQMOfflineCAF.py.

◆ str_nameStamp

submitDQMOfflineCAF.str_nameStamp

Definition at line 576 of file submitDQMOfflineCAF.py.

◆ STR_none

submitDQMOfflineCAF.STR_none

Definition at line 36 of file submitDQMOfflineCAF.py.

◆ STR_outpath

submitDQMOfflineCAF.STR_outpath

Definition at line 147 of file submitDQMOfflineCAF.py.

◆ Str_outpath

submitDQMOfflineCAF.Str_outpath

Definition at line 231 of file submitDQMOfflineCAF.py.

◆ str_outpath

submitDQMOfflineCAF.str_outpath

Definition at line 691 of file submitDQMOfflineCAF.py.

◆ str_outputDir

submitDQMOfflineCAF.str_outputDir

Definition at line 665 of file submitDQMOfflineCAF.py.

◆ Str_pathCmsswBase

submitDQMOfflineCAF.Str_pathCmsswBase

Definition at line 307 of file submitDQMOfflineCAF.py.

◆ Str_pathCmsswBasePackage

submitDQMOfflineCAF.Str_pathCmsswBasePackage

Definition at line 317 of file submitDQMOfflineCAF.py.

◆ Str_pathCurrentDir

submitDQMOfflineCAF.Str_pathCurrentDir

Main program.

Definition at line 306 of file submitDQMOfflineCAF.py.

◆ Str_pathInputFilesCAFCff

submitDQMOfflineCAF.Str_pathInputFilesCAFCff

Definition at line 631 of file submitDQMOfflineCAF.py.

◆ str_pathInputFilesJobCff

submitDQMOfflineCAF.str_pathInputFilesJobCff

Definition at line 673 of file submitDQMOfflineCAF.py.

◆ str_pathJobIncludeDir

submitDQMOfflineCAF.str_pathJobIncludeDir

Definition at line 718 of file submitDQMOfflineCAF.py.

◆ Str_pathRunIncludeDir

submitDQMOfflineCAF.Str_pathRunIncludeDir

Definition at line 531 of file submitDQMOfflineCAF.py.

◆ Str_run

submitDQMOfflineCAF.Str_run

Definition at line 396 of file submitDQMOfflineCAF.py.

◆ str_sedCommand

submitDQMOfflineCAF.str_sedCommand

Definition at line 614 of file submitDQMOfflineCAF.py.

◆ str_sedCommandCommon

submitDQMOfflineCAF.str_sedCommandCommon

Definition at line 648 of file submitDQMOfflineCAF.py.

◆ STR_server

submitDQMOfflineCAF.STR_server

Definition at line 140 of file submitDQMOfflineCAF.py.

◆ Str_server

submitDQMOfflineCAF.Str_server

Definition at line 223 of file submitDQMOfflineCAF.py.

◆ str_suffixShell

submitDQMOfflineCAF.str_suffixShell

Definition at line 318 of file submitDQMOfflineCAF.py.

◆ STR_textUsage

submitDQMOfflineCAF.STR_textUsage

Definition at line 39 of file submitDQMOfflineCAF.py.

◆ str_timeBegin

submitDQMOfflineCAF.str_timeBegin

Definition at line 570 of file submitDQMOfflineCAF.py.

◆ str_timeEnd

submitDQMOfflineCAF.str_timeEnd

Definition at line 571 of file submitDQMOfflineCAF.py.

◆ str_timeStamp

submitDQMOfflineCAF.str_timeStamp

Definition at line 581 of file submitDQMOfflineCAF.py.

◆ TD_shiftUTC

submitDQMOfflineCAF.TD_shiftUTC

Definition at line 31 of file submitDQMOfflineCAF.py.