CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
PhysicsModel.FloatingHiggsMass Class Reference
Inheritance diagram for PhysicsModel.FloatingHiggsMass:
PhysicsModel.SMLikeHiggsModel PhysicsModel.PhysicsModel

Public Member Functions

def __init__
 
def doParametersOfInterest
 
def getHiggsSignalYieldScale
 
def setPhysicsOptions
 
- Public Member Functions inherited from PhysicsModel.SMLikeHiggsModel
def getHiggsSignalYieldScale
 
def getYieldScale
 
- Public Member Functions inherited from PhysicsModel.PhysicsModel
def __init__
 
def doParametersOfInterest
 
def getYieldScale
 
def preProcessNuisances
 
def setModelBuilder
 
def setPhysicsOptions
 

Public Attributes

 mHRange
 
- Public Attributes inherited from PhysicsModel.PhysicsModel
 DC
 
 modelBuilder
 
 options
 

Detailed Description

Definition at line 76 of file PhysicsModel.py.

Constructor & Destructor Documentation

def PhysicsModel.FloatingHiggsMass.__init__ (   self)

Definition at line 78 of file PhysicsModel.py.

78 
79  def __init__(self):
80  SMLikeHiggsModel.__init__(self) # not using 'super(x,self).__init__' since I don't understand it
self.mHRange = ['115','135'] # default

Member Function Documentation

def PhysicsModel.FloatingHiggsMass.doParametersOfInterest (   self)
Create POI out of signal strength and MH

Definition at line 90 of file PhysicsModel.py.

References HiggsJPC.TwoHypotesisHiggs.mHRange, HiggsCouplings.CvCfHiggs.mHRange, PhysicsModel.FloatingHiggsMass.mHRange, and HiggsCouplings.C5Higgs.mHRange.

90 
91  def doParametersOfInterest(self):
92  """Create POI out of signal strength and MH"""
93  # --- Signal Strength as only POI ---
94  self.modelBuilder.doVar("r[1,0,20]")
95  if self.modelBuilder.out.var("MH"):
96  self.modelBuilder.out.var("MH").setRange(float(self.mHRange[0]),float(self.mHRange[1]))
97  self.modelBuilder.out.var("MH").setConstant(False)
98  else:
99  self.modelBuilder.doVar("MH[%s,%s]" % (self.mHRange[0],self.mHRange[1]))
self.modelBuilder.doSet("POI",'r,MH')
def PhysicsModel.FloatingHiggsMass.getHiggsSignalYieldScale (   self,
  production,
  decay,
  energy 
)

Definition at line 100 of file PhysicsModel.py.

101  def getHiggsSignalYieldScale(self,production,decay, energy):
102  return "r"
103 
def PhysicsModel.FloatingHiggsMass.setPhysicsOptions (   self,
  physOptions 
)

Definition at line 81 of file PhysicsModel.py.

References HiggsJPC.TwoHypotesisHiggs.mHRange, HiggsCouplings.CvCfHiggs.mHRange, PhysicsModel.FloatingHiggsMass.mHRange, HiggsCouplings.C5Higgs.mHRange, and split.

81 
82  def setPhysicsOptions(self,physOptions):
83  for po in physOptions:
84  if po.startswith("higgsMassRange="):
85  self.mHRange = po.replace("higgsMassRange=","").split(",")
86  print 'The Higgs mass range:', self.mHRange
87  if len(self.mHRange) != 2:
88  raise RuntimeError, "Higgs mass range definition requires two extrema"
89  elif float(self.mHRange[0]) >= float(self.mHRange[1]):
raise RuntimeError, "Extrama for Higgs mass range defined with inverterd order. Second must be larger the first"
double split
Definition: MVATrainer.cc:139

Member Data Documentation

PhysicsModel.FloatingHiggsMass.mHRange

Definition at line 80 of file PhysicsModel.py.

Referenced by PhysicsModel.FloatingHiggsMass.doParametersOfInterest(), PhysicsModel.FloatingXSHiggs.doParametersOfInterest(), PhysicsModel.FloatingBRHiggs.doParametersOfInterest(), PhysicsModel.FloatingHiggsMass.setPhysicsOptions(), PhysicsModel.FloatingXSHiggs.setPhysicsOptions(), and PhysicsModel.FloatingBRHiggs.setPhysicsOptions().