Esempio n. 1
0
    def __init__(self, ):

        event_function.__init__(self)

        self.break_exceptions += [cut_on_l1_I.l1_pt_cut]

        self.required_branches += [
            'l1_pt',
        ]
Esempio n. 2
0
    def __init__(self):
        event_function.__init__(self)

        self.lepton_names = [
            'px',
            'py',
            'pz',
            'E_',
        ]

        for name in self.lepton_names:
            for f in [3, 4, 5]:
                self.required_branches.append(name + str(f))
Esempio n. 3
0
    def __init__(self, min_l1_pt=arg(15000., 'minimum l1 pt')):

        event_function.__init__(self)

        self.min_l1_pt = min_l1_pt

        self.break_exceptions += [cut_on_l1_II.l1_pt_cut]

        self.required_branches += [
            'l1_pt',
        ]

        self.create_branches['l1_pt_copy'] = 'float'
Esempio n. 4
0
	def __init__(self):
		event_function.__init__(self)

		self.required_branches += [
			'mu',
			'e',
			'METx',
			'METy',
			'MET',
			]

		self.create_branches['A_m_collinear'] = 'float'
		self.create_branches['A_m_super_collinear'] = 'float'
Esempio n. 5
0
    def __init__(self,grl_xmls):
        event_function.__init__(self)

        self.grl = {}

        analysis_home = os.getenv('ANALYSISHOME')

        for grl_xml in grl_xmls:
            self.grl.update(parse_grl_xml('{0}/data/{1}'.format(analysis_home,grl_xml)))

        self.required_branches += [
            'RunNumber',
            'lbn',
            ]
Esempio n. 6
0
	def __init__(self):
		event_function.__init__(self)

		self.required_branches += ['truth']

		self.create_branches.update(dict((particle_type+'_'+particle_value,'float') for particle_type,particle_value in product(['b1','b2','b3','b4','A','mu','e'],['pt','eta','phi','m'])))

		self.create_branches['MET'] = 'float'
		self.create_branches['METx'] = 'float'
		self.create_branches['METy'] = 'float'
		self.create_branches['A_m_visible'] = 'float'

		self.create_branches['mu'] = None
		self.create_branches['e'] = None
Esempio n. 7
0
    def __init__(self):
        event_function.__init__(self)

        self.tau_mass = 1776.82
        self.tauola = tauola_()
Esempio n. 8
0
 def __init__(self):
     event_function.__init__(self)
     self.required_branches += [
         'wt_ALL',
     ]
     self.maximum = 0.02432399056851864
Esempio n. 9
0
 def __init__(self):
     event_function.__init__(self)
Esempio n. 10
0
 def __init__(self, dR=0.2):
     super(remove_overlap, self).__init__()
     self.dR = dR
     event_function.__init__(self)