Functions | |
def | downloadnlineDQMhisto |
def | downloadOfflineDQMhisto |
def | downloadOfflinePCLhisto |
def | getGT |
def | setRunDirectory |
Variables | |
string | check_command = 'check_runcomplete ' |
Check if run is complete##############. More... | |
tuple | Check_output = subprocess.call(check_command, shell=True) |
tuple | checkfolder = os.path.exists(str(Run_Number[i])) |
Start making TkMaps################. More... | |
tuple | CMSSW_BASE = str(os.popen('echo ${CMSSW_BASE}').read().strip()) |
list | DataLocalDir = runDirval[0] |
string | dest = 'Beam' |
Producing the list of bad modules. More... | |
string | detIdInfoFileName = 'TkDetIdInfo_Run' |
tuple | File_Name = downloadOfflineDQMhisto(Run_Number[i], Run_type, rereco) |
tuple | File_Name_PCL = downloadOfflinePCLhisto(Run_Number[i], Run_type) |
string | filepath = '/tmp/' |
tuple | full_pixelfile_name = os.path.join('./OUT/', file_name) |
tuple | full_stripfile_name = os.path.join('.', file_name) |
tuple | globalTag = getGT(filepath+File_Name, str(Run_Number[i]), 'globalTag_Step1') |
Getting GT############## After switch production to 10_X_X release, the clean up section need to be reviewed and modified ##########. More... | |
tuple | input_var = input("DQM file is incompleted, do you want to continue? (y/n): ") |
list | nnnOut = Run_Number[i] |
Downloading DQM file############################. More... | |
list | output = [] |
put color legend in the TrackerMap################### More... | |
tuple | pixel_files = os.listdir('./OUT') |
Start making pixel maps#####################. More... | |
string | pixelTreeFileName = 'PixelPhase1Tree_Run' |
rereco = False | |
Check if user enter the right run type######################. More... | |
list | Run_Number = [int(x) for x in sys.argv[2:]] |
list | Run_type = sys.argv[1] |
tuple | runDirval = setRunDirectory(Run_Number[i]) |
string | sefile = 'QualityTest_run' |
rename bad module list file###################### More... | |
tuple | strip_files = os.listdir('.') |
create merged list of BadComponent from (PCL, RunInfo and FED Errors) ignore for now More... | |
tuple | workPath = os.popen('pwd') |
def TkMap_script_phase1.downloadnlineDQMhisto | ( | run, | |
Run_type | |||
) |
Definition at line 93 of file TkMap_script_phase1.py.
References any(), print(), setRunDirectory(), submitPVValidationJobs.split(), and str.
def TkMap_script_phase1.downloadOfflineDQMhisto | ( | run, | |
Run_type, | |||
rereco | |||
) |
Definition at line 37 of file TkMap_script_phase1.py.
References any(), print(), setRunDirectory(), submitPVValidationJobs.split(), and str.
def TkMap_script_phase1.downloadOfflinePCLhisto | ( | run, | |
Run_type | |||
) |
Definition at line 67 of file TkMap_script_phase1.py.
References any(), print(), setRunDirectory(), submitPVValidationJobs.split(), and str.
def TkMap_script_phase1.getGT | ( | DQMfile, | |
RunNumber, | |||
globalTagVar | |||
) |
Definition at line 138 of file TkMap_script_phase1.py.
References print(), sistrip::SpyUtilities.range(), and str.
def TkMap_script_phase1.setRunDirectory | ( | runNumber | ) |
Definition at line 16 of file TkMap_script_phase1.py.
Referenced by downloadnlineDQMhisto(), downloadOfflineDQMhisto(), and downloadOfflinePCLhisto().
string TkMap_script_phase1.check_command = 'check_runcomplete ' |
Check if run is complete##############.
Definition at line 191 of file TkMap_script_phase1.py.
tuple TkMap_script_phase1.Check_output = subprocess.call(check_command, shell=True) |
Definition at line 192 of file TkMap_script_phase1.py.
tuple TkMap_script_phase1.checkfolder = os.path.exists(str(Run_Number[i])) |
Start making TkMaps################.
Definition at line 217 of file TkMap_script_phase1.py.
tuple TkMap_script_phase1.CMSSW_BASE = str(os.popen('echo ${CMSSW_BASE}').read().strip()) |
Definition at line 158 of file TkMap_script_phase1.py.
Referenced by hitfit::JetTranslatorBase< AJet >.JetTranslatorBase(), and hitfit::LeptonTranslatorBase< ALepton >.LeptonTranslatorBase().
list TkMap_script_phase1.DataLocalDir = runDirval[0] |
Definition at line 183 of file TkMap_script_phase1.py.
string TkMap_script_phase1.dest = 'Beam' |
Producing the list of bad modules.
if Run_type != "StreamExpress": shutil.copyfile(sefile, checkdir+'/'+sefile) os.system('/usr/bin/python ${CMSSW_BASE}/src/DQM/SiStripMonitorClient/scripts/findBadModT9.py -p '+sefile+' -s /'+checkdir+'/'+sefile); Producing the run certification by lumisection Producing the PrimaryVertex/BeamSpot quality test by LS.. if (Run_type != "Cosmics") and ( Run_type != "StreamExpress") and (Run_type != "StreamExpressCosmics"): print(" Creating the BeamSpot Calibration certification summary:") os.system('lsbs_cert '+filepath+'/'+File_Name) .. and harvest the bad beamspot LS with automatic emailing (if in period and if bad LS found) Producing the Module difference for ExpressStream
Definition at line 297 of file TkMap_script_phase1.py.
string TkMap_script_phase1.detIdInfoFileName = 'TkDetIdInfo_Run' |
Definition at line 233 of file TkMap_script_phase1.py.
tuple TkMap_script_phase1.File_Name = downloadOfflineDQMhisto(Run_Number[i], Run_type, rereco) |
Definition at line 177 of file TkMap_script_phase1.py.
tuple TkMap_script_phase1.File_Name_PCL = downloadOfflinePCLhisto(Run_Number[i], Run_type) |
Definition at line 179 of file TkMap_script_phase1.py.
string TkMap_script_phase1.filepath = '/tmp/' |
Definition at line 176 of file TkMap_script_phase1.py.
tuple TkMap_script_phase1.full_pixelfile_name = os.path.join('./OUT/', file_name) |
Definition at line 383 of file TkMap_script_phase1.py.
tuple TkMap_script_phase1.full_stripfile_name = os.path.join('.', file_name) |
Definition at line 359 of file TkMap_script_phase1.py.
tuple TkMap_script_phase1.globalTag = getGT(filepath+File_Name, str(Run_Number[i]), 'globalTag_Step1') |
Getting GT############## After switch production to 10_X_X release, the clean up section need to be reviewed and modified ##########.
Definition at line 226 of file TkMap_script_phase1.py.
tuple TkMap_script_phase1.input_var = input("DQM file is incompleted, do you want to continue? (y/n): ") |
Definition at line 199 of file TkMap_script_phase1.py.
list TkMap_script_phase1.nnnOut = Run_Number[i] |
Downloading DQM file############################.
Definition at line 174 of file TkMap_script_phase1.py.
list TkMap_script_phase1.output = [] |
put color legend in the TrackerMap###################
Copying the template html file to index.html########################
Definition at line 265 of file TkMap_script_phase1.py.
tuple TkMap_script_phase1.pixel_files = os.listdir('./OUT') |
Start making pixel maps#####################.
copy ouput files##########
Definition at line 381 of file TkMap_script_phase1.py.
string TkMap_script_phase1.pixelTreeFileName = 'PixelPhase1Tree_Run' |
Definition at line 395 of file TkMap_script_phase1.py.
TkMap_script_phase1.rereco = False |
Check if user enter the right run type######################.
Definition at line 159 of file TkMap_script_phase1.py.
list TkMap_script_phase1.Run_Number = [int(x) for x in sys.argv[2:]] |
Definition at line 157 of file TkMap_script_phase1.py.
string TkMap_script_phase1.Run_type = sys.argv[1] |
Definition at line 156 of file TkMap_script_phase1.py.
tuple TkMap_script_phase1.runDirval = setRunDirectory(Run_Number[i]) |
Definition at line 182 of file TkMap_script_phase1.py.
string TkMap_script_phase1.sefile = 'QualityTest_run' |
rename bad module list file######################
Definition at line 242 of file TkMap_script_phase1.py.
tuple TkMap_script_phase1.strip_files = os.listdir('.') |
create merged list of BadComponent from (PCL, RunInfo and FED Errors) ignore for now
counting dead pixel####################### Counting Dead ROCs and Inefficient DC during the run######################### Merge Dead ROCs and Occupoancy Plot ################### Merge PCL and DQM Plot (only StreamExpress) ################### copy ouput files###################
Definition at line 357 of file TkMap_script_phase1.py.
tuple TkMap_script_phase1.workPath = os.popen('pwd') |
Definition at line 234 of file TkMap_script_phase1.py.