Public Member Functions | |
def | __init__ |
def | __str__ |
def | GetWeight |
def | SetIntLumi |
Public Attributes | |
addWeight | |
genEff | |
genNEvents | |
intLumi | |
xSection | |
Static Public Attributes | |
int | FBINV = 1000 |
make names uniform wrt Component. COLIN: messy... should I have several types of weight (base, data, mc)? COLIN: need to add other weighting factors
def weight.Weight.__str__ | ( | self | ) |
Definition at line 44 of file weight.py.
References weight.Weight.addWeight, config.MCComponent.addWeight, weight.Weight.genEff, weight.Weight.genNEvents, weight.Weight.GetWeight(), weight.Weight.intLumi, config.DataComponent.intLumi, config.MCComponent.intLumi, weight.Weight.xSection, and config.MCComponent.xSection.
def weight.Weight.GetWeight | ( | self | ) |
Return the weight
Definition at line 31 of file weight.py.
References weight.Weight.addWeight, config.MCComponent.addWeight, weight.Weight.genEff, weight.Weight.genNEvents, weight.Weight.intLumi, config.DataComponent.intLumi, config.MCComponent.intLumi, weight.Weight.xSection, and config.MCComponent.xSection.
Referenced by weight.Weight.__str__().
def weight.Weight.SetIntLumi | ( | self, | |
lumi | |||
) |
Set integrated luminosity.
Definition at line 40 of file weight.py.
References rltinfo.RLTInfo.dict, and cond::IOVKeysDescription.dict().
weight.Weight.addWeight |
Definition at line 29 of file weight.py.
Referenced by weight.Weight.__str__(), and weight.Weight.GetWeight().
weight.Weight.genEff |
Definition at line 24 of file weight.py.
Referenced by weight.Weight.__str__(), and weight.Weight.GetWeight().
weight.Weight.genNEvents |
Definition at line 19 of file weight.py.
Referenced by weight.Weight.__str__(), and weight.Weight.GetWeight().
weight.Weight.intLumi |
Definition at line 26 of file weight.py.
Referenced by weight.Weight.__str__(), and weight.Weight.GetWeight().
weight.Weight.xSection |
Definition at line 21 of file weight.py.
Referenced by weight.Weight.__str__(), and weight.Weight.GetWeight().