Skip to content
Snippets Groups Projects

Tuple Production of Bs2KMuNu MC Samples (adds a missing sample from !1167)

Merged Maurizio Martinelli requested to merge mamartin/bs2kmunu into master
2 unresolved threads
8 files
+ 1512
0
Compare changes
  • Side-by-side
  • Inline
Files
8
+ 176
0
basic_options = {
'IsMC': False,
'IsTurbo': False,
'Probnn': [],
'data_type': '2011',
'Stream' : 'Semileptonic',
'UserSequences' :{},
}
# The keys of the decay_descriptors are used to name the directory where the tuple
# is saved in the ROOT file. These names are also used to read the appropriate stripping
# line from strip_line_names
decay_descriptors = {
'B2XuMuNuBs2K' : '${B}[B_s0 -> ${K}K- ${mu}mu+]CC',
'B2XuMuNuBs2K_FakeK' : '${B}[B_s0 -> ${K}K- ${mu}mu+]CC',
'B2XuMuNuBs2K_FakeKMu' : '${B}[B_s0 -> ${K}K- ${mu}mu+]CC',
'B2XuMuNuBs2K_FakeMu' : '${B}[B_s0 -> ${K}K- ${mu}mu+]CC',
'B2XuMuNuBs2KSS' : '${B}[B_s0 -> ${K}K+ ${mu}mu+]CC',
'B2XuMuNuBs2KSS_FakeK' : '${B}[B_s0 -> ${K}K+ ${mu}mu+]CC',
'B2XuMuNuBs2KSS_FakeKMu' : '${B}[B_s0 -> ${K}K+ ${mu}mu+]CC',
'B2XuMuNuBs2KSS_FakeMu' : '${B}[B_s0 -> ${K}K+ ${mu}mu+]CC',
}
# The keys of the strip_line_names are used to relate the stripping line and the decay
# descriptor to match (see decay_descriptors). This is needed since the stripping line
# locations vary between the different years.
strip_line_names = {
'default': {
'B2XuMuNuBs2K' : 'B2XuMuNuBs2K_',
'B2XuMuNuBs2K_FakeK' : 'B2XuMuNuBs2K_NoPIDK',
'B2XuMuNuBs2K_FakeKMu' : 'B2XuMuNuBs2K_NoPIDKMu',
'B2XuMuNuBs2K_FakeMu' : 'B2XuMuNuBs2K_NoPIDMu',
'B2XuMuNuBs2KSS' : 'B2XuMuNuBs2K_SS',
'B2XuMuNuBs2KSS_FakeK' : 'B2XuMuNuBs2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s2K_FakeMu' : 'B2XuMuNuBs2K_NoPIDMu',
'B2XuMuNuBs2KSS' : 'B2XuMuNuBs2K_SS',
'B2XuMuNuBs2KSS_FakeK' : 'B2XuMuNuBs2K_SSNoPIDK',
'B2XuMuNuBs2KSS_FakeKMu' : 'B2XuMuNuBs2K_SSNoPIDKMu',
'B2XuMuNuBs2KSS_FakeMu' : 'B2XuMuNuBs2K_SSNoPIDMu',
}
}
# Trigger lists for TISTOS
trigger_lists_dict = {
'L0' : ['L0'+x+'Decision' for x in ['Hadron', 'Muon', 'DiMuon', 'Electron', 'Photon']],
'Hlt1_Run1' : ['Hlt1'+x+'Decision' for x in ['SingleHadron', 'DiHadron', 'TrackAllL0', 'TrackMuon']],
'Hlt1_Run2' : ['Hlt1'+x+'Decision' for x in ['TrackMVA', 'TwoTrackMVA','TrackMuon','TrackMuonMVA','SingleMuonHighPT']],
'Hlt2_Topo_Run1' : ['Hlt2Topo'+k+'Decision' for k in [y+x+'Body'+z for x in ['2','3'] for y in [''] for z in ['BBDT','Simple']]+['Mu'+x+'BodyBBDT' for x in ['2','3']] ],
'Hlt2_Topo_Run2' : ['Hlt2Topo'+k+'Decision' for k in [y+x+'Body' for x in ['2','3'] for y in ['','Mu']] ],
'Hlt2_Muon_Run1' : ['Hlt2'+k+'Decision' for k in ['SingleMuon'+x for x in ['','HighPT','LowPT']] ],#,'VHighPT']] ],
'Hlt2_Muon_Run2' : ['Hlt2'+k+'Decision' for k in ['SingleMuon'+x for x in ['','HighPT','LowPT']] ]#,'Rare','VHighPT']] ]
}
# LoKi variables
loki_vars = {
'B' : {
"Preambulo" : [
"from LoKiPhysMC.decorators import *",
"from LoKiPhysMC.functions import mcMatch"
],
"Variables" : {
"cosTheta1_star" : "LV01",
"cosTheta2_star" : "LV02",
"FD_S" : "BPVDLS",
"DOCA" : "DOCA(1,2)",
},
'RELINFO' : {}
},
'K' : {
"Preambulo": [],
'Variables': { "MIPCHI2DV_PV" : "MIPCHI2DV(PRIMARY)" },
'RELINFO' : {}
},
'K1' : {
"Preambulo": [],
'Variables': { "MIPCHI2DV_PV" : "MIPCHI2DV(PRIMARY)" },
'RELINFO' : {}
},
'K2' : {
"Preambulo": [],
'Variables': { "MIPCHI2DV_PV" : "MIPCHI2DV(PRIMARY)" },
'RELINFO' : {}
},
'pi' : {
"Preambulo": [],
'Variables': { "MIPCHI2DV_PV" : "MIPCHI2DV(PRIMARY)" },
'RELINFO' : {}
},
'mu' : {
"Preambulo": [],
'Variables': { "MIPCHI2DV_PV" : "MIPCHI2DV(PRIMARY)" },
'RELINFO' : {}
}
}
# Decay Descriptors for MCDecayTreeTuple
decay_descriptors_mcdtt = {
'10010037': None,
'11102003': '[ [B0 ==> ^K+ ^pi-]CC, [B0 ==> ^K- ^pi+]CC ]',
'11144001': '[ [[B0]CC ==> ^(J/psi(1S) ==> ^mu+ ^mu- ) ^(K*(892)0 ==> ^K+ ^pi-)]CC, [[B0]CC -> ^(J/psi(1S) ==> ^mu+ ^mu- ) ^(K*(892)~0 ==> ^K- ^pi+)]CC ]',
'11512011': '[B0 ==> ^pi- ^nu_mu ^mu+]CC',
'11512400': '[B0 ==> ^(rho(770)- => ^pi- ^pi0) ^mu+ ^nu_mu]CC',
'12143001': '[B+ ==> ^K+ ^(J/psi(1S) ==> ^mu+ ^mu-)]CC',
'12143401': '[B+ ==> ^(J/psi(1S) ==> ^mu+ ^mu-) ^(K*(892)+ -> ^K+ ^pi0) ]CC',
'12445022': '[B+ ==> ^(Charm ==> ^mu+ ^mu-) ^K+ ]CC',
'12513001': '[B+ ==> ^(rho(770)0 ==> ^pi+ ^pi-) ^mu+ ^nu_mu]CC',
'12873002': '[[B+ ==> ^(D~0 ==> ^K+ ^pi-) ^nu_mu~ ^mu+]CC, [B+ ==> ^(D0 ==> ^K+ ^pi-) ^nu_mu~ ^mu+]CC ]',
'13144001': '[B_s0 ==> ^(J/psi(1S) ==> ^mu+ ^mu-) ^(phi(1020) ==> ^K+ ^K-)]CC',
'13144011': '[B_s0 ==> ^(J/psi(1S) ==> ^mu+ ^mu-) ^(phi(1020) ==> ^K+ ^K-)]CC',
'13512010': '[[B_s0 ==> ^K- ^nu_mu ^mu+]CC, [B_s0 ==> ^K+ ^nu_mu~ ^mu-]CC]',
'13512400': '[B_s0 => ^(K*(892)- => ^K- ^pi0) ^nu_mu ^mu+]CC',
'13512410': '[B_s0 => ^(K*_2(1430)- => ^K- ^pi0) ^nu_mu ^mu+]CC',
'13512420': '[B_s0 => ^(K*_0(1430)- => ^K- ^pi0) ^nu_mu ^mu+]CC',
'13774000': '[ [B_s0 ==> ^(D_s- ==> ^K+ ^K- ^pi-) ^nu_mu ^mu+]CC, [B_s0 ==> ^(D_s+ ==> ^K- ^K+ ^pi+) ^nu_mu~ ^mu-]CC ]',
'13796000': '[B_s0 ==> ^K+ ^(D0 ==> ^K- ^mu+ ^nu_mu) ^(D_s- ==> ^(phi(1020) ==> ^K+ ^K-) ^pi-)]CC',
'13996202': '[B_s0 ==> ^(D*_s0- => ^(D_s- ==> ^K- ^K+ ^pi-) ^gamma) ^(D*_s0+ => ^(D_s+ ==> ^K+ ^K- ^pi+) ^gamma)]CC',
'15512013': '[Lambda_b0 ==> ^p+ ^mu- ^nu_mu~]CC',
'15512014': '[Lambda_b0 ==> ^p+ ^mu- ^nu_mu~]CC'
}
\ No newline at end of file
Loading