CMS 3D CMS Logo

Namespaces | Functions | Variables
mkLumiAveragedPlots.py File Reference

Go to the source code of this file.

Namespaces

 mkLumiAveragedPlots
 

Functions

def mkLumiAveragedPlots.decodeLine (line, index, type)
 
def mkLumiAveragedPlots.getIntLumi (tuples)
 
def mkLumiAveragedPlots.getLumiPerIoV (start_run, end_run=0)
 
def mkLumiAveragedPlots.getLumiPerRun (run)
 
def mkLumiAveragedPlots.getTuples (inputDir, filterNumbers=[])
 
def mkLumiAveragedPlots.getTuplesMC (inputDir)
 
def mkLumiAveragedPlots.isNumber (this)
 
def mkLumiAveragedPlots.log (log_type="", text="")
 
def mkLumiAveragedPlots.makeAveragedFile (tuples, intLumi, objName="")
 
def mkLumiAveragedPlots.parser ()
 

Variables

 mkLumiAveragedPlots._dir = config['validation']['mergeFile'].replace("{}","")
 
dictionary mkLumiAveragedPlots._lumiMC = {}
 
def mkLumiAveragedPlots.args = parser()
 Main code: More...
 
 mkLumiAveragedPlots.argv = sys.argv
 
 mkLumiAveragedPlots.basedir = _dir.replace("{}","")
 
 mkLumiAveragedPlots.config = json.load(configFile)
 
 mkLumiAveragedPlots.csvwriter = csv.writer(csvfile, delimiter=' ')
 DATA: CREATE LUMI FILE FOR FINALIZATION JOB. More...
 
list mkLumiAveragedPlots.inputDirData = []
 Input directory checks. More...
 
list mkLumiAveragedPlots.inputDirMC = []
 
def mkLumiAveragedPlots.intLumi = getIntLumi(tuples)
 
list mkLumiAveragedPlots.IOVs = []
 
tuple mkLumiAveragedPlots.isDMR = (config['type'] == "DMR")
 
tuple mkLumiAveragedPlots.isPV = (config['type'] == "PV")
 JSON lumifiles checks. More...
 
 mkLumiAveragedPlots.lumiMC = config['validation']['lumiMC']
 
 mkLumiAveragedPlots.lumiPerIoV = config['validation']['lumiPerIoV']
 
 mkLumiAveragedPlots.lumiPerRun = config['validation']['lumiPerRun']
 
 mkLumiAveragedPlots.nFiles = len(config['validation']['mergeFile'])
 
string mkLumiAveragedPlots.objName = ""
 
string mkLumiAveragedPlots.outFileName = ""
 
dictionary mkLumiAveragedPlots.plotInfo = {}
 
 mkLumiAveragedPlots.plotter = DMRplotter(plotInfo)
 
bool mkLumiAveragedPlots.skipLast = False
 
 mkLumiAveragedPlots.subdir = _dir.replace("{}",str(config['validation']['IOV'][0]))
 
bool mkLumiAveragedPlots.subDirMissing = False
 
 mkLumiAveragedPlots.tuple = _list[0]
 
def mkLumiAveragedPlots.tupleFinal = getTuples(inputDir)
 Get list of python dictionaries:
{ 'file' : previously merged file, 'number' : [], 'lumi' : corresponding lumi from previous jobs}. More...
 
dictionary mkLumiAveragedPlots.tupleGroupsMC = {}
 MC: FIRST DEFINE MC GROUPS THEN MERGE ALL MC IN GROUP WITH CORRESPONDING LUMI SCALE. More...
 
def mkLumiAveragedPlots.tuples = getTuples(inputDir,IOVs)
 Get list of python dictionaries:
{ 'file' : file name, 'number' : IoV/run number, 'lumi' : corresponding luminosity}. More...
 
list mkLumiAveragedPlots.tuples_total = []
 DATA: PERFORM INITIAL MERGE OR FINALIZE PV: EACH FOLDER CONSIDERED TO BE ONE OBJECT, DMR: (MULTIPLE) OBJECTS DECIDED IMPLICITELY. More...
 
string mkLumiAveragedPlots.whichValidation = ""
 Style optional checks. More...