import sys
import os

print "Switching to batch mode ..."
sys.argv.append( '-b' )

import ROOT
import MuMuGammaChain
# from makeFsrHistos import templateSel
# from makeFsrHistos import bfiles, bchain

## Configuration
chains = MuMuGammaChain.getChains(MuMuGammaChain.cfiles,
                                  MuMuGammaChain.cpath
                                  )

sample = "data38x"
chain = chains[sample]


chain.SetAlias("pt1", "muGenPt[dau1]")
chain.SetAlias("pt2", "muGenPt[dau2]")
chain.SetAlias("eta1", "muGenEta[dau1]")
chain.SetAlias("eta2", "muGenEta[dau2]")
chain.SetAlias("phi1", "muGenPhi[dau1]")
chain.SetAlias("phi2", "muGenPhi[dau2]")
chain.SetAlias("mm", "mmgDimuon")
chain.SetAlias("mu1", "dau1[mmgDimuon]")
chain.SetAlias("mu2", "dau2[mmgDimuon]")
chain.SetAlias("g", "mmgPhoton")
chain.SetAlias("mnear", "mmgMuonNear")
Пример #2
0
import sys
import os

print "Switching to batch mode ..."
sys.argv.append( '-b' )

import ROOT
import MuMuGammaChain
# from makeFsrHistos import templateSel
# from makeFsrHistos import bfiles, bchain

## Configuration
chains = MuMuGammaChain.getChains(MuMuGammaChain.bfiles,
                                  MuMuGammaChain.bpath
                                  )
#chain = chains["data38x"]
chain = chains["z"]

#chain = ROOT.TChain("MuMuGammaTree/mmg")
# chain.Add("MuMuGammaTree_Zmumu_M20_CTEQ66-powheg.root")

#chain.Add("MuMuGammaTree_135821-144114_Sept17ReReco_FNAL.root")
#chain.Add("MuMuGammaTree_146240-149392_PromptRecov2_FNAL.root")

chain.SetAlias("pt1", "muGenPt[dau1]")
chain.SetAlias("pt2", "muGenPt[dau2]")
chain.SetAlias("eta1", "muGenEta[dau1]")
chain.SetAlias("eta2", "muGenEta[dau2]")
chain.SetAlias("phi1", "muGenPhi[dau1]")
chain.SetAlias("phi2", "muGenPhi[dau2]")
chain.SetAlias("mm", "mmgDimuon")
Пример #3
0
import sys
import os

print "Switching to batch mode ..."
sys.argv.append('-b')

import ROOT
import MuMuGammaChain
# from makeFsrHistos import templateSel
# from makeFsrHistos import bfiles, bchain

## Configuration
chains = MuMuGammaChain.getChains(MuMuGammaChain.cfiles, MuMuGammaChain.cpath)
#chain = chains["data38x"]
chain = chains["w"]

#chain = ROOT.TChain("MuMuGammaTree/mmg")
# chain.Add("MuMuGammaTree_Zmumu_M20_CTEQ66-powheg.root")

#chain.Add("MuMuGammaTree_135821-144114_Sept17ReReco_FNAL.root")
#chain.Add("MuMuGammaTree_146240-149392_PromptRecov2_FNAL.root")

chain.SetAlias("pt1", "muGenPt[dau1]")
chain.SetAlias("pt2", "muGenPt[dau2]")
chain.SetAlias("eta1", "muGenEta[dau1]")
chain.SetAlias("eta2", "muGenEta[dau2]")
chain.SetAlias("phi1", "muGenPhi[dau1]")
chain.SetAlias("phi2", "muGenPhi[dau2]")
chain.SetAlias("mm", "mmgDimuon")
chain.SetAlias("mu1", "dau1[mmgDimuon]")
chain.SetAlias("mu2", "dau2[mmgDimuon]")
Пример #4
0
import sys
import os

print "Switching to batch mode ..."
sys.argv.append('-b')

import ROOT
import MuMuGammaChain
# from makeFsrHistos import templateSel
# from makeFsrHistos import bfiles, bchain

## Configuration
chains = MuMuGammaChain.getChains(MuMuGammaChain.bfiles, MuMuGammaChain.bpath)
#chain = chains["data38x"]
chain = chains["z"]

#chain = ROOT.TChain("MuMuGammaTree/mmg")
# chain.Add("MuMuGammaTree_Zmumu_M20_CTEQ66-powheg.root")

#chain.Add("MuMuGammaTree_135821-144114_Sept17ReReco_FNAL.root")
#chain.Add("MuMuGammaTree_146240-149392_PromptRecov2_FNAL.root")

chain.SetAlias("pt1", "muGenPt[dau1]")
chain.SetAlias("pt2", "muGenPt[dau2]")
chain.SetAlias("eta1", "muGenEta[dau1]")
chain.SetAlias("eta2", "muGenEta[dau2]")
chain.SetAlias("phi1", "muGenPhi[dau1]")
chain.SetAlias("phi2", "muGenPhi[dau2]")
chain.SetAlias("mm", "mmgDimuon")
chain.SetAlias("mu1", "dau1[mmgDimuon]")
chain.SetAlias("mu2", "dau2[mmgDimuon]")