def __init__(self,data,debug): Plot.__init__(self,debug = debug, data = data) self.createPlotSubdir('energyComparison') self.createPlotSubdir('l1CountComparison') self.fileHandlerSimulation = self.createFileHandler(SIMULATION_FILE_SCHEME) self.fileHandler = self.createFileHandler(DATA_FILE_SCHEME) self.fileHandlerSimulationPu = self.createFileHandler(SIMULATION_PU_FILE_SCHEME)
def __init__(self, data, debug): Plot.__init__(self, debug=debug, data=data) self.createPlotSubdir('energyComparison') self.createPlotSubdir('l1CountComparison') self.fileHandlerSimulation = self.createFileHandler( SIMULATION_FILE_SCHEME) self.fileHandler = self.createFileHandler(DATA_FILE_SCHEME) self.fileHandlerSimulationPu = self.createFileHandler( SIMULATION_PU_FILE_SCHEME)
def __init__(self, filename, data=False, debug=False): Plot.__init__(self, filename, data, debug) self.createPlotSubdir('qualityCodes') self.qualityCodeDict = { 1: 'Halo Muon', 2: 'Very low qual. Type 1', 3: 'Very low qual. Type 2', 4: 'Very low qual. Type 3', 5: 'unmatched RPC', 6: 'unmatched DT or CSC', 7: 'matched DT-RPC or CSC-RPC' } self.gridSizeDict = {0: 'Central', 1: '3x3', 2: '5x5'}
def __init__(self,filename,data=False, debug = False): Plot.__init__(self,filename,data,debug) self.createPlotSubdir('qualityCodes') self.qualityCodeDict = { 1:'Halo Muon', 2:'Very low qual. Type 1', 3:'Very low qual. Type 2', 4:'Very low qual. Type 3', 5:'unmatched RPC', 6:'unmatched DT or CSC', 7:'matched DT-RPC or CSC-RPC' } self.gridSizeDict = { 0:'Central', 1:'3x3', 2:'5x5'}
def __init__(self, filename, data=False, debug=False): Plot.__init__(self, filename, data, debug) self.createPlotSubdir('averageEnergy')
def __init__(self, filename, data, debug): ''' Constructor ''' Plot.__init__(self, filename, data, debug) self.createPlotSubdir('dtRpc')
def __init__(self, filename, data=False, debug=False): ''' Constructor ''' Plot.__init__(self, filename, data, debug=debug) self.createPlotSubdir('noL1Muon')
def __init__(self,filename,data): Plot.__init__(self,filename,data) self.createPlotSubdir('efficiency') self.fileHandler.printNEvents()
def __init__(self,filename,data =False): Plot.__init__(self,filename,data) self.createPlotSubdir('efficiency')
def __init__(self, filename, data=False, debug=False): Plot.__init__(self, filename, data) self.createPlotSubdir('efficiency') plt.ioff()
def __init__(self,filename,data,debug): Plot.__init__(self,filename,data,debug) self.createPlotSubdir('energy')
def __init__(self,filename,truth,data = False,debug=False): Plot.__init__(self,filename,data=data,debug=debug) self.createPlotSubdir('ptResolution') self.truthTag = 'patTo' if truth else '' self.loadData()
def __init__(self,filename,data = False, debug = False): Plot.__init__(self,filename,data,debug) self.createPlotSubdir('hoThresholdScan')
def __init__(self,filename,data = False,debug = False): Plot.__init__(self,filename,data,debug) self.createPlotSubdir('averageEnergy') self.fileHandler.printNEvents()
def __init__(self,filename,data,debug): Plot.__init__(self,filename,data,debug) self.createPlotSubdir('timing')
def __init__(self, filename, data, debug): Plot.__init__(self, filename, data, debug=debug) self.createPlotSubdir('efficiency') self.fileHandler.printNEvents()
def __init__(self,filename,data = False,debug=False): Plot.__init__(self,filename,data,debug = debug) gROOT.ProcessLine(".L $HOMUONTRIGGER_BASE/python/loader.C+"); self.createPlotSubdir('controlPlots')
def __init__(self,filename,data = False,debug = False): Plot.__init__(self,filename,data,debug) self.createPlotSubdir('averageEnergy')
def __init__(self,filename,data,debug): ''' Constructor ''' Plot.__init__(self,filename,data,debug) self.createPlotSubdir('dtRpc')
def __init__(self,filename,data = False): Plot.__init__(self,filename,data) self.createPlotSubdir('hoThresholdScan')
def __init__(self,filename,data = False): Plot.__init__(self,filename,data) self.createPlotSubdir('ptResolution')
def __init__(self, filename, data, debug, ptCut=""): Plot.__init__(self, filename, data, debug) self.createPlotSubdir('timing') self.ptCut = ('_' + ptCut) if ptCut != "" else ""
def __init__(self,filename,data,debug, ptCut=""): Plot.__init__(self,filename,data,debug) self.createPlotSubdir('timing') self.ptCut = ('_' + ptCut) if ptCut != "" else ""
def __init__(self,filename,data = False,debug=False): ''' Constructor ''' Plot.__init__(self,filename,data,debug = debug) self.createPlotSubdir('noL1Muon')
def __init__(self, filename, data=False, debug=False): Plot.__init__(self, filename, data, debug=debug) gROOT.ProcessLine(".L $HOMUONTRIGGER_BASE/python/loader.C+") self.createPlotSubdir('controlPlots')
def __init__(self, filename, truth, data=False, debug=False): Plot.__init__(self, filename, data=data, debug=debug) self.createPlotSubdir('ptResolution') self.truthTag = 'patTo' if truth else '' self.loadData()