Exemplo n.º 1
0
    def __init__(self, ggf_sample_list, vbf_sample_list, name):
        PhysicsModel.__init__(self)

        self.name = name

        self.check_validity_ggf(ggf_sample_list)
        self.check_validity_vbf(vbf_sample_list)

        self.ggf_formula = GGFHHFormula(ggf_sample_list)
        self.vbf_formula = VBFHHFormula(vbf_sample_list)

        self.dump_inputs()
from HiggsAnalysis.CombinedLimit.PhysicsModel import PhysicsModel

import math

cp_xsec = PhysicsModel()

### Class that takes care of building a physics model by combining individual channels and processes together
### Things that it can do:
###   - define the parameters of interest (in the default implementation , "r")
###   - define other constant model parameters (e.g., "MH")
###   - yields a scaling factor for each pair of bin and process (by default, constant for background and linear in "r" for signal)
###   - possibly modifies the systematical uncertainties (does nothing by default)


class CPMixing(PhysicsModel):
    def __init__(self):
        self.verbose = False

    def setPhysicsOptions(self, physOptions):
        for po in physOptions:
            if po.startswith("verbose"):
                self.verbose = True

    def doParametersOfInterest(self):
        """Create POI and other parameters, and define the POI set."""
        # --- POI and other parameters ----

        maxmix = {
            "a_tilde": 1.0,
            "b_tilde": 1.0,
        }
Exemplo n.º 3
0
from HiggsAnalysis.CombinedLimit.PhysicsModel import PhysicsModel


ztt_xsec = PhysicsModel()



### Class that takes care of building a physics model by combining individual channels and processes together
### Things that it can do:
###   - define the parameters of interest (in the default implementation , "r")
###   - define other constant model parameters (e.g., "MH")
###   - yields a scaling factor for each pair of bin and process (by default, constant for background and linear in "r" for signal)
###   - possibly modifies the systematical uncertainties (does nothing by default)

class ZttEffAndXsec(PhysicsModel):
	def __init__(self):
		self.verbose = False

	def setPhysicsOptions(self, physOptions):
		for po in physOptions:
			if po.startswith("verbose"):
				self.verbose = True

	def doParametersOfInterest(self):
		"""Create POI and other parameters, and define the POI set."""
		# --- POI and other parameters ----
		self.modelBuilder.doVar("r[1,0,5]")
		self.modelBuilder.doVar("eff[1,0,2]")
		self.modelBuilder.factory_('expr::yieldscale("@0 * @1", r, eff)')

		self.modelBuilder.doSet("POI","r,eff")
Exemplo n.º 4
0
 def __init__(self):
     PhysicsModel.__init__(self)
     self.HggModel = False
     self.floatR = False