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