From b795120876f92c96c6c24366efc2d8165ab1c0da Mon Sep 17 00:00:00 2001
From: fredi <federico.redi@cern.ch>
Date: Mon, 16 May 2016 13:43:52 +0200
Subject: [PATCH 1/2] Fixed problem with DD Majorana line by removing PID
 requirements on DD particles

---
 .../python/Hlt2Lines/Majorana/Stages.py       | 29 ++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)

diff --git a/Hlt/Hlt2Lines/python/Hlt2Lines/Majorana/Stages.py b/Hlt/Hlt2Lines/python/Hlt2Lines/Majorana/Stages.py
index 14adf1bbe..c2398e0b5 100644
--- a/Hlt/Hlt2Lines/python/Hlt2Lines/Majorana/Stages.py
+++ b/Hlt/Hlt2Lines/python/Hlt2Lines/Majorana/Stages.py
@@ -39,8 +39,35 @@ class LambdaMuPiCombiner(Hlt2Combiner):
                               MotherCut = mother_cuts,
                               Preambulo = [])
 
+
+class LambdaMuPiCombinerNoPID(Hlt2Combiner):
+    def __init__(self, name, inputs):
+
+        daughters_cuts = { "mu-" : ("(TRCHI2DOF < %(MuonTRCHI2)s ) &  (P> %(MuonP)s *MeV) &  (PT> %(MuonPT)s* MeV)" +
+                                    "& (TRGHOSTPROB < %(MuonGHOSTPROB)s)" +
+                                    "& (MIPCHI2DV(PRIMARY)> %(MuonMINIPCHI2)s )"),
+                           "pi+" : ("(P > %(Lambda0DaugP)s)& (PT > %(Lambda0DaugPT)s)" +
+                                    "& (TRCHI2DOF < %(Lambda0DaugTrackChi2)s)" +
+                                    "& (MIPCHI2DV(PRIMARY) > %(Lambda0DaugMIPChi2)s)")
+                           }
+
+        combination_cuts = "(ADOCACHI2CUT(25, ''))"
+
+        mother_cuts =  "( M > %(MajoranaCutM)s*MeV )&( BPVVDCHI2 > %(MajoranaCutFDChi2)s )&( VFASPF(VCHI2/VDOF) < %(Lambda0VertexChi2)s )&( PT > %(Lambda0PT)s*MeV )"
+
+        decay = "[Lambda0 -> mu- pi+]cc"
+        Hlt2Combiner.__init__(self, name, decay ,
+                              inputs, nickname = 'LambdaMuPi',
+                              dependencies = [ PV3D('Hlt2') ],
+                              DaughtersCuts = daughters_cuts,
+                              CombinationCut = combination_cuts,
+                              MotherCut = mother_cuts,
+                              Preambulo = [])
+
+
+
 LambdaMuPiLL = LambdaMuPiCombiner('LambdaMuPiLL', [Hlt2Muons, Hlt2Pions])
-LambdaMuPiDD = LambdaMuPiCombiner('LambdaMuPiDD', [Hlt2DownMuons, Hlt2DownPions])
+LambdaMuPiDD = LambdaMuPiCombinerNoPID('LambdaMuPiDD', [Hlt2DownMuons, Hlt2DownPions])
 
 class BLambdaMuCombiner(Hlt2Combiner):
     def __init__(self, name, inputs):
-- 
GitLab


From 7597bf5d4ca4ad51b060a5bf205c9ffa355e83e7 Mon Sep 17 00:00:00 2001
From: fredi <federico.redi@cern.ch>
Date: Thu, 19 May 2016 14:40:18 +0200
Subject: [PATCH 2/2] Added note in release.notes for Majorana DD lines

---
 Hlt/Hlt2Lines/doc/release.notes | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Hlt/Hlt2Lines/doc/release.notes b/Hlt/Hlt2Lines/doc/release.notes
index 8189ea2d9..a37a016f7 100644
--- a/Hlt/Hlt2Lines/doc/release.notes
+++ b/Hlt/Hlt2Lines/doc/release.notes
@@ -8,6 +8,9 @@
 !
 !----------------------------------------------------------------------------
 
+! 2016-05-16 - Federico Leo Redi
+ - Removed PID requirements in DD combination of Majorana lines.
+
 ! 2016-05-15 - Jessica Prisciandaro
  - ProbNNe added to StrangeLFVMuonElectronSoft
 
-- 
GitLab