diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/algorithms_thor.py b/Hlt/Hlt2Conf/python/Hlt2Conf/algorithms_thor.py index da123bdb24fcb18fea39c7de0fc955465e0e5015..13ebe679b1eaf3a6ccb30164345491226c026025 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) 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 391fa5c8ba9a180c22c17d36feca91a7d203e2d7..0602d2ee831fe0a75c191b786e14f19559835e18 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 diff --git a/doc/make_functor_docs.py b/doc/make_functor_docs.py index 105149a6fe30e2bfbc56f74600e0fee50e53afbd..884ab8de37e389c554273310f3867c739ffca8a7 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))