Skip to content

Commit

Permalink
gp_stack: draw medium for 27GeV
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaume committed Jul 18, 2014
1 parent f7e9f2f commit 28f248e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pyana/examples/gp_stack.py
Expand Up @@ -164,7 +164,7 @@ def gp_stack(version, energies, inclMed, inclFits):
data[energy] = data_import
elif fnmatch(filename, 'cocktail*'):
data_import[:,(2,3)] = 0 # don't plot dx,dy for cocktail
if inclMed and energy != '27':
if inclMed:
for di in data_import:
if di[0] < 1.1: di[4] = 0 # don't plot dy2 for cocktail
if energy == '19' and version == 'QM12':
Expand All @@ -174,8 +174,6 @@ def gp_stack(version, energies, inclMed, inclFits):
cocktail[energy] = data_import
elif inclMed and fnmatch(filename, '+medium*'):
data_import[:,(2,3)] = 0 # don't plot dx, dy1 for medium
if energy == '27':
data_import[:,4] = 0 # don't plotd dy2 for medium
medium[energy] = data_import
# calculate data-to-cocktail scaling factors in pi0 region < 0.1 GeV/c2
# cocktail/data
Expand Down

0 comments on commit 28f248e

Please sign in to comment.