Functions | |
def | Func_Exit |
Function Func_Exit() More... | |
def | Func_ExitBool |
Function Func_ExitBool() More... | |
def | Func_ExitUsage |
Function Func_ExitUsage() More... | |
def | Func_MagConfig |
Function Func_MagConfig(float_magFieldMeasured) More... | |
def | Func_MkDir |
Function Func_MkDir() More... | |
def | Func_Usage |
Function Func_Usage() More... | |
def submitDQMOfflineCAF.Func_Exit | ( | ) |
Function Func_Exit()
Exit after error
Function Func_Exit(): Exit after error
Definition at line 246 of file submitDQMOfflineCAF.py.
Referenced by 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 269 of file submitDQMOfflineCAF.py.
References Func_Exit().
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 257 of file submitDQMOfflineCAF.py.
References Func_Usage().
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 289 of file submitDQMOfflineCAF.py.
def submitDQMOfflineCAF.Func_MkDir | ( | str_path | ) |
Function Func_MkDir()
Create new directory
Function Func_MkDir(): Create new directory
Definition at line 279 of file submitDQMOfflineCAF.py.
def submitDQMOfflineCAF.Func_Usage | ( | ) |
Function Func_Usage()
Displays usage of the script
Function Func_Usage(): Displays usage of the script
Definition at line 237 of file submitDQMOfflineCAF.py.
Referenced by Func_ExitUsage().
submitDQMOfflineCAF.BOOL_CRAB = True |
Definition at line 137 of file submitDQMOfflineCAF.py.
submitDQMOfflineCAF.Bool_CRAB = BOOL_CRAB |
Definition at line 221 of file submitDQMOfflineCAF.py.
submitDQMOfflineCAF.BOOL_filter = False |
Definition at line 145 of file submitDQMOfflineCAF.py.
submitDQMOfflineCAF.Bool_filter = BOOL_filter |
Definition at line 226 of file submitDQMOfflineCAF.py.
submitDQMOfflineCAF.bool_foundField = False |
Definition at line 487 of file submitDQMOfflineCAF.py.
submitDQMOfflineCAF.BOOL_magFieldAuto = False |
Definition at line 144 of file submitDQMOfflineCAF.py.
submitDQMOfflineCAF.Bool_magFieldAuto = BOOL_magFieldAuto |
Definition at line 229 of file submitDQMOfflineCAF.py.
tuple submitDQMOfflineCAF.bool_standBy = False |
Definition at line 340 of file submitDQMOfflineCAF.py.
submitDQMOfflineCAF.BOOL_useCastor = True |
Definition at line 147 of file submitDQMOfflineCAF.py.
submitDQMOfflineCAF.Bool_useCastor = BOOL_useCastor |
Definition at line 231 of file submitDQMOfflineCAF.py.
dictionary submitDQMOfflineCAF.Dict_arguments = {} |
Definition at line 220 of file submitDQMOfflineCAF.py.
submitDQMOfflineCAF.dict_arguments = Dict_arguments |
Definition at line 375 of file submitDQMOfflineCAF.py.
dictionary submitDQMOfflineCAF.DICT_functionLetters |
Definition at line 151 of file submitDQMOfflineCAF.py.
dictionary submitDQMOfflineCAF.DICT_optionLetters |
Definition at line 155 of file submitDQMOfflineCAF.py.
submitDQMOfflineCAF.dt_stampNew = dt_stampOld-TD_shiftUTC |
Definition at line 579 of file submitDQMOfflineCAF.py.
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])) |
Definition at line 578 of file submitDQMOfflineCAF.py.
tuple submitDQMOfflineCAF.file_cmsmonOutput = urllib.urlopen("http://cmsmon.cern.ch/cmsdb/servlet/RunSummary", str_cmsmonParams) |
Definition at line 568 of file submitDQMOfflineCAF.py.
tuple submitDQMOfflineCAF.file_dbsOutput = urllib.urlopen("https://cmsweb.cern.ch/dbs_discovery/getLFN_txt", str_dbsParams) |
Definition at line 542 of file submitDQMOfflineCAF.py.
tuple submitDQMOfflineCAF.file_inputFilesCAFCff = file(Str_pathInputFilesCAFCff, 'w') |
Definition at line 631 of file submitDQMOfflineCAF.py.
tuple submitDQMOfflineCAF.file_inputFilesCff = file(str_nameInputFilesFile, 'w') |
Definition at line 539 of file submitDQMOfflineCAF.py.
tuple submitDQMOfflineCAF.file_inputFilesJobCff = file(str_pathInputFilesJobCff, 'w') |
Definition at line 673 of file submitDQMOfflineCAF.py.
tuple submitDQMOfflineCAF.Float_magField = float(Str_magField[:-1]) |
Definition at line 228 of file submitDQMOfflineCAF.py.
tuple submitDQMOfflineCAF.float_magField = Func_MagConfig(Float_magField) |
Definition at line 599 of file submitDQMOfflineCAF.py.
int submitDQMOfflineCAF.INT_jobs = 10 |
Definition at line 141 of file submitDQMOfflineCAF.py.
int submitDQMOfflineCAF.Int_jobs = INT_jobs |
Definition at line 224 of file submitDQMOfflineCAF.py.
submitDQMOfflineCAF.Int_jobsNew = Int_jobs |
Definition at line 561 of file submitDQMOfflineCAF.py.
int submitDQMOfflineCAF.int_nFunctionLetters = 0 |
Definition at line 325 of file submitDQMOfflineCAF.py.
int submitDQMOfflineCAF.int_nInputFiles = 0 |
Definition at line 538 of file submitDQMOfflineCAF.py.
int submitDQMOfflineCAF.int_nLinesRead = 0 |
Definition at line 607 of file submitDQMOfflineCAF.py.
list submitDQMOfflineCAF.LFLOAT_valueMagField = [0.0,2.0,3.0,3.5,3.8,4.0] |
Definition at line 29 of file submitDQMOfflineCAF.py.
list submitDQMOfflineCAF.LSTR_auto = ['AUTO','Auto','auto'] |
Definition at line 36 of file submitDQMOfflineCAF.py.
list submitDQMOfflineCAF.LSTR_datatiers = ['RECO','RAW'] |
Definition at line 133 of file submitDQMOfflineCAF.py.
Definition at line 33 of file submitDQMOfflineCAF.py.
Definition at line 150 of file submitDQMOfflineCAF.py.
tuple submitDQMOfflineCAF.lstr_linesInput = file_inputFilesCff.readlines() |
Definition at line 609 of file submitDQMOfflineCAF.py.
list submitDQMOfflineCAF.LSTR_optionLetters = ['-r','-C','-S','-e','-j','-M','-g','-f','-d','-o','-m'] |
Definition at line 154 of file submitDQMOfflineCAF.py.
Definition at line 138 of file submitDQMOfflineCAF.py.
tuple submitDQMOfflineCAF.lstr_timeDate = str_timeQuery.split('=') |
Definition at line 576 of file submitDQMOfflineCAF.py.
tuple submitDQMOfflineCAF.lstr_timeQuery = str_cmsmonOutput.split('HREF=Component?RUN=' + Str_run + '&NAME=TRACKER&') |
Definition at line 573 of file submitDQMOfflineCAF.py.
tuple submitDQMOfflineCAF.lstr_timeTime = str_timeQuery.split('=') |
Definition at line 577 of file submitDQMOfflineCAF.py.
Definition at line 32 of file submitDQMOfflineCAF.py.
list submitDQMOfflineCAF.LSTR_wordArgument = sys.argv[1:] |
Definition at line 135 of file submitDQMOfflineCAF.py.
tuple submitDQMOfflineCAF.lstr_wordsLine = str_iLine.split("/") |
Definition at line 544 of file submitDQMOfflineCAF.py.
int submitDQMOfflineCAF.nLines = 0 |
Definition at line 675 of file submitDQMOfflineCAF.py.
Referenced by DTTPGParamsWriter.analyze(), ESDataFormatterV4.ESDataFormatterV4(), ESDigiToRaw.ESDigiToRaw(), ESElectronicsMapper.ESElectronicsMapper(), ESIntegrityClient.ESIntegrityClient(), ESPedestalClient.ESPedestalClient(), ESUnpacker.ESUnpacker(), MagneticFieldGrid.load(), RectangularCartesianMFGrid.RectangularCartesianMFGrid(), RectangularCylindricalMFGrid.RectangularCylindricalMFGrid(), SelectedElectronFEDListProducer< TEle, TCand >.SelectedElectronFEDListProducer(), SpecialCylindricalMFGrid.SpecialCylindricalMFGrid(), TrapezoidalCartesianMFGrid.TrapezoidalCartesianMFGrid(), and TrapezoidalCylindricalMFGrid.TrapezoidalCylindricalMFGrid().
int submitDQMOfflineCAF.OCT_rwx_r_r = 0 |
Definition at line 28 of file submitDQMOfflineCAF.py.
submitDQMOfflineCAF.str_argumentFormer = '' |
Definition at line 339 of file submitDQMOfflineCAF.py.
tuple submitDQMOfflineCAF.str_buffer = commands.getoutput('which crab') |
Definition at line 461 of file submitDQMOfflineCAF.py.
string submitDQMOfflineCAF.str_castorCp = 'cp' |
Definition at line 516 of file submitDQMOfflineCAF.py.
tuple submitDQMOfflineCAF.str_cmsmonParams = urllib.urlencode({'RUN':Str_run}) |
Definition at line 567 of file submitDQMOfflineCAF.py.
tuple submitDQMOfflineCAF.str_correctedLine1 = str_linesInput.replace(') |
Definition at line 678 of file submitDQMOfflineCAF.py.
list submitDQMOfflineCAF.Str_dataset = Dict_arguments[LSTR_optionLetters[8]] |
Definition at line 444 of file submitDQMOfflineCAF.py.
tuple submitDQMOfflineCAF.str_datatier = Str_dataset.split('/') |
Definition at line 500 of file submitDQMOfflineCAF.py.
tuple submitDQMOfflineCAF.Str_datatier = LSTR_datatiers[1] |
Definition at line 502 of file submitDQMOfflineCAF.py.
tuple submitDQMOfflineCAF.str_dbsParams = urllib.urlencode({'dbsInst':'cms_dbs_prod_global', 'blockName':'*', 'dataset':Str_dataset, 'userMode':'user', 'run':Str_run, 'what':'py'}) |
Definition at line 541 of file submitDQMOfflineCAF.py.
string submitDQMOfflineCAF.STR_default = 'DEFAULT' |
Definition at line 34 of file submitDQMOfflineCAF.py.
string submitDQMOfflineCAF.STR_email = 'volker.adler@cern.ch' |
Definition at line 140 of file submitDQMOfflineCAF.py.
Definition at line 223 of file submitDQMOfflineCAF.py.
string submitDQMOfflineCAF.STR_globalTag = 'CRAFT_V4P::All' |
Definition at line 142 of file submitDQMOfflineCAF.py.
list submitDQMOfflineCAF.Str_globalTag = STR_globalTag |
Definition at line 225 of file submitDQMOfflineCAF.py.
string submitDQMOfflineCAF.str_lineInput = Str_outpath+'/SiStripDQMOfflineGlobalRunCAF-' |
Definition at line 634 of file submitDQMOfflineCAF.py.
string submitDQMOfflineCAF.STR_magField = '38T' |
Definition at line 143 of file submitDQMOfflineCAF.py.
tuple submitDQMOfflineCAF.Str_magField = STR_magField |
Definition at line 227 of file submitDQMOfflineCAF.py.
string submitDQMOfflineCAF.STR_mailServer = '@mail.cern.ch' |
Definition at line 167 of file submitDQMOfflineCAF.py.
string submitDQMOfflineCAF.STR_mailSmtp = 'localhost' |
Definition at line 166 of file submitDQMOfflineCAF.py.
string submitDQMOfflineCAF.STR_mailText |
Definition at line 171 of file submitDQMOfflineCAF.py.
string submitDQMOfflineCAF.STR_mailTextOpener = """Dear """ |
Definition at line 168 of file submitDQMOfflineCAF.py.
string submitDQMOfflineCAF.STR_mergepath = '/afs/cern.ch/cms/CAF/CMSCOMM/COMM_TRACKER/DQM/SiStrip/jobs/merged' |
Definition at line 148 of file submitDQMOfflineCAF.py.
list submitDQMOfflineCAF.Str_mergepath = STR_mergepath |
Definition at line 232 of file submitDQMOfflineCAF.py.
string submitDQMOfflineCAF.STR_nameCmsswPackage = 'DQM/SiStripMonitorClient' |
Definition at line 37 of file submitDQMOfflineCAF.py.
tuple submitDQMOfflineCAF.Str_nameCmsswRel = os.getenv('CMSSW_VERSION') |
Definition at line 315 of file submitDQMOfflineCAF.py.
string submitDQMOfflineCAF.str_nameInputFilesFile = Str_nameRun+'/' |
Definition at line 532 of file submitDQMOfflineCAF.py.
string submitDQMOfflineCAF.Str_nameRun = 'R' |
Definition at line 527 of file submitDQMOfflineCAF.py.
tuple submitDQMOfflineCAF.str_nameRunIncludeDir = STR_nameCmsswPackage.replace('/','.') |
Definition at line 533 of file submitDQMOfflineCAF.py.
tuple submitDQMOfflineCAF.str_nameStamp = str_timeQuery.split('=') |
Definition at line 575 of file submitDQMOfflineCAF.py.
string submitDQMOfflineCAF.STR_none = 'None' |
Definition at line 35 of file submitDQMOfflineCAF.py.
string submitDQMOfflineCAF.STR_outpath = '/castor/cern.ch/user/c/cctrack/DQM' |
Definition at line 146 of file submitDQMOfflineCAF.py.
list submitDQMOfflineCAF.Str_outpath = STR_outpath |
Definition at line 230 of file submitDQMOfflineCAF.py.
string submitDQMOfflineCAF.str_outputDir = '.' |
Definition at line 664 of file submitDQMOfflineCAF.py.
tuple submitDQMOfflineCAF.Str_pathCmsswBase = os.getenv('CMSSW_BASE') |
Definition at line 306 of file submitDQMOfflineCAF.py.
string submitDQMOfflineCAF.Str_pathCmsswBasePackage = Str_pathCmsswBase+'/src/' |
Definition at line 316 of file submitDQMOfflineCAF.py.
tuple submitDQMOfflineCAF.Str_pathCurrentDir = os.getcwd() |
Main program.
Definition at line 305 of file submitDQMOfflineCAF.py.
string submitDQMOfflineCAF.Str_pathInputFilesCAFCff = Str_pathRunIncludeDir+'/inputFilesCAF_cff.py' |
Definition at line 630 of file submitDQMOfflineCAF.py.
string submitDQMOfflineCAF.str_pathInputFilesJobCff = Str_pathRunIncludeDir+'/inputFiles_cff.py' |
Definition at line 672 of file submitDQMOfflineCAF.py.
string submitDQMOfflineCAF.Str_pathRunIncludeDir = Str_pathCmsswBasePackage+'/python/' |
Definition at line 530 of file submitDQMOfflineCAF.py.
list submitDQMOfflineCAF.Str_run = Dict_arguments[LSTR_optionLetters[0]] |
Definition at line 395 of file submitDQMOfflineCAF.py.
string submitDQMOfflineCAF.str_sedCommand = 'sed ' |
Definition at line 613 of file submitDQMOfflineCAF.py.
string submitDQMOfflineCAF.str_sedCommandCommon = 'sed ' |
Definition at line 647 of file submitDQMOfflineCAF.py.
list submitDQMOfflineCAF.STR_server = LSTR_server[0] |
Definition at line 139 of file submitDQMOfflineCAF.py.
list submitDQMOfflineCAF.Str_server = STR_server |
Definition at line 222 of file submitDQMOfflineCAF.py.
string submitDQMOfflineCAF.str_suffixShell = 'csh' |
Definition at line 317 of file submitDQMOfflineCAF.py.
string submitDQMOfflineCAF.STR_textUsage |
Definition at line 38 of file submitDQMOfflineCAF.py.
submitDQMOfflineCAF.str_timeBegin = '' |
Definition at line 569 of file submitDQMOfflineCAF.py.
submitDQMOfflineCAF.str_timeEnd = '' |
Definition at line 570 of file submitDQMOfflineCAF.py.
tuple submitDQMOfflineCAF.str_timeStamp = str(dt_stampNew) |
Definition at line 580 of file submitDQMOfflineCAF.py.
tuple submitDQMOfflineCAF.TD_shiftUTC = datetime.timedelta(hours = 2) |
Definition at line 30 of file submitDQMOfflineCAF.py.