Example #1
0
	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)
Example #2
0
 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)
Example #3
0
    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'}
Example #4
0
	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'}
Example #5
0
 def __init__(self, filename, data=False, debug=False):
     Plot.__init__(self, filename, data, debug)
     self.createPlotSubdir('averageEnergy')
Example #6
0
    def __init__(self, filename, data, debug):
        '''
		Constructor
		'''
        Plot.__init__(self, filename, data, debug)
        self.createPlotSubdir('dtRpc')
Example #7
0
    def __init__(self, filename, data=False, debug=False):
        '''
		Constructor
		'''
        Plot.__init__(self, filename, data, debug=debug)
        self.createPlotSubdir('noL1Muon')
Example #8
0
	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')
Example #10
0
 def __init__(self, filename, data=False, debug=False):
     Plot.__init__(self, filename, data)
     self.createPlotSubdir('efficiency')
     plt.ioff()
Example #11
0
	def __init__(self,filename,data,debug):
		Plot.__init__(self,filename,data,debug)
		self.createPlotSubdir('energy')
Example #12
0
	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()
Example #13
0
	def __init__(self,filename,data = False, debug = False):
		Plot.__init__(self,filename,data,debug)
		self.createPlotSubdir('hoThresholdScan')
Example #14
0
	def __init__(self,filename,data = False,debug = False):
		Plot.__init__(self,filename,data,debug)
		self.createPlotSubdir('averageEnergy')
		self.fileHandler.printNEvents()
Example #15
0
	def __init__(self,filename,data,debug):
		Plot.__init__(self,filename,data,debug)
		self.createPlotSubdir('timing')
Example #16
0
 def __init__(self, filename, data, debug):
     Plot.__init__(self, filename, data, debug=debug)
     self.createPlotSubdir('efficiency')
     self.fileHandler.printNEvents()
Example #17
0
	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')
Example #18
0
	def __init__(self,filename,data = False,debug = False):
		Plot.__init__(self,filename,data,debug)
		self.createPlotSubdir('averageEnergy')
Example #19
0
	def __init__(self,filename,data,debug):
		Plot.__init__(self,filename,data,debug)
		self.createPlotSubdir('energy')
Example #20
0
	def __init__(self,filename,data,debug):
		'''
		Constructor
		'''
		Plot.__init__(self,filename,data,debug)
		self.createPlotSubdir('dtRpc')
Example #21
0
	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 = False):
		Plot.__init__(self,filename,data)
		self.createPlotSubdir('hoThresholdScan')
Example #23
0
	def __init__(self,filename,data = False):
		Plot.__init__(self,filename,data)
		self.createPlotSubdir('ptResolution')
Example #24
0
 def __init__(self, filename, data, debug, ptCut=""):
     Plot.__init__(self, filename, data, debug)
     self.createPlotSubdir('timing')
     self.ptCut = ('_' + ptCut) if ptCut != "" else ""
Example #25
0
	def __init__(self,filename,data,debug, ptCut=""):
		Plot.__init__(self,filename,data,debug)
		self.createPlotSubdir('timing')
		self.ptCut = ('_' + ptCut) if ptCut != "" else ""
Example #26
0
	def __init__(self,filename,data,debug):
		Plot.__init__(self,filename,data,debug)
		self.createPlotSubdir('timing')
Example #27
0
	def __init__(self,filename,data = False,debug=False):
		'''
		Constructor
		'''
		Plot.__init__(self,filename,data,debug = debug)
		self.createPlotSubdir('noL1Muon')
Example #28
0
 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')
Example #29
0
 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()