CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Namespaces | Functions | Variables
makeLayoutFileForGui.py File Reference

Go to the source code of this file.

Namespaces

 makeLayoutFileForGui
 

Functions

def makeLayoutFileForGui.defaults
 
def makeLayoutFileForGui.eleRej
 
def makeLayoutFileForGui.layDefaults
 
def makeLayoutFileForGui.muRej
 
def makeLayoutFileForGui.sCone
 
def makeLayoutFileForGui.sizeSumpt
 

Variables

dictionary makeLayoutFileForGui.datasetNames = {'RealData' : 'QCD Jets', 'RealMuonsData' : 'muons from Z', 'RealElectronsData' : 'electrons from Z'}
 
list makeLayoutFileForGui.defaultPlots
 
list makeLayoutFileForGui.elerejplots
 
tuple makeLayoutFileForGui.layout = open('shift_pftau_T0_layout.py','w')
 
list makeLayoutFileForGui.layoutDefaultPlots
 
list makeLayoutFileForGui.layoutscone
 
list makeLayoutFileForGui.layoutSizeSumpt
 
string makeLayoutFileForGui.layoutString = 'def pftaulayout(i, p, *rows): i["RecoTauV/Layouts/" + p] = DQMItem(layout=rows)\n\n%s'
 LAYOUTS. More...
 
list makeLayoutFileForGui.muonrejplots = ['RecoTauV/hpsPFTauProducerRealMuonsData_hpsPFTauDiscriminationByLooseMuonRejection/LooseMuonRejectionEff%s', 'RecoTauV/hpsPFTauProducerRealMuonsData_hpsPFTauDiscriminationByMediumMuonRejection/MediumMuonRejectionEff%s', 'RecoTauV/hpsPFTauProducerRealMuonsData_hpsPFTauDiscriminationByTightMuonRejection/TightMuonRejectionEff%s']
 
string makeLayoutFileForGui.outputFileString = 'def shiftpftaulayout(i, p, *rows): i["00 Shift/Tau/" + p] = DQMItem(layout=rows)\n\n%s'
 
tuple makeLayoutFileForGui.stdFill = Template('shiftpftaulayout(\n\tdqmitems,\n\t"$locpath",\n\t$rows\n\t)')
 
tuple makeLayoutFileForGui.stripDiscName = lambdax:(x.split('/')[-1])
 
tuple makeLayoutFileForGui.sumVar = dict( list(zip(string.letters,[elem for elem in ['signalCands','isolationChargedHadrCands','isolationGammaCands','isolationNeutrHadrCands'] ])) )
 
list makeLayoutFileForGui.toAdd = [ defaults('SingleMu/00%s - Fake rate from muons vs %s' % item,'RealMuonsData',item[1]) for item in variables.items() ]
 
dictionary makeLayoutFileForGui.variables = {'a':'pt','b':'pileup','c':'eta','d':'phi'}