From 0983d5fdcce1f04f1f2af941d1acf0f0c44fb309 Mon Sep 17 00:00:00 2001 From: Christoph Hasse Date: Wed, 13 Apr 2022 10:00:46 +0200 Subject: [PATCH 1/3] follow rename END_VRho -> END_VRHO --- .../python/Hlt2Conf/lines/bandq/builders/dimuon_lines.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/bandq/builders/dimuon_lines.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/bandq/builders/dimuon_lines.py index 391fa5c8ba9..0602d2ee831 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/bandq/builders/dimuon_lines.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/bandq/builders/dimuon_lines.py @@ -173,7 +173,7 @@ def make_soft_detached_dimuon(name='DiMuonDetachedSoftFilter', F.CHI2DOF < maxVertexChi2, F.BPVVDZ(pvs) > minVDz, F.END_VZ < maxVz, - F.END_VRho < minRho, + F.END_VRHO < minRho, F.BPVDIRA(pvs) > minBPVDira, F.BPVVDZ(pvs) < maxIPdistRatio, # F.MINIP(pvs)/F.BPVVDZ(pvs) < maxIPdistRatio #F.MINIP trigger a segmentation violation for some events -- GitLab From e914dd431acfa0cd7e3f896f14bae95370b95568 Mon Sep 17 00:00:00 2001 From: Christoph Hasse Date: Thu, 28 Apr 2022 17:40:21 +0200 Subject: [PATCH 2/3] remove prefix --- doc/make_functor_docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/make_functor_docs.py b/doc/make_functor_docs.py index 105149a6fe3..884ab8de37e 100644 --- a/doc/make_functor_docs.py +++ b/doc/make_functor_docs.py @@ -183,7 +183,7 @@ def gen_docs(namespaces, ignore_names=[]): f":: generate {name}.{functor_name}({args})", file=sys.stderr) # Start writing the Sphinx function block for this functor. - print(f".. py:function:: {name}.{functor_name}({args})\n") + print(f".. py:function:: {functor_name}({args})\n") print( textwrap.indent( inspect.cleandoc(f.__doc__), " " * 4, lambda _: True)) -- GitLab From 613be8491cd6c0e47b32e531f26d46aeeaaf6192 Mon Sep 17 00:00:00 2001 From: Christoph Hasse Date: Thu, 28 Apr 2022 18:39:57 +0200 Subject: [PATCH 3/3] fix example code --- Hlt/Hlt2Conf/python/Hlt2Conf/algorithms_thor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/algorithms_thor.py b/Hlt/Hlt2Conf/python/Hlt2Conf/algorithms_thor.py index da123bdb24f..13ebe679b1e 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/algorithms_thor.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/algorithms_thor.py @@ -83,7 +83,7 @@ def require_all(*cuts): >>> import Functors as F >>> functor = require_all(F.PT > 1, F.PID_K < 0) >>> functor.code_repr() - '( ( PT > 1 ) & ( PID_K < 0 ) )' + '( ( ( RHO_COORDINATE chain THREEMOMENTUM ) > 1 ) & ( PID_K < 0 ) )' """ return functools.reduce(lambda f, g: f & g, cuts) -- GitLab