Created
January 12, 2015 16:06
-
-
Save alexpearce/ac73b9442f8b196fdd51 to your computer and use it in GitHub Desktop.
Fake phi combination
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
phi_combination = CombineParticles( | |
'CombineCheatedphiToKK', | |
Preambulo=truth_matching_preambulo, | |
# There's no "anti-phi", so no [...]cc | |
DecayDescriptors=['phi(1020) -> K- K+'], | |
Inputs=[ | |
kaons | |
], | |
# The D_s+ MC sample models the resonant phase space but doesn't insert | |
# actual resonant particles, so there isn't a real phi | |
DaughtersCuts={ | |
'K+': "mcMatch('([D_s+ ==> ^K- ^K+ pi+]CC)')" | |
}, | |
CombinationCut='AALL', | |
MotherCut='ALL' | |
) | |
ds_combination = CombineParticles( | |
'CombineCheatedDsTophipi', | |
Preambulo=truth_matching_preambulo, | |
DecayDescriptors=['[D_s+ -> phi(1020) pi+]cc'], | |
Inputs=[ | |
pions, | |
'Phys/{0}'.format(phi_combination.getName()) | |
], | |
DaughtersCuts={ | |
'pi+': "mcMatch('([D_s+ ==> K- K+ ^pi+]CC)')" | |
}, | |
CombinationCut='AALL', | |
MotherCut="mcMatch('([D_s+ ==> K- K+ pi+]CC)')" | |
) | |
ds_cheated = ds.clone('Cheated{0}'.format(ds.getName())) | |
ds_cheated.Inputs = ['Phys/{0}'.format(ds_combination.getName())] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment