FairShip
Loading...
Searching...
No Matches
extractMuonsAndUpdateWeight.py File Reference

Go to the source code of this file.

Namespaces

namespace  extractMuonsAndUpdateWeight

Functions

int extractMuonsAndUpdateWeight.muonUpdateWeight (sTree, float diMuboost, float xSecboost, noCharm=True)
tuple[float|int, float, float] extractMuonsAndUpdateWeight.PoT (f)
None extractMuonsAndUpdateWeight.TotStat ()
int extractMuonsAndUpdateWeight.processFile (str fin, bool noCharm=True, bool process_muons_only=False)
None extractMuonsAndUpdateWeight.run ()
None extractMuonsAndUpdateWeight.run4Charm ()
None extractMuonsAndUpdateWeight.run4beauty ()
None extractMuonsAndUpdateWeight.mergeCharm ()
None extractMuonsAndUpdateWeight.mergeMbiasAndCharm (str flavour="charm")
None extractMuonsAndUpdateWeight.testRatio (fname)

Variables

str extractMuonsAndUpdateWeight.path = "/eos/experiment/ship/data/Mbias/background-prod-2018/"
dict extractMuonsAndUpdateWeight.muSources = {"eta": 221, "omega": 223, "phi": 333, "rho0": 113, "eta_prime": 331}
list extractMuonsAndUpdateWeight.charmExtern = [4332, 4232, 4132, 4232, 4122, 431, 411, 421]
float extractMuonsAndUpdateWeight.weightMbias = 768.75
float extractMuonsAndUpdateWeight.weightCharm = 489.24 * 2.0 / 3.0
float extractMuonsAndUpdateWeight.weightBeauty = 9.37
float extractMuonsAndUpdateWeight.weight = weightMbias