Skip to content
Snippets Groups Projects

NOPID configuration flags for selection

Merged Ivan Polyakov requested to merge bandq_ipolyako_nopid into master
2 files
+ 6
7
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -104,7 +104,7 @@ def make_detached_pions_tightpid(name="bandq_detached_pions_tightpid",
if config_pid["NOPIDHADRONS"]:
cut_pid = F.FILTER(pid)
else :
else:
cut_pid = None
return ParticleFilter(make_detached_pions(), name=name, Cut=cut_pid)
@@ -137,7 +137,7 @@ def make_detached_kaons_tightpid(name="bandq_detached_kaons_tightpid",
if config_pid["NOPIDHADRONS"]:
cut_pid = F.FILTER(pid)
else :
else:
cut_pid = None
return ParticleFilter(make_detached_kaons(), name=name, Cut=cut_pid)
@@ -170,11 +170,10 @@ def make_detached_protons_tightpid(name="bandq_detached_protons_tightpid",
if config_pid["NOPIDHADRONS"]:
cut_pid = F.FILTER(pid)
else :
else:
cut_pid = None
return ParticleFilter(
make_detached_protons(), name=name, Cut=cut_pid)
return ParticleFilter(make_detached_protons(), name=name, Cut=cut_pid)
####################################
Loading