Public Member Functions | |
def | __init__ |
def | doParametersOfInterest |
def | getHiggsSignalYieldScale |
def | setPhysicsOptions |
Public Attributes | |
mHRange | |
modes |
Definition at line 154 of file PhysicsModel.py.
def PhysicsModel::FloatingBRHiggs::__init__ | ( | self | ) |
Reimplemented from PhysicsModel::PhysicsModel.
Definition at line 156 of file PhysicsModel.py.
def PhysicsModel::FloatingBRHiggs::doParametersOfInterest | ( | self | ) |
Create POI and other parameters, and define the POI set.
Reimplemented from PhysicsModel::PhysicsModel.
Definition at line 169 of file PhysicsModel.py.
00170 : 00171 """Create POI and other parameters, and define the POI set.""" 00172 # --- Signal Strength as only POI --- 00173 for m in self.modes: 00174 self.modelBuilder.doVar("r_%s[1,0,10]" % m); 00175 poi = ",".join(["r_"+m for m in self.modes]) 00176 # --- Higgs Mass as other parameter ---- 00177 if self.modelBuilder.out.var("MH"): 00178 if len(self.mHRange): 00179 print 'MH will be left floating within', self.mHRange[0], 'and', self.mHRange[1] 00180 self.modelBuilder.out.var("MH").setRange(float(self.mHRange[0]),float(self.mHRange[1])) 00181 self.modelBuilder.out.var("MH").setConstant(False) 00182 poi+=',MH' 00183 else: 00184 print 'MH will be assumed to be', self.options.mass 00185 self.modelBuilder.out.var("MH").removeRange() 00186 self.modelBuilder.out.var("MH").setVal(self.options.mass) 00187 else: 00188 if len(self.mHRange): 00189 print 'MH will be left floating within', self.mHRange[0], 'and', self.mHRange[1] 00190 self.modelBuilder.doVar("MH[%s,%s]" % (self.mHRange[0],self.mHRange[1])) 00191 poi+=',MH' 00192 else: 00193 print 'MH (not there before) will be assumed to be', self.options.mass 00194 self.modelBuilder.doVar("MH[%g]" % self.options.mass) self.modelBuilder.doSet("POI",poi)
def PhysicsModel::FloatingBRHiggs::getHiggsSignalYieldScale | ( | self, | |
production, | |||
decay, | |||
energy | |||
) |
Reimplemented from PhysicsModel::SMLikeHiggsModel.
Definition at line 195 of file PhysicsModel.py.
def PhysicsModel::FloatingBRHiggs::setPhysicsOptions | ( | self, | |
physOptions | |||
) |
Reimplemented from PhysicsModel::PhysicsModel.
Definition at line 160 of file PhysicsModel.py.
00161 : 00162 for po in physOptions: 00163 if po.startswith("modes="): self.modes = po.replace("modes=","").split(",") 00164 if po.startswith("higgsMassRange="): 00165 self.mHRange = po.replace("higgsMassRange=","").split(",") 00166 if len(self.mHRange) != 2: 00167 raise RuntimeError, "Higgs mass range definition requires two extrema" 00168 elif float(self.mHRange[0]) >= float(self.mHRange[1]): raise RuntimeError, "Extrema for Higgs mass range defined with inverterd order. Second must be larger the first"
Definition at line 156 of file PhysicsModel.py.
Definition at line 156 of file PhysicsModel.py.