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 45 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 32 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 41 of file weight.py.
References rltinfo.RLTInfo.dict, and cond::IOVKeysDescription.dict().
weight.Weight.addWeight |
Definition at line 30 of file weight.py.
Referenced by weight.Weight.__str__(), and weight.Weight.GetWeight().
weight.Weight.genEff |
Definition at line 25 of file weight.py.
Referenced by weight.Weight.__str__(), and weight.Weight.GetWeight().
weight.Weight.genNEvents |
Definition at line 20 of file weight.py.
Referenced by weight.Weight.__str__(), and weight.Weight.GetWeight().
weight.Weight.intLumi |
Definition at line 27 of file weight.py.
Referenced by weight.Weight.__str__(), and weight.Weight.GetWeight().
weight.Weight.xSection |
Definition at line 22 of file weight.py.
Referenced by weight.Weight.__str__(), and weight.Weight.GetWeight().