diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/charm/rare_charm_lines.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/charm/rare_charm_lines.py index bd57fa0f8077c1d811aa70ea214414ddb08623aa..f6b884431d43eb969e6437d84114126d068e8e54 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/charm/rare_charm_lines.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/charm/rare_charm_lines.py @@ -233,6 +233,7 @@ def dstar2dzeropi_dzero2mumu_line(name='Hlt2Charm_DstpToD0Pip_D0ToMumMup_Line', name=name, algs=charm_prefilters() + [muons, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -258,6 +259,7 @@ def dstar2dzeropi_dzero2mue_line(name='Hlt2Charm_DstpToD0Pip_D0ToMumpEpm_Line', name=name, algs=charm_prefilters() + [electrons, muons, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -279,6 +281,7 @@ def dstar2dzeropi_dzero2ee_line(name='Hlt2Charm_DstpToD0Pip_D0ToEmEp_Line', name=name, algs=charm_prefilters() + [electrons, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -306,6 +309,7 @@ def dstar2dzeropi_dzero2taue_line( name=name, algs=charm_prefilters() + [electrons, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -331,6 +335,7 @@ def dstar2dzeropi_dzero2pe_line(name='Hlt2Charm_DstpToD0Pip_D0ToPmpEpm_Line', name=name, algs=charm_prefilters() + [electrons, protons, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -356,6 +361,7 @@ def dstar2dzeropi_dzero2pmu_line(name='Hlt2Charm_DstpToD0Pip_D0ToPmpMupm_Line', name=name, algs=charm_prefilters() + [muons, protons, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -384,6 +390,7 @@ def dstar2dzeropi_dzero2pipi_line( name=name, algs=charm_prefilters() + [pions, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -408,6 +415,7 @@ def dstar2dzeropi_dzero2kpi_line( name=name, algs=charm_prefilters() + [kaons, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -442,6 +450,7 @@ def dstar2dzeropi_dzero2Kmu_line( name=name, algs=charm_prefilters() + [muons, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -466,6 +475,7 @@ def dstar2dzeropi_dzero2mumumumu_line( name=name, algs=charm_prefilters() + [muons, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -488,6 +498,7 @@ def dstar2dzeropi_dzero2eeee_line( name=name, algs=charm_prefilters() + [electrons, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -526,6 +537,7 @@ def dstar2dzeropi_dzero2mumuee_line( name=name, algs=charm_prefilters() + [muons, electrons, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -547,6 +559,7 @@ def d2pimumuos_line(name='Hlt2Charm_DpDspToPipMumMup_Line', prescale=1): name=name, algs=charm_prefilters() + [muons, dimuons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -567,6 +580,7 @@ def d2pimumuss_line(name='Hlt2Charm_DpDspToPimMupMup_Line', prescale=1): name=name, algs=charm_prefilters() + [muons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -588,6 +602,7 @@ def d2pimumuwscontrol_line( name=name, algs=charm_prefilters() + [muons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -609,6 +624,7 @@ def d2kmumuos_line(name='Hlt2Charm_DpDspToKpMumMup_Line', prescale=1): name=name, algs=charm_prefilters() + [muons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -629,6 +645,7 @@ def d2kmumuss_line(name='Hlt2Charm_DpDspToKmMupMup_Line', prescale=1): name=name, algs=charm_prefilters() + [muons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -650,6 +667,7 @@ def d2kmumuwscontrol_line( name=name, algs=charm_prefilters() + [muons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -673,6 +691,7 @@ def d2pieeos_line(name='Hlt2Charm_DpDspToPipEmEp_Line', prescale=1): name=name, algs=charm_prefilters() + [electrons, dielectrons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -698,6 +717,7 @@ def d2pieess_line(name='Hlt2Charm_DpDspToPimEpEp_Line', prescale=1): name=name, algs=charm_prefilters() + [electrons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -722,6 +742,7 @@ def d2pieewscontrol_line(name='Hlt2Charm_DpDspToPipEpEp_RareCharmControl_Line', name=name, algs=charm_prefilters() + [electrons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -746,6 +767,7 @@ def d2keeos_line(name='Hlt2Charm_DpDspToKpEmEp_Line', prescale=1): name=name, algs=charm_prefilters() + [electrons, dielectrons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -771,6 +793,7 @@ def d2keess_line(name='Hlt2Charm_DpDspToKmEpEp_Line', prescale=1): name=name, algs=charm_prefilters() + [electrons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -797,6 +820,7 @@ def d2keewscontrol_line(name='Hlt2Charm_DpDspToKpEpEp_RareCharmControl_Line', name=name, algs=charm_prefilters() + [electrons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -824,6 +848,7 @@ def d2pimueos_line(name='Hlt2Charm_DpDspToPipMupEm_Line', prescale=1): name=name, algs=charm_prefilters() + [electrons, muons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -848,6 +873,7 @@ def d2piemuos_line(name='Hlt2Charm_DpDspToPipMumEp_Line', prescale=1): name=name, algs=charm_prefilters() + [electrons, muons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -872,6 +898,7 @@ def d2pimuess_line(name='Hlt2Charm_DpDspToPimMupEp_Line', prescale=1): name=name, algs=charm_prefilters() + [electrons, muons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -897,6 +924,7 @@ def d2pimuewscontrol_line( name=name, algs=charm_prefilters() + [electrons, muons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -924,6 +952,7 @@ def d2kmueos_line(name='Hlt2Charm_DpDspToKpMupEm_Line', prescale=1): name=name, algs=charm_prefilters() + [electrons, muons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -948,6 +977,7 @@ def d2kemuos_line(name='Hlt2Charm_DpDspToKpMumEp_Line', prescale=1): name=name, algs=charm_prefilters() + [electrons, muons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -972,6 +1002,7 @@ def d2kmuess_line(name='Hlt2Charm_DpDspToKmMupEp_Line', prescale=1): name=name, algs=charm_prefilters() + [electrons, muons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -997,6 +1028,7 @@ def d2kmuewscontrol_line(name='Hlt2Charm_DpDspToKpMupEp_RareCharmControl_Line', name=name, algs=charm_prefilters() + [electrons, muons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1021,6 +1053,7 @@ def d2kpipioscontrol_line( name=name, algs=charm_prefilters() + [dipions, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1042,6 +1075,7 @@ def d2pipipioscontrol_line( name=name, algs=charm_prefilters() + [dipions, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1071,6 +1105,7 @@ def d2kskcontrol_line(name='Hlt2Charm_DpDspToKsKp_LL_RareCharmControl_Line', name=name, algs=charm_prefilters() + [kaons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1100,6 +1135,7 @@ def d2kspicontrol_line(name='Hlt2Charm_DpDspToKsPip_LL_RareCharmControl_Line', name=name, algs=charm_prefilters() + [pions, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1126,6 +1162,7 @@ def dstar2dzeropi_dzero2pipimumuos_line( name=name, algs=charm_prefilters() + [dimuons, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1149,6 +1186,7 @@ def dstar2dzeropi_dzero2pipieeos_line( name=name, algs=charm_prefilters() + [dielectrons, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1179,6 +1217,7 @@ def dstar2dzeropi_dzero2pipimumuss_line( name=name, algs=charm_prefilters() + [muons, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1209,6 +1248,7 @@ def dstar2dzeropi_dzero2pipieess_line( name=name, algs=charm_prefilters() + [electrons, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1238,6 +1278,7 @@ def dstar2dzeropi_dzero2pipimueos_line( name=name, algs=charm_prefilters() + [electrons, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1272,6 +1313,7 @@ def dstar2dzeropi_dzero2pipimuess_line( name=name, algs=charm_prefilters() + [electrons, muons, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1299,6 +1341,7 @@ def dstar2dzeropi_dzero2pipimumusscontrol_line( name=name, algs=charm_prefilters() + [muons, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1330,6 +1373,7 @@ def dstar2dzeropi_dzero2pipieesscontrol_line( name=name, algs=charm_prefilters() + [electrons, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1354,6 +1398,7 @@ def dstar2dzeropi_dzero2kkmumuos_line( name=name, algs=charm_prefilters() + [muons, dimuons, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1377,6 +1422,7 @@ def dstar2dzeropi_dzero2kkeeos_line( name=name, algs=charm_prefilters() + [electrons, dielectrons, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1407,6 +1453,7 @@ def dstar2dzeropi_dzero2kkmumuss_line( name=name, algs=charm_prefilters() + [muons, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1437,6 +1484,7 @@ def dstar2dzeropi_dzero2kkeess_line( name=name, algs=charm_prefilters() + [electrons, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1466,6 +1514,7 @@ def dstar2dzeropi_dzero2kkmueos_line( name=name, algs=charm_prefilters() + [electrons, muons, kaons, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1493,6 +1542,7 @@ def dstar2dzeropi_dzero2kkmumusscontrol_line( name=name, algs=charm_prefilters() + [muons, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1524,6 +1574,7 @@ def dstar2dzeropi_dzero2kkeesscontrol_line( name=name, algs=charm_prefilters() + [electrons, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1558,6 +1609,7 @@ def dstar2dzeropi_dzero2kkmuess_line( name=name, algs=charm_prefilters() + [electrons, muons, kaons, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1581,6 +1633,7 @@ def dstar2dzeropi_dzero2kpimumurs_line( name=name, algs=charm_prefilters() + [muons, dimuons, dzeros_rs, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1601,6 +1654,7 @@ def dstar2dzeropi_dzero2kpimumuws_line( name=name, algs=charm_prefilters() + [muons, dimuons, dzeros_ws, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1618,6 +1672,7 @@ def dzero2kpimumuosuntagged_line(name='Hlt2Charm_D0ToKmPipMumMup_Untag_Line', name=name, algs=charm_prefilters() + [muons, dimuons, dzeros], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1640,6 +1695,7 @@ def dstar2dzeropi_dzero2kpieers_line( name=name, algs=charm_prefilters() + [electrons, dielectrons, dzeros_rs, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1662,6 +1718,7 @@ def dstar2dzeropi_dzero2kpieews_line( name=name, algs=charm_prefilters() + [electrons, dielectrons, dzeros_ws, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1681,6 +1738,7 @@ def dzero2kpieeosuntagged_line(name='Hlt2Charm_D0ToKmPipEmEp_Untag_Line', name=name, algs=charm_prefilters() + [electrons, dielectrons, dzeros], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1716,6 +1774,7 @@ def dstar2dzeropi_dzero2kpimumuss_line( name=name, algs=charm_prefilters() + [muons, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1751,6 +1810,7 @@ def dstar2dzeropi_dzero2kpieess_line( name=name, algs=charm_prefilters() + [electrons, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1783,6 +1843,7 @@ def dstar2dzeropi_dzero2kpimuers_line( algs=charm_prefilters() + [electrons, muons, kaons, pions, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1815,6 +1876,7 @@ def dstar2dzeropi_dzero2kpimuews_line( algs=charm_prefilters() + [electrons, muons, kaons, pions, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1843,6 +1905,7 @@ def dstar2dzeropi_dzero2kpimumusscontrol_line( name=name, algs=charm_prefilters() + [muons, kaons, pions, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1878,6 +1941,7 @@ def dstar2dzeropi_dzero2kpimuess_line( name=name, algs=charm_prefilters() + [muons, kaons, pions, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1910,6 +1974,7 @@ def dstar2dzeropi_dzero2kpieesscontrol_line( name=name, algs=charm_prefilters() + [electrons, kaons, pions, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1942,6 +2007,7 @@ def dstar2dzeropi_dzero2pipipipicontrol_line( name=name, algs=charm_prefilters() + [pions, dipions, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1971,6 +2037,7 @@ def dstar2dzeropi_dzero2kkpipicontrol_line( name=name, algs=charm_prefilters() + [kaons, dipions, dzeros, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -1999,6 +2066,7 @@ def dstar2dzeropi_dzero2kpipipirscontrol_line( name=name, algs=charm_prefilters() + [kaons, dipions, dzeros_rs, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2027,6 +2095,7 @@ def dstar2dzeropi_dzero2kpipipiwscontrol_line( name=name, algs=charm_prefilters() + [kaons, dipions, dzeros_ws, dstars], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2048,6 +2117,7 @@ def d2kksllmumuos_line(name='Hlt2Charm_DpDspToKsKpMumMup_LL_Line', prescale=1): name=name, algs=charm_prefilters() + [muons, kaons, dimuons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2066,6 +2136,7 @@ def d2kksddmumuos_line(name='Hlt2Charm_DpDspToKsKpMumMup_DD_Line', prescale=1): name=name, algs=charm_prefilters() + [muons, kaons, dimuons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2085,6 +2156,7 @@ def d2piksllmumuos_line(name='Hlt2Charm_DpDspToKsPipMumMup_LL_Line', name=name, algs=charm_prefilters() + [muons, pions, dimuons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2104,6 +2176,7 @@ def d2piksddmumuos_line(name='Hlt2Charm_DpDspToKsPipMumMup_DD_Line', name=name, algs=charm_prefilters() + [muons, pions, dimuons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2123,6 +2196,7 @@ def d2kpi0mergedmumuos_line(name='Hlt2Charm_DpDspToPi0KpMumMup_M_Line', name=name, algs=charm_prefilters() + [muons, kaons, dimuons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2142,6 +2216,7 @@ def d2kpi0resolvedmumuos_line(name='Hlt2Charm_DpDspToPi0KpMumMup_R_Line', name=name, algs=charm_prefilters() + [muons, kaons, dimuons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2162,6 +2237,7 @@ def d2kkslleeos_line(name='Hlt2Charm_DpDspToKsKpEmEp_LL_Line', prescale=1): name=name, algs=charm_prefilters() + [electrons, kaons, dielectrons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2182,6 +2258,7 @@ def d2kksddeeos_line(name='Hlt2Charm_DpDspToKsKpEmEp_DD_Line', prescale=1): name=name, algs=charm_prefilters() + [electrons, kaons, dielectrons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2202,6 +2279,7 @@ def d2pikslleeos_line(name='Hlt2Charm_DpDspToKsPipEmEp_LL_Line', prescale=1): name=name, algs=charm_prefilters() + [electrons, pions, dielectrons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2222,6 +2300,7 @@ def d2piksddeeos_line(name='Hlt2Charm_DpDspToKsPipEmEp_DD_Line', prescale=1): name=name, algs=charm_prefilters() + [electrons, pions, dielectrons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2242,6 +2321,7 @@ def d2kpi0mergedeeos_line(name='Hlt2Charm_DpDspToPi0KpEmEp_M_Line', name=name, algs=charm_prefilters() + [electrons, kaons, dielectrons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2262,6 +2342,7 @@ def d2kpi0resolvedeeos_line(name='Hlt2Charm_DpDspToPi0KpEmEp_R_Line', name=name, algs=charm_prefilters() + [electrons, kaons, dielectrons, ds], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2285,6 +2366,7 @@ def Lc2pmumuos_line(name='Hlt2Charm_LcpToPpMumMup_Line', prescale=1): name=name, algs=charm_prefilters() + [protons, muons, lambdas], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2305,6 +2387,7 @@ def Lc2pmumuss_line(name='Hlt2Charm_LcpToPmMupMup_Line', prescale=1): name=name, algs=charm_prefilters() + [protons, muons, lambdas], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2326,6 +2409,7 @@ def Lc2peeos_line(name='Hlt2Charm_LcpToPpEmEp_Line', prescale=1): name=name, algs=charm_prefilters() + [protons, electrons, lambdas], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2351,6 +2435,7 @@ def Lc2peess_line(name='Hlt2Charm_LcpToPmEpEp_Line', prescale=1): name=name, algs=charm_prefilters() + [protons, electrons, lambdas], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2380,6 +2465,7 @@ def Lc2pmumeos_line(name='Hlt2Charm_LcpToPpMumpEpm_Line', prescale=1): name=name, algs=charm_prefilters() + [protons, electrons, muons, lambdas], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2396,6 +2482,7 @@ def Lc2pksllcontrol_line(name='Hlt2Charm_LcpToKsPp_LL_RareCharmControl_Line', name=name, algs=charm_prefilters() + [protons, lambdas], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2414,6 +2501,7 @@ def Lc2pksddcontrol_line(name='Hlt2Charm_LcpToKsPp_DD_RareCharmControl_Line', name=name, algs=charm_prefilters() + [protons, lambdas], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2444,6 +2532,7 @@ def Lc2ppipicontrol_line(name='Hlt2Charm_LcpToPpPimPip_RareCharmControl_Line', name=name, algs=charm_prefilters() + [protons, lambdas], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2465,6 +2554,7 @@ def xic2lambdallmumu_line(name='Hlt2Charm_Xic0ToL0MumMup_LL_Line', name=name, algs=charm_prefilters() + [muons, dimuons, xic], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2486,6 +2576,7 @@ def xic2lambdaddmumu_line(name='Hlt2Charm_Xic0ToL0MumMup_DD_Line', name=name, algs=charm_prefilters() + [muons, dimuons, xic], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2507,6 +2598,7 @@ def xic2lambdaddee_line(name='Hlt2Charm_Xic0ToL0EmEp_DD_Line', prescale=1.0): name=name, algs=charm_prefilters() + [electrons, dielectrons, xic], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2528,6 +2620,7 @@ def xic2lambdallee_line(name='Hlt2Charm_Xic0ToL0EmEp_LL_Line', prescale=1.0): name=name, algs=charm_prefilters() + [electrons, dielectrons, xic], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2557,6 +2650,7 @@ def b2dstarmu_dzero2kpieers_line( algs=charm_prefilters() + [tag_mu, electrons, dielectrons, dzeros_rs, bs], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2583,6 +2677,7 @@ def b2dstarmu_dzero2kpieews_line( algs=charm_prefilters() + [tag_mu, electrons, dielectrons, dzeros_ws, bs], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2607,6 +2702,7 @@ def b2dstarmu_dzero2kpimumurs_line( name=name, algs=charm_prefilters() + [tag_mu, muons, dimuons, dzeros_rs, bs], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2631,6 +2727,7 @@ def b2dstarmu_dzero2kpimumuws_line( name=name, algs=charm_prefilters() + [tag_mu, muons, dimuons, dzeros_ws, bs], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2656,6 +2753,7 @@ def b2dmu_d2pieeos_line(name='Hlt2Charm_B2DpDspMumX_DpDspToPipEmEp_Line', name=name, algs=charm_prefilters() + [tag_mu, electrons, dielectrons, bs], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2681,6 +2779,7 @@ def b2dmu_d2keeos_line(name='Hlt2Charm_B2DpDspMumX_DpDspToKpEmEp_Line', name=name, algs=charm_prefilters() + [tag_mu, electrons, dielectrons, bs], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2705,6 +2804,7 @@ def b2dmu_d2pimumuos_line(name='Hlt2Charm_B2DpDspMumX_DpDspToPipMumMup_Line', name=name, algs=charm_prefilters() + [tag_mu, muons, dimuons, bs], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2729,6 +2829,7 @@ def b2dmu_d2kmumuos_line(name='Hlt2Charm_B2DpDspMumX_DpDspToKpMumMup_Line', name=name, algs=charm_prefilters() + [tag_mu, muons, dimuons, bs], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2755,6 +2856,7 @@ def b2lcmu_Lc2pmumuos_line(name='Hlt2Charm_B2LcpMum_LcpToPpMumMup_Line', name=name, algs=charm_prefilters() + [tag_mu, protons, muons, bs], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2782,6 +2884,7 @@ def b2lcmu_Lc2peeos_line(name='Hlt2Charm_B2LcpMum_LcpToPpEmEp_Line', name=name, algs=charm_prefilters() + [tag_mu, protons, electrons, bs], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2801,6 +2904,7 @@ def b2lcmu_Lc2pksllcontrol_line( name=name, algs=charm_prefilters() + [tag_mu, protons, bs], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2821,6 +2925,7 @@ def b2lcmu_Lc2pksddcontrol_line( name=name, algs=charm_prefilters() + [tag_mu, protons, bs], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2854,6 +2959,7 @@ def b2dmu_d2kskcontrol_line( name=name, algs=charm_prefilters() + [tag_mu, kaons, bs], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) @@ -2887,4 +2993,5 @@ def b2dmu_d2kspicontrol_line( name=name, algs=charm_prefilters() + [tag_mu, pions, bs], prescale=prescale, + monitoring_variables=m._MONITORING_VARIABLES, ) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/charm/rare_charm_makers.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/charm/rare_charm_makers.py index 1bda5b3513bb5b0723855db37738b12ced04bd2e..74b0c0c2161a9415ad409c23ca5d67266ded6563 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/charm/rare_charm_makers.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/charm/rare_charm_makers.py @@ -46,6 +46,8 @@ from PyConf.Algorithms import FunctionalDiElectronMaker from Functors.math import in_range import Functors as F from .particle_properties import _PION_M, _PI0_M + +_MONITORING_VARIABLES = ("pt", "eta", "vchi2", "ipchi2") """****************************************""" """Common cuts""" """****************************************""" diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/generic_lines_thor/generic_lines.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/generic_lines_thor/generic_lines.py index 98e2f48be78e24c4ef97574aca161035f9205070..ee9064d98a66b9af7cb21b2d7d31a5654e2245a5 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/generic_lines_thor/generic_lines.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/generic_lines_thor/generic_lines.py @@ -332,7 +332,7 @@ def bs2jpsiphi_jpsi2mumu_phi2kk_line( name=name, algs=upfront_reconstruction() + [require_pvs(pvs), phi_mon, jpsi, bs], prescale=prescale, - default_monitoring=False, + monitoring_variables=(), ) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/monitoring/pi0_line.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/monitoring/pi0_line.py index b7814ce86dd063270e09ae6954e37e91cac850c3..36da9e8020da829ca1cb5199c1a7727ce3412c6c 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/monitoring/pi0_line.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/monitoring/pi0_line.py @@ -41,5 +41,5 @@ def monitoring_pi0_line(name="Hlt2MonitoringPi0Line", prescale=1e-6): name=name, algs=upfront_reconstruction() + pi0_monitoring(name), prescale=prescale, - default_monitoring=False, + monitoring_variables=(), ) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/RpK_lines.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/RpK_lines.py index 713600f03eb390768767f9816d5b5c080341df7f..c4167f65d207776e6ca894e3b0a496a10ab73829 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/RpK_lines.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/RpK_lines.py @@ -22,7 +22,7 @@ The following modes are included: from PyConf import configurable from Moore.config import register_line_builder from Moore.lines import Hlt2Line -from .builders.rd_prefilters import rd_prefilter +from .builders.rd_prefilters import rd_prefilter, _RD_MONITORING_VARIABLES from .builders.rdbuilder_thor import (make_rd_detached_dimuon, make_rd_detached_dielectron) from .builders.RpK_builders import (make_lambdab_to_pkll, @@ -39,7 +39,10 @@ def lambdab_to_pkmumu_line(name="Hlt2RD_LambdabToPKMuMu_Line", prescale=1): dihadrons = make_dihadron_from_pK() lambdab = make_lambdab_to_pkll(dileptons, dihadrons, descriptor) return Hlt2Line( - name=name, algs=rd_prefilter() + [lambdab], prescale=prescale) + name=name, + algs=rd_prefilter() + [lambdab], + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -51,7 +54,10 @@ def lambdab_to_pkmumu_ss_line(name="Hlt2RD_LambdabToPKMuMu_SS_Line", dihadrons = make_dihadron_from_pK(same_sign=True) lambdab = make_lambdab_to_pkll(dileptons, dihadrons, descriptor) return Hlt2Line( - name=name, algs=rd_prefilter() + [lambdab], prescale=prescale) + name=name, + algs=rd_prefilter() + [lambdab], + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -62,7 +68,10 @@ def lambdab_to_pkee_line(name="Hlt2RD_LambdabToPKEE_Line", prescale=1): dihadrons = make_dihadron_from_pK() lambdab = make_lambdab_to_pkll(dileptons, dihadrons, descriptor) return Hlt2Line( - name=name, algs=rd_prefilter() + [lambdab], prescale=prescale) + name=name, + algs=rd_prefilter() + [lambdab], + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -73,4 +82,7 @@ def lambdab_to_pkee_ss_line(name="Hlt2RD_LambdabToPKEE_SS_Line", prescale=1): dihadrons = make_dihadron_from_pK(same_sign=True) lambdab = make_lambdab_to_pkll(dileptons, dihadrons, descriptor) return Hlt2Line( - name=name, algs=rd_prefilter() + [lambdab], prescale=prescale) + name=name, + algs=rd_prefilter() + [lambdab], + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_Xdilepton_detached.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_Xdilepton_detached.py index 1e426db832c8f2bfa38acf048434c05fa3d921de..db75d4b89234fbdb914d35cc32325c8bb4109ffe 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_Xdilepton_detached.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_Xdilepton_detached.py @@ -19,7 +19,7 @@ Authors: Martin Andersson, Eluned Smith from Moore.config import register_line_builder from Moore.lines import Hlt2Line -from .builders.rd_prefilters import rd_prefilter +from .builders.rd_prefilters import rd_prefilter, _VRD_MONITORING_VARIABLES from GaudiKernel.SystemOfUnits import MeV from RecoConf.reconstruction_objects import make_pvs @@ -52,7 +52,10 @@ def bdtokstLLP_LLPtomumu_line(name="Hlt2RD_BdToKstLLP_LLPToMuMu_Line", m_min=4500 * MeV) return Hlt2Line( - name=name, algs=rd_prefilter() + [dimuons, kst, bd], prescale=prescale) + name=name, + algs=rd_prefilter() + [dimuons, kst, bd], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -75,7 +78,10 @@ def butokpLLP_LLPtomumu_line(name="Hlt2RD_BuToKpLLP_LLPToMuMu_Line", m_min=4500 * MeV) return Hlt2Line( - name=name, algs=rd_prefilter() + [dimuons, bu], prescale=prescale) + name=name, + algs=rd_prefilter() + [dimuons, bu], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) ### ee ### @@ -100,7 +106,8 @@ def bdtokstLLP_LLPtoee_line(name="Hlt2RD_BdToKstLLP_LLPToEE_Line", return Hlt2Line( name=name, algs=rd_prefilter() + [dielectrons, kst, bd], - prescale=prescale) + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -122,7 +129,10 @@ def butokpLLP_LLPtoee_line(name="Hlt2RD_BuToKpLLP_LLPToEE_Line", fdchi2_min=121, m_min=4500 * MeV) return Hlt2Line( - name=name, algs=rd_prefilter() + [dielectrons, bu], prescale=prescale) + name=name, + algs=rd_prefilter() + [dielectrons, bu], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) ### mu e ### @@ -145,7 +155,10 @@ def bdtokstLLP_LLPtomue_line(name="Hlt2RD_BdToKstLLP_LLPToMuE_Line", fdchi2_min=121, m_min=4500 * MeV) return Hlt2Line( - name=name, algs=rd_prefilter() + [mues, kst, bd], prescale=prescale) + name=name, + algs=rd_prefilter() + [mues, kst, bd], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -168,4 +181,7 @@ def butokpLLP_LLPtomue_line(name="Hlt2RD_BuToKpLLP_LLPToMuE_Line", m_min=4500 * MeV) return Hlt2Line( - name=name, algs=rd_prefilter() + [mues, bu], prescale=prescale) + name=name, + algs=rd_prefilter() + [mues, bu], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_hemu.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_hemu.py index 6a199d7226e08b3eb095097abd3cdde29f1f4ac8..efbd23eaef17c7f222937a539e28cb948d36d1f5 100755 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_hemu.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_hemu.py @@ -17,7 +17,7 @@ B+ -> K+ e mu B+ -> pi+ e mu Bs -> phi(-> K+ K-) e mu Bd -> K*(892)0(-> K+ pi-) e mu -Lb -> p K e mu +Lb -> p K e mu """ from Moore.config import register_line_builder @@ -32,7 +32,7 @@ import Functors as F from .builders import b_to_hemu_builders from .builders import rdbuilder_thor -from .builders.rd_prefilters import rd_prefilter +from .builders.rd_prefilters import rd_prefilter, _VRD_MONITORING_VARIABLES all_lines = {} @@ -52,7 +52,10 @@ def butokemu_line(name="Hlt2RD_BuToKpEMu_Line", prescale=1): "[B+ -> J/psi(1S) K+]cc") return Hlt2Line( - name=name, algs=rd_prefilter() + [dileptons, bu], prescale=prescale) + name=name, + algs=rd_prefilter() + [dileptons, bu], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -70,7 +73,10 @@ def butopiemu_line(name="Hlt2RD_BuToPipEMu_Line", prescale=1): "[B+ -> J/psi(1S) pi+]cc") return Hlt2Line( - name=name, algs=rd_prefilter() + [dileptons, bu], prescale=prescale) + name=name, + algs=rd_prefilter() + [dileptons, bu], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -98,7 +104,8 @@ def bstophiemu_line(name="Hlt2RD_BsToPhiEMu_PhiToKK_Line", prescale=1): return Hlt2Line( name=name, algs=rd_prefilter() + [dikaons, dileptons, bs], - prescale=prescale) + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -120,7 +127,8 @@ def bdtokstemu_line(name="Hlt2RD_BdToKstEMu_KstToKpPim_Line", prescale=1): return Hlt2Line( name=name, algs=rd_prefilter() + [kstars, dileptons, bd], - prescale=prescale) + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -149,7 +157,8 @@ def lbtopkemu_line(name="Hlt2RD_LbToPKEMu_Line", prescale=1): return Hlt2Line( name=name, algs=rd_prefilter() + [dihadron, dileptons, lb], - prescale=prescale) + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -167,7 +176,10 @@ def butokemuSS_line(name="Hlt2RD_BuToKpEMu_SameSign_Line", prescale=1): "[B+ -> J/psi(1S) K+]cc") return Hlt2Line( - name=name, algs=rd_prefilter() + [dileptons, bu], prescale=prescale) + name=name, + algs=rd_prefilter() + [dileptons, bu], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -185,7 +197,10 @@ def butopiemuSS_line(name="Hlt2RD_BuToPipEMu_SameSign_Line", prescale=1): "[B+ -> J/psi(1S) pi+]cc") return Hlt2Line( - name=name, algs=rd_prefilter() + [dileptons, bu], prescale=prescale) + name=name, + algs=rd_prefilter() + [dileptons, bu], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -214,7 +229,8 @@ def bstophiemuSS_line(name="Hlt2RD_BsToPhiEMu_SameSign_PhiToKK_Line", return Hlt2Line( name=name, algs=rd_prefilter() + [dikaons, dileptons, bs], - prescale=prescale) + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -237,7 +253,8 @@ def bdtokstemuSS_line(name="Hlt2RD_BdToKstEMu_SameSign_KstToKpPim_Line", return Hlt2Line( name=name, algs=rd_prefilter() + [kstars, dileptons, bd], - prescale=prescale) + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -266,4 +283,5 @@ def lbtopkemuSS_line(name="Hlt2RD_LbToPKEMu_SameSign_Line", prescale=1): return Hlt2Line( name=name, algs=rd_prefilter() + [dihadron, dileptons, lb], - prescale=prescale) + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_hemu_control_modes.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_hemu_control_modes.py index 083e75556f342a0ca1d19d4a2f2092a3d523367b..a77dd12a091da10419ff420b1848616a69c005ae 100755 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_hemu_control_modes.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_hemu_control_modes.py @@ -17,7 +17,7 @@ B+ -> K+ Jpsi B+ -> pi+ Jpsi Bs -> phi(-> K+ K-) Jpsi Bd -> K*(892)0(-> K+ pi-) Jpsi -Lb -> p K Jpsi +Lb -> p K Jpsi """ from Moore.config import register_line_builder @@ -32,7 +32,7 @@ import Functors as F from .builders import b_to_hemu_builders from .builders import rdbuilder_thor -from .builders.rd_prefilters import rd_prefilter +from .builders.rd_prefilters import rd_prefilter, _RD_MONITORING_VARIABLES all_lines = {} @@ -47,7 +47,10 @@ def butokjpsi_mumu_line(name="Hlt2RD_BuToKpJpsi_JpsiToMuMu_Line", prescale=1): "[B+ -> J/psi(1S) K+]cc") return Hlt2Line( - name=name, algs=rd_prefilter() + [dileptons, bu], prescale=prescale) + name=name, + algs=rd_prefilter() + [dileptons, bu], + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -61,7 +64,10 @@ def butopijpsi_mumu_line(name="Hlt2RD_BuToPipJpsi_JpsiToMuMu_Line", "[B+ -> J/psi(1S) pi+]cc") return Hlt2Line( - name=name, algs=rd_prefilter() + [dileptons, bu], prescale=prescale) + name=name, + algs=rd_prefilter() + [dileptons, bu], + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -86,7 +92,8 @@ def bstophijpsi_mumu_line(name="Hlt2RD_BsToPhiJpsi_PhiToKK_JpsiToMuMu_Line", return Hlt2Line( name=name, algs=rd_prefilter() + [dikaons, dileptons, bs], - prescale=prescale) + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -105,7 +112,8 @@ def bdtokstjpsi_mumu_line(name="Hlt2RD_BdToKstJpsi_KstToKpPim_JpsiToMuMu_Line", return Hlt2Line( name=name, algs=rd_prefilter() + [kstars, dileptons, bd], - prescale=prescale) + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -130,7 +138,8 @@ def lbtopkjpsi_mumu_line(name="Hlt2RD_LbToPKJpsi_JpsiToMuMu_Line", prescale=1): return Hlt2Line( name=name, algs=rd_prefilter() + [dihadron, dileptons, lb], - prescale=prescale) + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -144,7 +153,10 @@ def butokjpsi_ee_line(name="Hlt2RD_BuToKpJpsi_JpsiToEE_Line", prescale=1): "[B+ -> J/psi(1S) K+]cc") return Hlt2Line( - name=name, algs=rd_prefilter() + [dileptons, bu], prescale=prescale) + name=name, + algs=rd_prefilter() + [dileptons, bu], + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -158,7 +170,10 @@ def butopijpsi_ee_line(name="Hlt2RD_BuToPipJpsi_JpsiToEE_Line", prescale=1): "[B+ -> J/psi(1S) pi+]cc") return Hlt2Line( - name=name, algs=rd_prefilter() + [dileptons, bu], prescale=prescale) + name=name, + algs=rd_prefilter() + [dileptons, bu], + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -184,7 +199,8 @@ def bstophijpsi_ee_line(name="Hlt2RD_BsToPhiJpsi_PhiToKK_JpsiToEE_Line", return Hlt2Line( name=name, algs=rd_prefilter() + [dikaons, dileptons, bs], - prescale=prescale) + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -204,7 +220,8 @@ def bdtokstjpsi_ee_line(name="Hlt2RD_BdToKstJpsi_KstToKpPim_JpsiToEE_Line", return Hlt2Line( name=name, algs=rd_prefilter() + [kstars, dileptons, bd], - prescale=prescale) + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -230,4 +247,5 @@ def lbtopkjpsi_ee_line(name="Hlt2RD_LbToPKJpsi_JpsiToEE_Line", prescale=1): return Hlt2Line( name=name, algs=rd_prefilter() + [dihadron, dileptons, lb], - prescale=prescale) + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_kstarmumu.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_kstarmumu.py index 20be2f537425568ddbc92b3d71bc9421ac35b245..4af439aa3ca90850f2b1e6b8c0e28260f5c197ae 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_kstarmumu.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_kstarmumu.py @@ -17,7 +17,7 @@ from RecoConf.reconstruction_objects import make_pvs from .builders import b0_builder_kstarmumu from Hlt2Conf.lines.rd.builders import rdbuilder_thor -from .builders.rd_prefilters import rd_prefilter +from .builders.rd_prefilters import rd_prefilter, _VRD_MONITORING_VARIABLES all_lines = {} @@ -37,4 +37,5 @@ def BdToKstarMuMu_line(name="Hlt2RD_BdToKstarMuMu_Line", prescale=1): name=name, algs=rd_prefilter() + [b], prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_ll_LFV.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_ll_LFV.py index 283d072e32628679672e9690765edf6d9adea898..7ba77871d025ce7ec932c8678ea14d6f278d52ef 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_ll_LFV.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_ll_LFV.py @@ -27,7 +27,7 @@ from Moore.config import register_line_builder from Moore.lines import Hlt2Line from PyConf import configurable from Hlt2Conf.lines.rd.builders.b_to_ll_LFV_builder import make_B_from_taumu, make_B_from_taue, make_taus, make_muons, make_electrons -from Hlt2Conf.lines.rd.builders.rd_prefilters import rd_prefilter +from Hlt2Conf.lines.rd.builders.rd_prefilters import rd_prefilter, _VRD_MONITORING_VARIABLES hlt2_lines = {} @@ -38,7 +38,7 @@ def Hlt2_Bs2TauMu_OS_ExclusiveLine(name='Hlt2RD_BsToTauMu_TauTo3Pi_OS_Line', prescale=1): """ HLT2 line for B(s) -> (tau+->pi+pi+pi-) mu- + CC - + and for B(s) -> (tau-->pi-pi-pi+) mu+ + CC """ @@ -50,7 +50,8 @@ def Hlt2_Bs2TauMu_OS_ExclusiveLine(name='Hlt2RD_BsToTauMu_TauTo3Pi_OS_Line', return Hlt2Line( name=name, prescale=prescale, - algs=rd_prefilter() + [taus, B_candidate]) + algs=rd_prefilter() + [taus, B_candidate], + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -59,7 +60,7 @@ def Hlt2_Bs2TauE_OS_ExclusiveLine(name='Hlt2RD_BsToTauE_TauTo3Pi_OS_Line', prescale=1): """ HLT2 line for B(s) -> (tau+->pi+pi+pi-) e- + CC - + and for B(s) -> (tau-->pi-pi-pi+) e+ + CC """ @@ -71,4 +72,5 @@ def Hlt2_Bs2TauE_OS_ExclusiveLine(name='Hlt2RD_BsToTauE_TauTo3Pi_OS_Line', return Hlt2Line( name=name, prescale=prescale, - algs=rd_prefilter() + [taus, B_candidate]) + algs=rd_prefilter() + [taus, B_candidate], + monitoring_variables=_VRD_MONITORING_VARIABLES) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_ll_hlt2.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_ll_hlt2.py index b103cbfc0fbc475ade02e3864d1501b87cd8229d..b933a9b28f442906c268d5635b7994d3399e157f 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_ll_hlt2.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_ll_hlt2.py @@ -9,7 +9,7 @@ # or submit itself to any jurisdiction. # ############################################################################### """ -Registration of B2ll(')(gamma) lines for the RD working group. +Registration of B2ll(')(gamma) lines for the RD working group. It contains also B2HH as this is an important normalisation. - B -> Mu Mu - B -> Mu E @@ -30,7 +30,7 @@ from Moore.config import HltLine, register_line_builder from .builders.rdbuilder_thor import make_rd_detached_dihadron from .builders.b_to_ll_builders import filter_B2MuMu, filter_B2MuE, filter_B2EE, make_B2MuMuGamma, make_B2EEGamma, make_B2MuEGamma -from .builders.rd_prefilters import rd_prefilter +from .builders.rd_prefilters import rd_prefilter, _VRD_MONITORING_VARIABLES all_lines = {} @@ -50,6 +50,7 @@ def Hlt2RD_BToMuMu_Line(name="Hlt2RD_BToMuMu_Line", algs=rd_prefilter() + [dimuons], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -68,6 +69,7 @@ def Hlt2RD_BToMuMu_SameSign_Line(name="Hlt2RD_BToMuMu_SameSign_Line", algs=rd_prefilter() + [dimuons], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -84,6 +86,7 @@ def Hlt2RD_BToEE_Line(name="Hlt2RD_BToEE_Line", prescale=1, persistreco=True): algs=rd_prefilter() + [dielectrons], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -102,6 +105,7 @@ def Hlt2RD_BToEE_SameSign_Line(name="Hlt2RD_BToEE_SameSign_Line", algs=rd_prefilter() + [dielectrons], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -119,6 +123,7 @@ def Hlt2RD_BToMuE_Line(name="Hlt2RD_BToMuE_Line", prescale=1, algs=rd_prefilter() + [emu], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -137,6 +142,7 @@ def Hlt2RD_BToMuE_SameSign_Line(name="Hlt2RD_BToMuE_SameSign_Line", algs=rd_prefilter() + [emu], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -153,6 +159,7 @@ def Hlt2RD_BTohh_Line(name="Hlt2RD_BTohh_Line", prescale=1, persistreco=True): algs=rd_prefilter() + [dihadrons], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -170,6 +177,7 @@ def Hlt2RD_BToMuMuGamma_Line(name="Hlt2RD_BToMuMuGamma_Line", algs=rd_prefilter() + [bs], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -187,6 +195,7 @@ def Hlt2RD_BToEEGamma_Line(name="Hlt2RD_BToEEGamma_Line", algs=rd_prefilter() + [bs], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -204,4 +213,5 @@ def Hlt2RD_BToMuEGamma_Line(name="Hlt2RD_BToMuEGamma_Line", algs=rd_prefilter() + [bs], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_majolep_majo_to_leppi.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_majolep_majo_to_leppi.py index 80db7bfa33db36a6fcf401f6c727091bf6beac7e..eb196b28ba58c5b5b0c05d6684b8c451ff6a503d 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_majolep_majo_to_leppi.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_majolep_majo_to_leppi.py @@ -49,7 +49,7 @@ from RecoConf.reconstruction_objects import make_pvs from Hlt2Conf.lines.rd.builders import rad_incl_builder from Hlt2Conf.lines.rd.builders.majorana_builder import make_majorana_lepton, make_majorana, make_bhadron_majorana -from Hlt2Conf.lines.rd.builders.rd_prefilters import rd_prefilter +from Hlt2Conf.lines.rd.builders.rd_prefilters import rd_prefilter, _VRD_MONITORING_VARIABLES import Functors as F all_lines = {} @@ -97,7 +97,8 @@ def BpToMajoMu_MajoToEPi_LL_Tight_line( return Hlt2Line( name=name, algs=rd_prefilter() + [majoranas2piE, b2MuN], - prescale=prescale) + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -139,7 +140,8 @@ def BpToMajoE_MajoToMuPi_LL_Tight_line( return Hlt2Line( name=name, algs=rd_prefilter() + [majoranas2piMu, b2EN], - prescale=prescale) + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -187,7 +189,8 @@ def BpToMajoMu_MajoToEPi_DD_Tight_line( return Hlt2Line( name=name, algs=rd_prefilter() + [majoranas2piE, b2MuN], - prescale=prescale) + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -237,7 +240,8 @@ def BpToMajoE_MajoToMuPi_DD_Tight_line( return Hlt2Line( name=name, algs=rd_prefilter() + [majoranas2piMu, b2EN], - prescale=prescale) + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -282,7 +286,8 @@ def BpToMajoMu_MajoToEPi_LL_Loose_line( return Hlt2Line( name=name, algs=rd_prefilter() + [majoranas2piE, b2MuN], - prescale=prescale) + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -324,7 +329,8 @@ def BpToMajoE_MajoToMuPi_LL_Loose_line( return Hlt2Line( name=name, algs=rd_prefilter() + [majoranas2piMu, b2EN], - prescale=prescale) + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -372,7 +378,8 @@ def BpToMajoMu_MajoToEPi_DD_Loose_line( return Hlt2Line( name=name, algs=rd_prefilter() + [majoranas2piE, b2MuN], - prescale=prescale) + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -422,7 +429,8 @@ def BpToMajoE_MajoToMuPi_DD_Loose_line( return Hlt2Line( name=name, algs=rd_prefilter() + [majoranas2piMu, b2EN], - prescale=prescale) + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -453,7 +461,10 @@ def BuToKs0Pi_Ks0ToPiPi_LL_line(name="Hlt2RD_BuToKs0Pi_Ks0ToPiPi_LL_Line", descriptor='[B+ -> KS0 pi+]cc') return Hlt2Line( - name=name, algs=rd_prefilter() + [Ks2pipi, b2Ks0Pi], prescale=prescale) + name=name, + algs=rd_prefilter() + [Ks2pipi, b2Ks0Pi], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -483,4 +494,7 @@ def BuToKs0Pi_Ks0ToPiPi_DD_line(name="Hlt2RD_BuToKs0Pi_Ks0ToPiPi_DD_Line", descriptor='[B+ -> KS0 pi+]cc') return Hlt2Line( - name=name, algs=rd_prefilter() + [Ks2pipi, b2Ks0Pi], prescale=prescale) + name=name, + algs=rd_prefilter() + [Ks2pipi, b2Ks0Pi], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_v0ll_hlt2.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_v0ll_hlt2.py index 44a5650248526defc1599a943c34018b0060bbd7..4e3f320da5c941e2322a39367e5fbd01547325ba 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_v0ll_hlt2.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_v0ll_hlt2.py @@ -19,7 +19,7 @@ with: J/psi(1S) -> mu+ mu- [J/psi(1S) -> mu+ e-]cc -Contact: Harry Cliff (harry.victor.cliff@cern.ch) +Contact: Harry Cliff (harry.victor.cliff@cern.ch) """ from GaudiKernel.SystemOfUnits import MeV @@ -31,7 +31,7 @@ from Hlt2Conf.lines.rd.builders.rdbuilder_thor import ( make_rd_detached_dimuon, make_rd_detached_dielectron, make_rd_detached_mue, make_rd_ks0_lls, make_rd_lambda_lls, make_rd_detached_pions) -from Hlt2Conf.lines.rd.builders.rd_prefilters import rd_prefilter +from Hlt2Conf.lines.rd.builders.rd_prefilters import rd_prefilter, _RD_MONITORING_VARIABLES from Hlt2Conf.lines.rd.builders.b_to_v0ll_builder import ( make_b2ksll, make_lambdab2lambdall, make_b2kspill, make_ksttokspi) @@ -77,6 +77,7 @@ def b2ksmumull_line(name="Hlt2RD_BdToKSMuMu_LL_Line", prescale=1): name=name, algs=rd_prefilter() + [kshorts, B2KsMuMu], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -108,6 +109,7 @@ def b2kseell_line(name="Hlt2RD_BdToKSEE_LL_Line", prescale=1): name=name, algs=rd_prefilter() + [kshorts, B2KsEE], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -141,6 +143,7 @@ def b2ksmuell_line(name="Hlt2RD_BdToKSMuE_LL_Line", prescale=1): name=name, algs=rd_prefilter() + [kshorts, B2KsMuE], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -177,6 +180,7 @@ def lambdab2lambdamumull_line(name="Hlt2RD_LbToLMuMu_LL_Line", prescale=1): name=name, algs=rd_prefilter() + [lambdas, Lb2LMuMu], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -208,6 +212,7 @@ def lambdab2lambdaeell_line(name="Hlt2RD_LbToLEE_LL_Line", prescale=1): name=name, algs=rd_prefilter() + [lambdas, Lb2LEE], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -241,6 +246,7 @@ def lambdab2lambdamuell_line(name="Hlt2RD_LbToLMuE_LL_Line", prescale=1): name=name, algs=rd_prefilter() + [lambdas, Lb2LMuE], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -286,6 +292,7 @@ def b2kspimumull_line(name="Hlt2RD_BuToKSPipMuMu_LL_Line", prescale=1): name=name, algs=rd_prefilter() + [kshorts, B2KsPiMuMu], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -326,6 +333,7 @@ def b2kspieell_line(name="Hlt2RD_BuToKSPipEE_LL_Line", prescale=1): name=name, algs=rd_prefilter() + [kshorts, B2KsPiEE], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -368,4 +376,5 @@ def b2kspimuell_line(name="Hlt2RD_BuToKSPipMuE_LL_Line", prescale=1): name=name, algs=rd_prefilter() + [kshorts, B2KsPiMuE], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_xgamma_exclusive_hlt2.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_xgamma_exclusive_hlt2.py index 1ebdfce9d0fed8cbc4385a16e8d383f2fc94ed7d..39c998065be47451d1a4ec11993329e77ae85e5a 100755 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_xgamma_exclusive_hlt2.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_xgamma_exclusive_hlt2.py @@ -31,7 +31,7 @@ from Hlt2Conf.lines.rd.builders.rdbuilder_thor import ( from Hlt2Conf.lines.rd.builders.b_to_xgamma_exclusive_builders import ( make_b2xgamma_excl) -from Hlt2Conf.lines.rd.builders.rd_prefilters import rd_prefilter +from Hlt2Conf.lines.rd.builders.rd_prefilters import rd_prefilter, _RD_MONITORING_VARIABLES all_lines = {} @@ -70,6 +70,7 @@ def bs_to_phigamma_line(name="Hlt2RD_BsToPhiGamma_Line", algs=rd_prefilter() + [phis, b_s0], prescale=prescale, persistreco=persistreco, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -115,4 +116,5 @@ def bd_to_kstgamma_line(name="Hlt2RD_BdToKstGamma_Line", algs=rd_prefilter() + [kst, b0], prescale=prescale, persistreco=persistreco, + monitoring_variables=_RD_MONITORING_VARIABLES, ) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_xll_hlt2.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_xll_hlt2.py index 3bcfec30d071d1c1c632d1f3acb36ccc3976a121..c4b7c1d82a143588c82a83635978978c27f2a1a2 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_xll_hlt2.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/b_to_xll_hlt2.py @@ -10,7 +10,7 @@ ############################################################################### from Moore.lines import Hlt2Line from Moore.config import register_line_builder -from .builders.rd_prefilters import rd_prefilter +from .builders.rd_prefilters import rd_prefilter, _RD_MONITORING_VARIABLES from RecoConf.reconstruction_objects import make_pvs from .builders import rdbuilder_thor from .builders import b_to_xll_builders @@ -70,6 +70,7 @@ def BuToKpEE_line(name="Hlt2RD_BuToKpEE_Line", prescale=1): name=name, algs=rd_prefilter() + [dielectrons, Bu], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -97,6 +98,7 @@ def BuToPipEE_line(name="Hlt2RD_BuToPipEE_Line", prescale=1): name=name, algs=rd_prefilter() + [dielectrons, Bu], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -131,6 +133,7 @@ def B0ToKpPimEE_line(name="Hlt2RD_B0ToKpPimEE_Line", prescale=1): name=name, algs=rd_prefilter() + [dielectrons, hadron, B0], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -157,6 +160,7 @@ def B0ToKpKmEE_line(name="Hlt2RD_B0ToKpKmEE_Line", prescale=1): name=name, algs=rd_prefilter() + [dielectrons, dikaons, B0], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -187,6 +191,7 @@ def B0ToPipPimEE_line(name="Hlt2RD_B0ToPipPimEE_Line", prescale=1): name=name, algs=rd_prefilter() + [dielectrons, dipions, B0], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -226,6 +231,7 @@ def BuToKpPipPimEE_line(name="Hlt2RD_BuToKstpEE_KstpToKpPipPim_Line", name=name, algs=rd_prefilter() + [dielectrons, hadrons, Bu], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -256,6 +262,7 @@ def BuToKpKmKpEE_line(name="Hlt2RD_BuToKstpEE_KstpToKpKpKm_Line", prescale=1): name=name, algs=rd_prefilter() + [dielectrons, hadrons, Bu], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -285,6 +292,7 @@ def BuToKpEE_SameSign_line(name="Hlt2RD_BuToKpEE_SameSign_Line", prescale=1): name=name, algs=rd_prefilter() + [dielectrons, Bu], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -312,6 +320,7 @@ def BuToPipEE_SameSign_line(name="Hlt2RD_BuToPipEE_SameSign_Line", prescale=1): name=name, algs=rd_prefilter() + [dielectrons, Bu], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -347,6 +356,7 @@ def B0ToKpPimEE_SameSign_line(name="Hlt2RD_B0ToKpPimEE_SameSign_Line", name=name, algs=rd_prefilter() + [dielectrons, hadron, B0], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -374,6 +384,7 @@ def B0ToKpKmEE_SameSign_line(name="Hlt2RD_B0ToKpKmEE_SameSign_Line", name=name, algs=rd_prefilter() + [dielectrons, dikaons, B0], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -404,6 +415,7 @@ def B0ToPipPimEE_SameSign_line(name="Hlt2RD_B0ToPipPimEE_SameSign_Line", name=name, algs=rd_prefilter() + [dielectrons, dipions, B0], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -442,6 +454,7 @@ def BuToKpPipPimEE_SameSign_line( name=name, algs=rd_prefilter() + [dielectrons, hadrons, Bu], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -473,6 +486,7 @@ def BuToKpKmKpEE_SameSign_line( name=name, algs=rd_prefilter() + [dielectrons, hadrons, Bu], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -502,6 +516,7 @@ def BuToKpMuMu_line(name="Hlt2RD_BuToKpMuMu_Line", prescale=1): name=name, algs=rd_prefilter() + [dimuons, Bu], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -531,6 +546,7 @@ def BuToPipMuMu_line(name="Hlt2RD_BuToPipMuMu_Line", prescale=1): name=name, algs=rd_prefilter() + [dimuons, Bu], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -567,6 +583,7 @@ def B0ToKpPimMuMu_line(name="Hlt2RD_B0ToKpPimMuMu_Line", prescale=1): name=name, algs=rd_prefilter() + [dimuons, hadron, B0], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -594,6 +611,7 @@ def B0ToKpKmMuMu_line(name="Hlt2RD_B0ToKpKmMuMu_Line", prescale=1): name=name, algs=rd_prefilter() + [dimuons, dikaons, B0], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -624,6 +642,7 @@ def B0ToPipPimMuMu_line(name="Hlt2RD_B0ToPipPimMuMu_Line", prescale=1): name=name, algs=rd_prefilter() + [dimuons, dipions, B0], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -664,6 +683,7 @@ def BuToKpPipPimMuMu_line(name="Hlt2RD_BuToKstpMuMu_KstpToKpPipPim_Line", name=name, algs=rd_prefilter() + [dimuons, hadrons, Bu], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -696,6 +716,7 @@ def BuToKpKmKpMuMu_line(name="Hlt2RD_BuToKstpMuMu_KstpToKpKpKm_Line", name=name, algs=rd_prefilter() + [dimuons, hadrons, Bu], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -727,6 +748,7 @@ def BuToKpMuMu_SameSign_line(name="Hlt2RD_BuToKpMuMu_SameSign_Line", name=name, algs=rd_prefilter() + [dimuons, Bu], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -756,6 +778,7 @@ def BuToPipMuMu_SameSign_line(name="Hlt2RD_BuToPipMuMu_SameSign_Line", name=name, algs=rd_prefilter() + [dimuons, Bu], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -792,6 +815,7 @@ def B0ToKpPimMuMu_SameSign_line(name="Hlt2RD_B0ToKpPimMuMu_SameSign_Line", name=name, algs=rd_prefilter() + [dimuons, hadron, B0], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -820,6 +844,7 @@ def B0ToKpKmMuMu_SameSign_line(name="Hlt2RD_B0ToKpKmMuMu_SameSign_Line", name=name, algs=rd_prefilter() + [dimuons, dikaons, B0], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -851,6 +876,7 @@ def B0ToPipPimMuMu_SameSign_line(name="Hlt2RD_B0ToPipPimMuMu_SameSign_Line", name=name, algs=rd_prefilter() + [dimuons, dipions, B0], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -892,6 +918,7 @@ def BuToKpPipPimMuMu_SameSign_line( name=name, algs=rd_prefilter() + [dimuons, hadrons, Bu], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -925,4 +952,5 @@ def BuToKpKmKpMuMu_SameSign_line( name=name, algs=rd_prefilter() + [dimuons, hadrons, Bu], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/baryonic.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/baryonic.py index c35ad438f986b2e8edaf653c6ddfdd009816acbb..927e6f2eb174e65aa6d70e007af14d24014a08ae 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/baryonic.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/baryonic.py @@ -27,7 +27,7 @@ from Moore.lines import Hlt2Line from GaudiKernel.SystemOfUnits import GeV, MeV from RecoConf.reconstruction_objects import make_pvs #from Hlt2Conf.algorithms import ParticleContainersMerger -from .builders.rd_prefilters import rd_prefilter +from .builders.rd_prefilters import rd_prefilter, _VRD_MONITORING_VARIABLES from .builders.baryonic_builders import ( make_xim_to_lambda_pi_lll, make_xim_to_lambda_pi_ddl, @@ -72,7 +72,8 @@ def Hlt2RD_XibmToXimMuMu_LLL_Line(name="Hlt2RD_XibmToXimMuMu_LLL_Line", return Hlt2Line( name=name, algs=rd_prefilter() + [make_dimuon, xis, xib], - prescale=prescale) + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -107,7 +108,8 @@ def Hlt2RD_XibmToXimMuMu_DDL_Line(name="Hlt2RD_XibmToXimMuMu_DDL_Line", return Hlt2Line( name=name, algs=rd_prefilter() + [make_dimuon, xis, xib], - prescale=prescale) + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -142,7 +144,8 @@ def Hlt2RD_XibmToXimMuMu_DDD_Line(name="Hlt2RD_XibmToXimMuMu_DDD_Line", return Hlt2Line( name=name, algs=rd_prefilter() + [make_dimuon, xis, xib], - prescale=prescale) + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -175,7 +178,8 @@ def Hlt2RD_OmegabmToOmegamMuMu_LLL_Line( return Hlt2Line( name=name, algs=rd_prefilter() + [make_dimuon, omegas, omegab], - prescale=prescale) + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -210,7 +214,8 @@ def Hlt2RD_OmegabmToOmegamMuMu_DDL_Line( return Hlt2Line( name=name, algs=rd_prefilter() + [make_dimuon, omegas, omegab], - prescale=prescale) + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -245,7 +250,8 @@ def Hlt2RD_OmegabmToOmegamMuMu_DDD_Line( return Hlt2Line( name=name, algs=rd_prefilter() + [make_dimuon, omegas, omegab], - prescale=prescale) + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -272,7 +278,8 @@ def Hlt2RD_XibmToXimEE_LLL_Line(name="Hlt2RD_XibmToXimEE_LLL_Line", return Hlt2Line( name=name, algs=rd_prefilter() + [make_dielectron, xis, xib], - prescale=prescale) + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -301,7 +308,8 @@ def Hlt2RD_XibmToXimEE_DDL_Line(name="Hlt2RD_XibmToXimEE_DDL_Line", return Hlt2Line( name=name, algs=rd_prefilter() + [make_dielectron, xis, xib], - prescale=prescale) + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -330,7 +338,8 @@ def Hlt2RD_XibmToXimEE_DDD_Line(name="Hlt2RD_XibmToXimEE_DDD_Line", return Hlt2Line( name=name, algs=rd_prefilter() + [make_dielectron, xis, xib], - prescale=prescale) + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -357,7 +366,8 @@ def Hlt2RD_OmegabmToOmegamEE_LLL_Line(name="Hlt2RD_OmegabmToOmegamEE_LLL_Line", return Hlt2Line( name=name, algs=rd_prefilter() + [make_dielectron, omegas, omegab], - prescale=prescale) + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -386,7 +396,8 @@ def Hlt2RD_OmegabmToOmegamEE_DDL_Line(name="Hlt2RD_OmegabmToOmegamEE_DDL_Line", return Hlt2Line( name=name, algs=rd_prefilter() + [make_dielectron, omegas, omegab], - prescale=prescale) + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -415,4 +426,5 @@ def Hlt2RD_OmegabmToOmegamEE_DDD_Line(name="Hlt2RD_OmegabmToOmegamEE_DDD_Line", return Hlt2Line( name=name, algs=rd_prefilter() + [make_dielectron, omegas, omegab], - prescale=prescale) + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/baryonic_radiative.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/baryonic_radiative.py index b79e4ab346fcd8448a0e508b3594de72ace92ef9..7f2fa4c3d4809f70c2e33618a0e580291ae1c71f 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/baryonic_radiative.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/baryonic_radiative.py @@ -33,7 +33,7 @@ from Hlt2Conf.lines.rd.builders.baryonic_radiative_builders import ( from Hlt2Conf.lines.rd.builders.rdbuilder_thor import make_rd_photons -from Hlt2Conf.lines.rd.builders.rd_prefilters import rd_prefilter +from Hlt2Conf.lines.rd.builders.rd_prefilters import rd_prefilter, _VRD_MONITORING_VARIABLES from Moore.config import register_line_builder from Moore.lines import Hlt2Line @@ -88,7 +88,10 @@ def xibtoxigamma_xitolpi_lll_line( ) return Hlt2Line( - name=name, algs=rd_prefilter() + [xim, xibm], prescale=prescale) + name=name, + algs=rd_prefilter() + [xim, xibm], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -137,4 +140,7 @@ def obtoomgamma_omtol0k_omtol0k_lll_line( ) return Hlt2Line( - name=name, algs=rd_prefilter() + [omegam, omegabm], prescale=prescale) + name=name, + algs=rd_prefilter() + [omegam, omegabm], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/bnv_lines_hlt2.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/bnv_lines_hlt2.py index ca4bfecc6083861b20868b6558e7eda4cd68eb29..f4fcf62b846f1ea31a6cc1ef07652b2ebc98bbf9 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/bnv_lines_hlt2.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/bnv_lines_hlt2.py @@ -41,7 +41,7 @@ from Moore.lines import Hlt2Line from Hlt2Conf.lines.rd.builders.rdbuilder_thor import make_rd_detached_muons, make_rd_detached_pions, make_rd_detached_kaons, make_rd_detached_protons from Hlt2Conf.lines.rd.builders.bnv_builders import make_BToHMu, make_LzToHMu, make_LbToHMu, make_BToLcMu, make_LcToPKPi, make_LbToDsMu, make_DsToKKPi -from Hlt2Conf.lines.rd.builders.rd_prefilters import rd_prefilter +from Hlt2Conf.lines.rd.builders.rd_prefilters import rd_prefilter, _VRD_MONITORING_VARIABLES from RecoConf.reconstruction_objects import make_pvs @@ -67,7 +67,11 @@ def BToPMu_line(name="Hlt2RD_BToPpMu_Line", prescale=1 / 2.): B = make_BToHMu(pvs, proton, muon, descriptor) - return Hlt2Line(name=name, algs=rd_prefilter() + [B], prescale=prescale) + return Hlt2Line( + name=name, + algs=rd_prefilter() + [B], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -82,7 +86,11 @@ def BToPMu_SS_line(name="Hlt2RD_BToPpMu_SS_Line", prescale=1): B = make_BToHMu(pvs, proton, muon, descriptor) - return Hlt2Line(name=name, algs=rd_prefilter() + [B], prescale=prescale) + return Hlt2Line( + name=name, + algs=rd_prefilter() + [B], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) # 2) Lz -> pi mu @@ -98,7 +106,11 @@ def LambdaToPiMu_line(name="Hlt2RD_LambdaToPipMu_Line", prescale=1): Lz = make_LzToHMu(pvs, pion, muon, descriptor) - return Hlt2Line(name=name, algs=rd_prefilter() + [Lz], prescale=prescale) + return Hlt2Line( + name=name, + algs=rd_prefilter() + [Lz], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -113,7 +125,11 @@ def LambdaToPiMu_SS_line(name="Hlt2RD_LambdaToPipMu_SS_Line", prescale=1): Lz = make_LzToHMu(pvs, pion, muon, descriptor) - return Hlt2Line(name=name, algs=rd_prefilter() + [Lz], prescale=prescale) + return Hlt2Line( + name=name, + algs=rd_prefilter() + [Lz], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) # 3) Lz -> K mu @@ -129,7 +145,11 @@ def LambdaToKMu_line(name="Hlt2RD_LambdaToKpMu_Line", prescale=1): Lz = make_LzToHMu(pvs, kaon, muon, descriptor) - return Hlt2Line(name=name, algs=rd_prefilter() + [Lz], prescale=prescale) + return Hlt2Line( + name=name, + algs=rd_prefilter() + [Lz], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -144,7 +164,11 @@ def LambdaToKMu_SS_line(name="Hlt2RD_LambdaToKpMu_SS_Line", prescale=1 / 2.): Lz = make_LzToHMu(pvs, kaon, muon, descriptor) - return Hlt2Line(name=name, algs=rd_prefilter() + [Lz], prescale=prescale) + return Hlt2Line( + name=name, + algs=rd_prefilter() + [Lz], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) # 4) Lb -> pi mu @@ -160,7 +184,11 @@ def LbToPiMu_line(name="Hlt2RD_LbToPipMu_Line", prescale=1): Lb = make_LbToHMu(pvs, pion, muon, descriptor) - return Hlt2Line(name=name, algs=rd_prefilter() + [Lb], prescale=prescale) + return Hlt2Line( + name=name, + algs=rd_prefilter() + [Lb], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -175,7 +203,11 @@ def LbToPiMu_SS_line(name="Hlt2RD_LbToPipMu_SS_Line", prescale=1): Lb = make_LbToHMu(pvs, pion, muon, descriptor) - return Hlt2Line(name=name, algs=rd_prefilter() + [Lb], prescale=prescale) + return Hlt2Line( + name=name, + algs=rd_prefilter() + [Lb], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) # 5) Lb -> K mu @@ -191,7 +223,11 @@ def LbToKMu_line(name="Hlt2RD_LbToKpMu_Line", prescale=1): Lb = make_LbToHMu(pvs, kaon, muon, descriptor) - return Hlt2Line(name=name, algs=rd_prefilter() + [Lb], prescale=prescale) + return Hlt2Line( + name=name, + algs=rd_prefilter() + [Lb], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -206,7 +242,11 @@ def LbToKMu_SS_line(name="Hlt2RD_LbToKpMu_SS_Line", prescale=1): Lb = make_LbToHMu(pvs, kaon, muon, descriptor) - return Hlt2Line(name=name, algs=rd_prefilter() + [Lb], prescale=prescale) + return Hlt2Line( + name=name, + algs=rd_prefilter() + [Lb], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) # 6) B -> Lc mu @@ -224,7 +264,10 @@ def BToLcMu_line(name="Hlt2RD_BToLcMu_LcToPpKmPip_Line", prescale=1): B = make_BToLcMu(pvs, Lambda_c, muon, descriptor) return Hlt2Line( - name=name, algs=rd_prefilter() + [Lambda_c, B], prescale=prescale) + name=name, + algs=rd_prefilter() + [Lambda_c, B], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -241,7 +284,10 @@ def BToLcMu_SS_line(name="Hlt2RD_BToLcMu_SS_LcToPpKmPip_Line", prescale=1): B = make_BToLcMu(pvs, Lambda_c, muon, descriptor) return Hlt2Line( - name=name, algs=rd_prefilter() + [Lambda_c, B], prescale=prescale) + name=name, + algs=rd_prefilter() + [Lambda_c, B], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) # 7) Lb -> Ds mu @@ -258,7 +304,10 @@ def LbToDsMu_line(name="Hlt2RD_LbToDsMu_DsToKpKmPip_Line", prescale=1): Lb = make_LbToDsMu(pvs, Ds, muon, descriptor) return Hlt2Line( - name=name, algs=rd_prefilter() + [Ds, Lb], prescale=prescale) + name=name, + algs=rd_prefilter() + [Ds, Lb], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -274,4 +323,7 @@ def LbToDsMu_SS_line(name="Hlt2RD_LbToDsMu_SS_DsToKpKmPip_Line", prescale=1): Lb = make_LbToDsMu(pvs, Ds, muon, descriptor) return Hlt2Line( - name=name, algs=rd_prefilter() + [Ds, Lb], prescale=prescale) + name=name, + algs=rd_prefilter() + [Ds, Lb], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/builders/rd_prefilters.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/builders/rd_prefilters.py index f0f7b1cf51ba72a9f953be87eafa6abb6c940e2e..f7894b9f101849de38801c1fb38349491074411d 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/builders/rd_prefilters.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/builders/rd_prefilters.py @@ -56,6 +56,9 @@ def rd_prefilter_noPV(require_GEC=False): return upfront_reconstruction() + gec +_RD_MONITORING_VARIABLES = ("m", "pt", "eta", "vchi2", "ipchi2") +_VRD_MONITORING_VARIABLES = ("pt", "eta", "vchi2", "ipchi2") + ################# ## END OF FILE ## ################# diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/hlt2_beauty2xtaul.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/hlt2_beauty2xtaul.py index 751677fc7968cd755f25357eb85ca3fc48b40dd3..5219b3a3a326fd2a7b8581292502b47f25de5fba 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/hlt2_beauty2xtaul.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/hlt2_beauty2xtaul.py @@ -57,13 +57,13 @@ from PyConf import configurable from GaudiKernel.SystemOfUnits import MeV, GeV from Hlt2Conf.lines.rd.builders import beauty2xtaul_rd_builder as builder from Hlt2Conf.lines.rd.builders import rdbuilder_thor as common_builder -from Hlt2Conf.lines.rd.builders.rd_prefilters import rd_prefilter +from Hlt2Conf.lines.rd.builders.rd_prefilters import rd_prefilter, _RD_MONITORING_VARIABLES import Functors as F hlt2_lines = {} PROCESS = "hlt2" """ -Set persistreco=True to save the full event reconstruction for sprucing a given HLT2 line +Set persistreco=True to save the full event reconstruction for sprucing a given HLT2 line """ @@ -76,7 +76,7 @@ def Hlt2_Bd2KstTauTau_OS_ExclusiveLine( persistreco=False): """ HLT2 line for Bd -> (K*->K+ pi-) (tau+->pi+pi+pi-) (tau-->pi-pi-pi+) + CC - + and for Bd -> (K*->K+ pi-) (tau-->pi-pi-pi+) (tau+->pi+pi+pi-) + CC """ kst = common_builder.make_rd_detached_kstar0s( @@ -102,7 +102,8 @@ def Hlt2_Bd2KstTauTau_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, kst, b2xtaul]) + algs=rd_prefilter() + [dilepton, kst, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -113,7 +114,7 @@ def Hlt2_Bd2KstTauTau_SS_ExclusiveLine( persistreco=False): """ HLT2 line for Bd -> (K*->K+ pi-) (tau+->pi+pi+pi-) (tau+->pi-pi-pi+) + CC - + and for Bd -> (K*->K+ pi-) (tau-->pi-pi-pi+) (tau-->pi-pi-pi+) + CC """ kst = common_builder.make_rd_detached_kstar0s( @@ -139,7 +140,8 @@ def Hlt2_Bd2KstTauTau_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, kst, b2xtaul]) + algs=rd_prefilter() + [dilepton, kst, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -150,7 +152,7 @@ def Hlt2_Bd2KstTauMu_OS_ExclusiveLine( persistreco=False): """ HLT2 line for Bd -> (K*->K+ pi-) (tau+->pi+pi+pi-) mu- + CC - + and for Bd -> (K*->K+ pi-) (tau-->pi-pi-pi+) mu+ + CC """ kst = common_builder.make_rd_detached_kstar0s( @@ -175,7 +177,8 @@ def Hlt2_Bd2KstTauMu_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, kst, b2xtaul]) + algs=rd_prefilter() + [dilepton, kst, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -186,7 +189,7 @@ def Hlt2_Bd2KstTauMu_SS_ExclusiveLine( persistreco=False): """ HLT2 line for Bd -> (K*->K+ pi-) (tau+->pi+pi+pi-) mu+ + CC - + and for Bd -> (K*->K+ pi-) (tau-->pi-pi-pi+) mu- + CC """ kst = common_builder.make_rd_detached_kstar0s( @@ -211,7 +214,8 @@ def Hlt2_Bd2KstTauMu_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, kst, b2xtaul]) + algs=rd_prefilter() + [dilepton, kst, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -222,7 +226,7 @@ def Hlt2_Bd2KstTauE_OS_ExclusiveLine( persistreco=False): """ HLT2 line for Bd -> (K*->K+ pi-) (tau+->pi+pi+pi-) e- + CC - + and for Bd -> (K*->K+ pi-) (tau-->pi-pi-pi+) e+ + CC """ kst = common_builder.make_rd_detached_kstar0s( @@ -247,7 +251,8 @@ def Hlt2_Bd2KstTauE_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, kst, b2xtaul]) + algs=rd_prefilter() + [dilepton, kst, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -258,7 +263,7 @@ def Hlt2_Bd2KstTauE_SS_ExclusiveLine( persistreco=False): """ HLT2 line for Bd -> (K*->K+ pi-) (tau+->pi+pi+pi-) e+ + CC - + and for Bd -> (K*->K+ pi-) (tau-->pi-pi-pi+) e- + CC """ kst = common_builder.make_rd_detached_kstar0s( @@ -283,7 +288,8 @@ def Hlt2_Bd2KstTauE_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, kst, b2xtaul]) + algs=rd_prefilter() + [dilepton, kst, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) ## B0 -> phi tau l @@ -295,7 +301,7 @@ def Hlt2_Bd2PhiTauTau_OS_ExclusiveLine( persistreco=False): """ HLT2 line for Bd -> (phi->K+ K-) (tau+->pi+pi+pi-) (tau-->pi-pi-pi+) + CC - + and for Bd -> (phi->K+ K-) (tau-->pi-pi-pi+) (tau+->pi+pi+pi-) + CC """ phi = builder.filter_rd_detached_phis() @@ -308,7 +314,8 @@ def Hlt2_Bd2PhiTauTau_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, phi, b2xtaul]) + algs=rd_prefilter() + [dilepton, phi, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -319,7 +326,7 @@ def Hlt2_Bd2PhiTauTau_SS_ExclusiveLine( persistreco=False): """ HLT2 line for Bd -> (phi->K+ K-) (tau+->pi+pi+pi-) (tau+->pi+pi+pi-) + CC - + and for Bd -> (phi->K+ K-) (tau-->pi-pi-pi+) (tau-->pi-pi-pi+) + CC """ phi = builder.filter_rd_detached_phis() @@ -332,7 +339,8 @@ def Hlt2_Bd2PhiTauTau_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, phi, b2xtaul]) + algs=rd_prefilter() + [dilepton, phi, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -343,7 +351,7 @@ def Hlt2_Bd2PhiTauMu_OS_ExclusiveLine( persistreco=False): """ HLT2 line for Bd -> (phi->K+ K-) (tau+->pi+pi+pi-) mu- + CC - + and for Bd -> (phi->K+ K-) (tau-->pi-pi-pi+) mu+ + CC """ phi = builder.filter_rd_detached_phis() @@ -356,7 +364,8 @@ def Hlt2_Bd2PhiTauMu_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, phi, b2xtaul]) + algs=rd_prefilter() + [dilepton, phi, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -367,7 +376,7 @@ def Hlt2_Bd2PhiTauMu_SS_ExclusiveLine( persistreco=False): """ HLT2 line for Bd -> (phi->K+ K-) (tau+->pi+pi+pi-) mu+ + CC - + and for Bd -> (phi->K+ K-) (tau-->pi-pi-pi+) mu- + CC """ phi = builder.filter_rd_detached_phis() @@ -380,7 +389,8 @@ def Hlt2_Bd2PhiTauMu_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, phi, b2xtaul]) + algs=rd_prefilter() + [dilepton, phi, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -391,7 +401,7 @@ def Hlt2_Bd2PhiTauE_OS_ExclusiveLine( persistreco=False): """ HLT2 line for Bd -> (phi->K+ K-) (tau+->pi+pi+pi-) e- + CC - + and for Bd -> (phi->K+ K-) (tau-->pi-pi-pi+) e+ + CC """ phi = builder.filter_rd_detached_phis() @@ -404,7 +414,8 @@ def Hlt2_Bd2PhiTauE_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, phi, b2xtaul]) + algs=rd_prefilter() + [dilepton, phi, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -415,7 +426,7 @@ def Hlt2_Bd2PhiTauE_SS_ExclusiveLine( persistreco=False): """ HLT2 line for Bd -> (phi->K+ K-) (tau+->pi+pi+pi-) e+ + CC - + and for Bd -> (phi->K+ K-) (tau-->pi-pi-pi+) e- + CC """ phi = builder.filter_rd_detached_phis() @@ -428,7 +439,8 @@ def Hlt2_Bd2PhiTauE_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, phi, b2xtaul]) + algs=rd_prefilter() + [dilepton, phi, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) ## B0 -> rho tau l @@ -440,7 +452,7 @@ def Hlt2_Bd2RhoTauTau_OS_ExclusiveLine( persistreco=False): """ HLT2 line for Bd -> (rho->pi+ pi-) (tau+->pi+pi+pi-) (tau-->pi-pi-pi+) + CC - + and for Bd -> (rho->pi+ pi-) (tau-->pi-pi-pi+) (tau+->pi+pi+pi-) + CC """ rho = builder.make_rd_detached_rhos() @@ -453,7 +465,8 @@ def Hlt2_Bd2RhoTauTau_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, rho, b2xtaul]) + algs=rd_prefilter() + [dilepton, rho, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -464,7 +477,7 @@ def Hlt2_Bd2RhoTauTau_SS_ExclusiveLine( persistreco=False): """ HLT2 line for Bd -> (rho->pi+ pi-) (tau+->pi+pi+pi-) (tau+->pi+pi+pi-) + CC - + and for Bd -> (rho->pi+ pi-) (tau-->pi-pi-pi+) (tau-->pi-pi-pi+) + CC """ rho = builder.make_rd_detached_rhos() @@ -477,7 +490,8 @@ def Hlt2_Bd2RhoTauTau_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, rho, b2xtaul]) + algs=rd_prefilter() + [dilepton, rho, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -488,7 +502,7 @@ def Hlt2_Bd2RhoTauMu_OS_ExclusiveLine( persistreco=False): """ HLT2 line for Bd -> (rho->pi+ pi-) (tau+->pi+pi+pi-) mu- + CC - + and for Bd -> (rho->pi+ pi-) (tau-->pi-pi-pi+) mu+ + CC """ rho = builder.make_rd_detached_rhos() @@ -501,7 +515,8 @@ def Hlt2_Bd2RhoTauMu_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, rho, b2xtaul]) + algs=rd_prefilter() + [dilepton, rho, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -512,7 +527,7 @@ def Hlt2_Bd2RhoTauMu_SS_ExclusiveLine( persistreco=False): """ HLT2 line for Bd -> (rho->pi+ pi-) (tau+->pi+pi+pi-) mu+ + CC - + and for Bd -> (rho->pi+ pi-) (tau-->pi-pi-pi+) mu- + CC """ rho = builder.make_rd_detached_rhos() @@ -525,7 +540,8 @@ def Hlt2_Bd2RhoTauMu_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, rho, b2xtaul]) + algs=rd_prefilter() + [dilepton, rho, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -536,7 +552,7 @@ def Hlt2_Bd2RhoTauE_OS_ExclusiveLine( persistreco=False): """ HLT2 line for Bd -> (rho->pi+ pi-) (tau+->pi+pi+pi-) e- + CC - + and for Bd -> (rho->pi+ pi-) (tau-->pi-pi-pi+) e+ + CC """ rho = builder.make_rd_detached_rhos() @@ -549,7 +565,8 @@ def Hlt2_Bd2RhoTauE_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, rho, b2xtaul]) + algs=rd_prefilter() + [dilepton, rho, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -560,7 +577,7 @@ def Hlt2_Bd2RhoTauE_SS_ExclusiveLine( persistreco=False): """ HLT2 line for Bd -> (rho->pi+ pi-) (tau+->pi+pi+pi-) e+ + CC - + and for Bd -> (rho->pi+ pi-) (tau-->pi-pi-pi+) e- + CC """ rho = builder.make_rd_detached_rhos() @@ -573,7 +590,8 @@ def Hlt2_Bd2RhoTauE_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, rho, b2xtaul]) + algs=rd_prefilter() + [dilepton, rho, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) ## B0 -> eta' tau l @@ -585,7 +603,7 @@ def Hlt2_Bd2EtapTauTau_OS_ExclusiveLine( persistreco=False): """ HLT2 line for Bd -> (eta'->pi+ pi- gamma) (tau+->pi+pi+pi-) (tau-->pi-pi-pi+) + CC - + and for Bd -> (eta'->pi+ pi- gamma) (tau-->pi-pi-pi+) (tau+->pi+pi+pi-)+ CC """ etap = builder.make_rd_detached_etaps() @@ -598,7 +616,8 @@ def Hlt2_Bd2EtapTauTau_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, etap, b2xtaul]) + algs=rd_prefilter() + [dilepton, etap, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -609,7 +628,7 @@ def Hlt2_Bd2EtapTauTau_SS_ExclusiveLine( persistreco=False): """ HLT2 line for Bd -> (eta'->pi+ pi- gamma) (tau+->pi+pi+pi-) (tau+->pi+pi+pi-) + CC - + and for Bd -> (eta'->pi+ pi- gamma) (tau-->pi-pi-pi+) (tau-->pi-pi-pi+) + CC """ etap = builder.make_rd_detached_etaps() @@ -622,7 +641,8 @@ def Hlt2_Bd2EtapTauTau_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, etap, b2xtaul]) + algs=rd_prefilter() + [dilepton, etap, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -633,7 +653,7 @@ def Hlt2_Bd2EtapTauMu_OS_ExclusiveLine( persistreco=False): """ HLT2 line for Bd -> (eta'->pi+ pi- gamma) (tau+->pi+pi+pi-) mu- + CC - + and for Bd -> (eta'->pi+ pi- gamma) (tau-->pi-pi-pi+) mu+ + CC """ etap = builder.make_rd_detached_etaps() @@ -646,7 +666,8 @@ def Hlt2_Bd2EtapTauMu_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, etap, b2xtaul]) + algs=rd_prefilter() + [dilepton, etap, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -657,7 +678,7 @@ def Hlt2_Bd2EtapTauMu_SS_ExclusiveLine( persistreco=False): """ HLT2 line for Bd -> (eta'->pi+ pi- gamma) (tau+->pi+pi+pi-) mu+ + CC - + and for Bd -> (eta'->pi+ pi- gamma) (tau-->pi-pi-pi+) mu- + CC """ etap = builder.make_rd_detached_etaps() @@ -670,7 +691,8 @@ def Hlt2_Bd2EtapTauMu_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, etap, b2xtaul]) + algs=rd_prefilter() + [dilepton, etap, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -681,7 +703,7 @@ def Hlt2_Bd2EtapTauE_OS_ExclusiveLine( persistreco=False): """ HLT2 line for Bd -> (eta'->pi+ pi- gamma) (tau+->pi+pi+pi-) e- + CC - + and for Bd -> (eta'->pi+ pi- gamma) (tau-->pi-pi-pi+) e+ + CC """ etap = builder.make_rd_detached_etaps() @@ -694,7 +716,8 @@ def Hlt2_Bd2EtapTauE_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, etap, b2xtaul]) + algs=rd_prefilter() + [dilepton, etap, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -705,7 +728,7 @@ def Hlt2_Bd2EtapTauE_SS_ExclusiveLine( persistreco=False): """ HLT2 line for Bd -> (eta'->pi+ pi- gamma) (tau+->pi+pi+pi-) e+ + CC - + and for Bd -> (eta'->pi+ pi- gamma) (tau-->pi-pi-pi+) e- + CC """ etap = builder.make_rd_detached_etaps() @@ -718,7 +741,8 @@ def Hlt2_Bd2EtapTauE_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, etap, b2xtaul]) + algs=rd_prefilter() + [dilepton, etap, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) ## Bu -> K+ tau l @@ -730,7 +754,7 @@ def Hlt2_Bu2KplusTauTau_OS_ExclusiveLine( persistreco=False): """ HLT2 line for B+ -> K+ (tau+->pi+pi+pi-) (tau-->pi-pi-pi+) + CC - + and for B+ -> K+ (tau-->pi-pi-pi+) (tau+->pi+pi+pi-) + CC """ kaon = common_builder.make_rd_has_rich_detached_kaons( @@ -744,7 +768,8 @@ def Hlt2_Bu2KplusTauTau_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, kaon, b2xtaul]) + algs=rd_prefilter() + [dilepton, kaon, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -755,7 +780,7 @@ def Hlt2_Bu2KplusTauTau_SS_ExclusiveLine( persistreco=False): """ HLT2 line for B+ -> K+ (tau+->pi+pi+pi-) (tau+->pi+pi+pi-) + CC - + and for B+ -> K+ (tau-->pi-pi-pi+) (tau-->pi-pi-pi+) + CC """ kaon = common_builder.make_rd_has_rich_detached_kaons( @@ -769,7 +794,8 @@ def Hlt2_Bu2KplusTauTau_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, kaon, b2xtaul]) + algs=rd_prefilter() + [dilepton, kaon, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -779,7 +805,7 @@ def Hlt2_Bu2KplusTauMu_OS_ExclusiveLine( persistreco=False): """ HLT2 line for B+ -> K+ (tau+->pi+pi+pi-) mu- + CC - + and for B+ -> K+ (tau-->pi-pi-pi+) mu+ + CC """ kaon = common_builder.make_rd_has_rich_detached_kaons( @@ -793,7 +819,8 @@ def Hlt2_Bu2KplusTauMu_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, kaon, b2xtaul]) + algs=rd_prefilter() + [dilepton, kaon, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -803,7 +830,7 @@ def Hlt2_Bu2KplusTauMu_SS_ExclusiveLine( persistreco=False): """ HLT2 line for B+ -> K+ (tau+->pi+pi+pi-) mu+ + CC - + and for B+ -> K+ (tau-->pi-pi-pi+) mu- + CC """ kaon = common_builder.make_rd_has_rich_detached_kaons( @@ -817,7 +844,8 @@ def Hlt2_Bu2KplusTauMu_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, kaon, b2xtaul]) + algs=rd_prefilter() + [dilepton, kaon, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -827,7 +855,7 @@ def Hlt2_Bu2KplusTauE_OS_ExclusiveLine( persistreco=False): """ HLT2 line for B+ -> K+ (tau+->pi+pi+pi-) e- + CC - + and for B+ -> K+ (tau-->pi-pi-pi+) e+ + CC """ kaon = common_builder.make_rd_has_rich_detached_kaons( @@ -841,7 +869,8 @@ def Hlt2_Bu2KplusTauE_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, kaon, b2xtaul]) + algs=rd_prefilter() + [dilepton, kaon, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -851,7 +880,7 @@ def Hlt2_Bu2KplusTauE_SS_ExclusiveLine( persistreco=False): """ HLT2 line for B+ -> K+ (tau+->pi+pi+pi-) e+ + CC - + and for B+ -> K+ (tau-->pi-pi-pi+) e- + CC """ kaon = common_builder.make_rd_has_rich_detached_kaons( @@ -865,7 +894,8 @@ def Hlt2_Bu2KplusTauE_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, kaon, b2xtaul]) + algs=rd_prefilter() + [dilepton, kaon, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) ## Bu -> K1(1270)+ tau l @@ -877,7 +907,7 @@ def Hlt2_Bu2K1plusTauTau_OS_ExclusiveLine( persistreco=False): """ HLT2 line for B+ -> (K1+->pi+pi+pi-) (tau+->pi+pi+pi-) (tau-->pi-pi-pi+) + CC - + and for B+ -> (K1+->pi+pi+pi-) (tau-->pi-pi-pi+) (tau+->pi+pi+pi-) + CC """ k1 = builder.make_rd_detached_k1s() @@ -890,7 +920,8 @@ def Hlt2_Bu2K1plusTauTau_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, k1, b2xtaul]) + algs=rd_prefilter() + [dilepton, k1, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -901,7 +932,7 @@ def Hlt2_Bu2K1plusTauTau_SS_ExclusiveLine( persistreco=False): """ HLT2 line for B+ -> (K1+->pi+pi+pi-) (tau+->pi+pi+pi-) (tau+->pi+pi+pi-) + CC - + and for B+ -> (K1+->pi+pi+pi-) (tau-->pi-pi-pi+) (tau-->pi-pi-pi+) + CC """ k1 = builder.make_rd_detached_k1s() @@ -914,7 +945,8 @@ def Hlt2_Bu2K1plusTauTau_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, k1, b2xtaul]) + algs=rd_prefilter() + [dilepton, k1, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -925,7 +957,7 @@ def Hlt2_Bu2K1plusTauMu_OS_ExclusiveLine( persistreco=False): """ HLT2 line for B+ -> (K1+->pi+pi+pi-) (tau+->pi+pi+pi-) mu- + CC - + and for B+ -> (K1+->pi+pi+pi-) (tau-->pi-pi-pi+) mu+ + CC """ k1 = builder.make_rd_detached_k1s() @@ -938,7 +970,8 @@ def Hlt2_Bu2K1plusTauMu_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, k1, b2xtaul]) + algs=rd_prefilter() + [dilepton, k1, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -949,7 +982,7 @@ def Hlt2_Bu2K1plusTauMu_SS_ExclusiveLine( persistreco=False): """ HLT2 line for B+ -> (K1+->pi+pi+pi-) (tau+->pi+pi+pi-) mu+ + CC - + and for B+ -> (K1+->pi+pi+pi-) (tau-->pi-pi-pi+) mu- + CC """ k1 = builder.make_rd_detached_k1s() @@ -962,7 +995,8 @@ def Hlt2_Bu2K1plusTauMu_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, k1, b2xtaul]) + algs=rd_prefilter() + [dilepton, k1, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -973,7 +1007,7 @@ def Hlt2_Bu2K1plusTauE_OS_ExclusiveLine( persistreco=False): """ HLT2 line for B+ -> (K1+->pi+pi+pi-) (tau+->pi+pi+pi-) e- + CC - + and for B+ -> (K1+->pi+pi+pi-) (tau-->pi-pi-pi+) e+ + CC """ k1 = builder.make_rd_detached_k1s() @@ -986,7 +1020,8 @@ def Hlt2_Bu2K1plusTauE_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, k1, b2xtaul]) + algs=rd_prefilter() + [dilepton, k1, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -997,7 +1032,7 @@ def Hlt2_Bu2K1plusTauE_SS_ExclusiveLine( persistreco=False): """ HLT2 line for B+ -> (K1+->pi+pi+pi-) (tau+->pi+pi+pi-) e+ + CC - + and for B+ -> (K1+->pi+pi+pi-) (tau-->pi-pi-pi+) e- + CC """ k1 = builder.make_rd_detached_k1s() @@ -1010,7 +1045,8 @@ def Hlt2_Bu2K1plusTauE_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, k1, b2xtaul]) + algs=rd_prefilter() + [dilepton, k1, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) ## Bs -> phi tau l @@ -1022,7 +1058,7 @@ def Hlt2_Bs2PhiTauTau_OS_ExclusiveLine( persistreco=False): """ HLT2 line for Bs -> (phi->K+ K-) (tau+->pi+pi+pi-) (tau-->pi-pi-pi+) + CC - + and for Bs -> (phi->K+ K-) (tau-->pi-pi-pi+) (tau+->pi+pi+pi-) + CC """ phi = builder.filter_rd_detached_phis() @@ -1035,7 +1071,8 @@ def Hlt2_Bs2PhiTauTau_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, phi, b2xtaul]) + algs=rd_prefilter() + [dilepton, phi, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -1046,7 +1083,7 @@ def Hlt2_Bs2PhiTauTau_SS_ExclusiveLine( persistreco=False): """ HLT2 line for Bs -> (phi->K+ K-) (tau+->pi+pi+pi-) (tau+->pi+pi+pi-) + CC - + and for Bs -> (phi->K+ K-) (tau-->pi-pi-pi+) (tau-->pi-pi-pi+) + CC """ phi = builder.filter_rd_detached_phis() @@ -1059,7 +1096,8 @@ def Hlt2_Bs2PhiTauTau_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, phi, b2xtaul]) + algs=rd_prefilter() + [dilepton, phi, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -1070,7 +1108,7 @@ def Hlt2_Bs2PhiTauMu_OS_ExclusiveLine( persistreco=False): """ HLT2 line for Bs -> (phi->K+ K-) (tau+->pi+pi+pi-) mu- + CC - + and for Bs -> (phi->K+ K-) (tau-->pi-pi-pi+) mu+ + CC """ phi = builder.filter_rd_detached_phis() @@ -1083,7 +1121,8 @@ def Hlt2_Bs2PhiTauMu_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, phi, b2xtaul]) + algs=rd_prefilter() + [dilepton, phi, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -1094,7 +1133,7 @@ def Hlt2_Bs2PhiTauMu_SS_ExclusiveLine( persistreco=False): """ HLT2 line for Bs -> (phi->K+ K-) (tau+->pi+pi+pi-) mu+ + CC - + and for Bs -> (phi->K+ K-) (tau-->pi-pi-pi+) mu- + CC """ phi = builder.filter_rd_detached_phis() @@ -1107,7 +1146,8 @@ def Hlt2_Bs2PhiTauMu_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, phi, b2xtaul]) + algs=rd_prefilter() + [dilepton, phi, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -1118,7 +1158,7 @@ def Hlt2_Bs2PhiTauE_OS_ExclusiveLine( persistreco=False): """ HLT2 line for Bs -> (phi->K+ K-) (tau+->pi+pi+pi-) e- + CC - + and for Bs -> (phi->K+ K-) (tau-->pi-pi-pi+) e+ + CC """ phi = builder.filter_rd_detached_phis() @@ -1131,7 +1171,8 @@ def Hlt2_Bs2PhiTauE_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, phi, b2xtaul]) + algs=rd_prefilter() + [dilepton, phi, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -1142,7 +1183,7 @@ def Hlt2_Bs2PhiTauE_SS_ExclusiveLine( persistreco=False): """ HLT2 line for Bs -> (phi->K+ K-) (tau+->pi+pi+pi-) e+ + CC - + and for Bs -> (phi->K+ K-) (tau-->pi-pi-pi+) e- + CC """ phi = builder.filter_rd_detached_phis() @@ -1155,7 +1196,8 @@ def Hlt2_Bs2PhiTauE_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, phi, b2xtaul]) + algs=rd_prefilter() + [dilepton, phi, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) ## Bs -> eta' tau l @@ -1167,7 +1209,7 @@ def Hlt2_Bs2EtapTauTau_OS_ExclusiveLine( persistreco=False): """ HLT2 line for Bs -> (eta'->pi+ pi- gamma) (tau+->pi+pi+pi-) (tau-->pi-pi-pi+) + CC - + and for Bs -> (eta'->pi+ pi- gamma) (tau-->pi-pi-pi+) (tau+->pi+pi+pi-) + CC """ etap = builder.make_rd_detached_etaps() @@ -1180,7 +1222,8 @@ def Hlt2_Bs2EtapTauTau_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, etap, b2xtaul]) + algs=rd_prefilter() + [dilepton, etap, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -1191,7 +1234,7 @@ def Hlt2_Bs2EtapTauTau_SS_ExclusiveLine( persistreco=False): """ HLT2 line for Bs -> (eta'->pi+ pi- gamma) (tau+->pi+pi+pi-) (tau+->pi+pi+pi-) + CC - + and for Bs -> (eta'->pi+ pi- gamma) (tau-->pi-pi-pi+) (tau-->pi-pi-pi+) + CC """ etap = builder.make_rd_detached_etaps() @@ -1204,7 +1247,8 @@ def Hlt2_Bs2EtapTauTau_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, etap, b2xtaul]) + algs=rd_prefilter() + [dilepton, etap, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -1215,7 +1259,7 @@ def Hlt2_Bs2EtapTauMu_OS_ExclusiveLine( persistreco=False): """ HLT2 line for Bs -> (eta'->pi+ pi- gamma) (tau+->pi+pi+pi-) mu- + CC - + and for Bs -> (eta'->pi+ pi- gamma) (tau-->pi-pi-pi+) mu+ + CC """ etap = builder.make_rd_detached_etaps() @@ -1228,7 +1272,8 @@ def Hlt2_Bs2EtapTauMu_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, etap, b2xtaul]) + algs=rd_prefilter() + [dilepton, etap, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -1239,7 +1284,7 @@ def Hlt2_Bs2EtapTauMu_SS_ExclusiveLine( persistreco=False): """ HLT2 line for Bs -> (eta'->pi+ pi- gamma) (tau+->pi+pi+pi-) mu+ + CC - + and for Bs -> (eta'->pi+ pi- gamma) (tau-->pi-pi-pi+) mu- + CC """ etap = builder.make_rd_detached_etaps() @@ -1252,7 +1297,8 @@ def Hlt2_Bs2EtapTauMu_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, etap, b2xtaul]) + algs=rd_prefilter() + [dilepton, etap, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -1263,7 +1309,7 @@ def Hlt2_Bs2EtapTauE_OS_ExclusiveLine( persistreco=False): """ HLT2 line for Bs -> (eta'->pi+ pi- gamma) (tau+->pi+pi+pi-) e- + CC - + and for Bs -> (eta'->pi+ pi- gamma) (tau-->pi-pi-pi+) e+ + CC """ etap = builder.make_rd_detached_etaps() @@ -1276,7 +1322,8 @@ def Hlt2_Bs2EtapTauE_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, etap, b2xtaul]) + algs=rd_prefilter() + [dilepton, etap, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -1287,7 +1334,7 @@ def Hlt2_Bs2EtapTauE_SS_ExclusiveLine( persistreco=False): """ HLT2 line for Bs -> (eta'->pi+ pi- gamma) (tau+->pi+pi+pi-) e+ + CC - + and for Bs -> (eta'->pi+ pi- gamma) (tau-->pi-pi-pi+) e- + CC """ etap = builder.make_rd_detached_etaps() @@ -1300,7 +1347,8 @@ def Hlt2_Bs2EtapTauE_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, etap, b2xtaul]) + algs=rd_prefilter() + [dilepton, etap, b2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) ## Lb -> K p tau l @@ -1311,7 +1359,7 @@ def Hlt2_Lambdab2KpTauTau_OS_ExclusiveLine( persistreco=False): """ HLT2 line for Lb -> p K- (tau+->pi+pi+pi-) (tau-->pi-pi-pi+) + CC - + and for Lb -> p K- (tau-->pi-pi-pi+) (tau+->pi+pi+pi-) + CC """ lst = builder.make_dihadron_from_pK() @@ -1324,7 +1372,8 @@ def Hlt2_Lambdab2KpTauTau_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, lst, lb2xtaul]) + algs=rd_prefilter() + [dilepton, lst, lb2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -1334,7 +1383,7 @@ def Hlt2_Lambdab2KpTauTau_SS_ExclusiveLine( persistreco=False): """ HLT2 line for Lb -> p K- (tau+->pi+pi+pi-) (tau+->pi+pi+pi-) + CC - + and for Lb -> p K- (tau-->pi-pi-pi+) (tau-->pi-pi-pi+) + CC """ lst = builder.make_dihadron_from_pK() @@ -1347,7 +1396,8 @@ def Hlt2_Lambdab2KpTauTau_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, lst, lb2xtaul]) + algs=rd_prefilter() + [dilepton, lst, lb2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -1357,7 +1407,7 @@ def Hlt2_Lambdab2KpTauMu_OS_ExclusiveLine( persistreco=False): """ HLT2 line for Lb -> p K- (tau+->pi+pi+pi-) mu- + CC - + and for Lb -> p K- (tau-->pi-pi-pi+) mu+ + CC """ lst = builder.make_dihadron_from_pK() @@ -1370,7 +1420,8 @@ def Hlt2_Lambdab2KpTauMu_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, lst, lb2xtaul]) + algs=rd_prefilter() + [dilepton, lst, lb2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -1380,7 +1431,7 @@ def Hlt2_Lambdab2KpTauMu_SS_ExclusiveLine( persistreco=False): """ HLT2 line for Lb -> p K- (tau+->pi+pi+pi-) mu+ + CC - + and for Lb -> p K- (tau-->pi-pi-pi+) mu- + CC """ lst = builder.make_dihadron_from_pK() @@ -1393,7 +1444,8 @@ def Hlt2_Lambdab2KpTauMu_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, lst, lb2xtaul]) + algs=rd_prefilter() + [dilepton, lst, lb2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -1403,7 +1455,7 @@ def Hlt2_Lambdab2KpTauE_OS_ExclusiveLine( persistreco=False): """ HLT2 line for Lb -> p K- (tau+->pi+pi+pi-) e- + CC - + and for Lb -> p K- (tau-->pi-pi-pi+) e+ + CC """ lst = builder.make_dihadron_from_pK() @@ -1416,7 +1468,8 @@ def Hlt2_Lambdab2KpTauE_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, lst, lb2xtaul]) + algs=rd_prefilter() + [dilepton, lst, lb2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -1426,7 +1479,7 @@ def Hlt2_Lambdab2KpTauE_SS_ExclusiveLine( persistreco=False): """ HLT2 line for Lb -> p K- (tau+->pi+pi+pi-) e+ + CC - + and for Lb -> p K- (tau-->pi-pi-pi+) e- + CC """ lst = builder.make_dihadron_from_pK() @@ -1439,7 +1492,8 @@ def Hlt2_Lambdab2KpTauE_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, lst, lb2xtaul]) + algs=rd_prefilter() + [dilepton, lst, lb2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) ## Lambda_b -> Lambda tau l @@ -1451,7 +1505,7 @@ def Hlt2_Lambdab2LambdaTauTau_OS_ExclusiveLine( persistreco=False): """ HLT2 line for Lb -> (L0->p pi-) (tau+->pi+pi+pi-) (tau-->pi-pi-pi+) + CC - + and for Lb -> (L0->p pi-) (tau-->pi-pi-pi+) (tau+->pi+pi+pi-) + CC """ lambda0 = common_builder.make_rd_lambda_lls( @@ -1465,7 +1519,8 @@ def Hlt2_Lambdab2LambdaTauTau_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, lambda0, lb2xtaul]) + algs=rd_prefilter() + [dilepton, lambda0, lb2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -1476,7 +1531,7 @@ def Hlt2_Lambdab2LambdaTauTau_SS_ExclusiveLine( persistreco=False): """ HLT2 line for Lb -> (L0->p pi-) (tau+->pi+pi+pi-) (tau+->pi+pi+pi-) + CC - + and for Lb -> (L0->p pi-) (tau-->pi-pi-pi+) (tau-->pi-pi-pi+) + CC """ lambda0 = common_builder.make_rd_lambda_lls( @@ -1490,7 +1545,8 @@ def Hlt2_Lambdab2LambdaTauTau_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, lambda0, lb2xtaul]) + algs=rd_prefilter() + [dilepton, lambda0, lb2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -1501,7 +1557,7 @@ def Hlt2_Lambdab2LambdaTauMu_OS_ExclusiveLine( persistreco=False): """ HLT2 line for Lb -> (L0->p pi-) (tau+->pi+pi+pi-) mu- + CC - + and for Lb -> (L0->p pi-) (tau-->pi-pi-pi+) mu+ + CC """ lambda0 = common_builder.make_rd_lambda_lls( @@ -1515,7 +1571,8 @@ def Hlt2_Lambdab2LambdaTauMu_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, lambda0, lb2xtaul]) + algs=rd_prefilter() + [dilepton, lambda0, lb2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -1526,7 +1583,7 @@ def Hlt2_Lambdab2LambdaTauMu_SS_ExclusiveLine( persistreco=False): """ HLT2 line for Lb -> (L0->p pi-) (tau+->pi+pi+pi-) mu+ + CC - + and for Lb -> (L0->p pi-) (tau-->pi-pi-pi+) mu- + CC """ lambda0 = common_builder.make_rd_lambda_lls( @@ -1540,7 +1597,8 @@ def Hlt2_Lambdab2LambdaTauMu_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, lambda0, lb2xtaul]) + algs=rd_prefilter() + [dilepton, lambda0, lb2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -1551,7 +1609,7 @@ def Hlt2_Lambdab2LambdaTauE_OS_ExclusiveLine( persistreco=False): """ HLT2 line for Lb -> (L0->p pi-) (tau+->pi+pi+pi-) e- + CC - + and for Lb -> (L0->p pi-) (tau-->pi-pi-pi+) e+ + CC """ lambda0 = common_builder.make_rd_lambda_lls( @@ -1565,7 +1623,8 @@ def Hlt2_Lambdab2LambdaTauE_OS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, lambda0, lb2xtaul]) + algs=rd_prefilter() + [dilepton, lambda0, lb2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(hlt2_lines) @@ -1576,7 +1635,7 @@ def Hlt2_Lambdab2LambdaTauE_SS_ExclusiveLine( persistreco=False): """ HLT2 line for Lb -> (L0->p pi-) (tau+->pi+pi+pi-) e+ + CC - + and for Lb -> (L0->p pi-) (tau-->pi-pi-pi+) e- + CC """ lambda0 = common_builder.make_rd_lambda_lls( @@ -1590,4 +1649,5 @@ def Hlt2_Lambdab2LambdaTauE_SS_ExclusiveLine( name=name, prescale=prescale, persistreco=persistreco, - algs=rd_prefilter() + [dilepton, lambda0, lb2xtaul]) + algs=rd_prefilter() + [dilepton, lambda0, lb2xtaul], + monitoring_variables=_RD_MONITORING_VARIABLES) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/hlt2_btosmutau_exclusive.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/hlt2_btosmutau_exclusive.py index 5e8b8d13a68da543c6397753dfc1ce531255c0a7..a140671872f701dd9c7a92cf9cd1f6c818599534 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/hlt2_btosmutau_exclusive.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/hlt2_btosmutau_exclusive.py @@ -61,7 +61,7 @@ from Hlt2Conf.algorithms_thor import require_all from Hlt2Conf.lines.rd.builders import rdbuilder_thor from Hlt2Conf.lines.rd.builders import btosmutau_exclusive -from Hlt2Conf.lines.rd.builders.rd_prefilters import rd_prefilter +from Hlt2Conf.lines.rd.builders.rd_prefilters import rd_prefilter, _RD_MONITORING_VARIABLES all_lines = {} @@ -185,7 +185,11 @@ def bstophimutau_tautomu_line(name='Hlt2RD_BsToKKTauMu_TauToMu_Line', phimus = btosmutau_exclusive.make_phimu(kaons, kaons, muons, pvs) bs = btosmutau_exclusive.make_bs(phimus, muons_from_tau, pvs) algs = rd_prefilter() + [phimus, bs] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -209,7 +213,11 @@ def bstophimutau_tautomu_same_sign_kaons_sskmu_line( pvs, name="rd_make_bs_to_kktaumu_same_sign_kaons") algs = rd_prefilter() + [phimus, bs] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -233,7 +241,11 @@ def bstophimutau_tautomu_same_sign_kaons_oskmu_line( pvs, name="rd_make_bs_to_kktaumu_same_sign_kaons") algs = rd_prefilter() + [phimus, bs] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -253,7 +265,11 @@ def bstophimutau_tautomu_same_sign_muons_line( decay_descriptor="[B_s0 -> B0 mu+]cc", name="rd_make_bs_to_kktaumu_same_sign_muons") algs = rd_prefilter() + [phimus, bs] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -271,7 +287,11 @@ def bstophimutau_tautomu_fakemuon_from_tau_line( pvs, name="rd_make_bs_to_kktaumu_fake_muon_from_tau") algs = rd_prefilter() + [phimus, bs] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -295,7 +315,11 @@ def bstophimutau_tautomu_fakemuon_from_b_line( pvs, name="rd_make_bs_to_kktaumu_fake_muon_from_b") algs = rd_prefilter() + [phimus_fake_muon, bs] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -317,7 +341,11 @@ def bstophimutau_tautomu_fakekaon_line( bs = btosmutau_exclusive.make_bs( phimus, muons_from_tau, pvs, name="rd_make_bs_to_kktaumu_fake_kaons") algs = rd_prefilter() + [phimus, bs] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -334,7 +362,11 @@ def lbtopkmutau_tautomu_sspmu_line( lb = btosmutau_exclusive.make_lb( pkmus, muons_from_tau, pvs, decay_descriptor="[Lambda_b0 -> B0 mu-]cc") algs = rd_prefilter() + [pkmus, lb] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -351,7 +383,11 @@ def lbtopkmutau_tautomu_ospmu_line( lb = btosmutau_exclusive.make_lb( pkmus, muons_from_tau, pvs, decay_descriptor="[Lambda_b0 -> B0 mu+]cc") algs = rd_prefilter() + [pkmus, lb] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -377,7 +413,11 @@ def lbtopkmutau_tautomu_same_sign_pk_sspmu_line( decay_descriptor="[Lambda_b0 -> B0 mu-]cc", name="rd_make_lb_to_pkmutau_same_sign_pk") algs = rd_prefilter() + [pkmus, lb] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -403,7 +443,11 @@ def lbtopkmutau_tautomu_same_sign_pk_ospmu_line( decay_descriptor="[Lambda_b0 -> B0 mu+]cc", name="rd_make_lb_to_pkmutau_same_sign_pk") algs = rd_prefilter() + [pkmus, lb] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -424,7 +468,11 @@ def lbtopkmutau_tautomu_same_sign_muons_sspmu_line( decay_descriptor="[Lambda_b0 -> B0 mu+]cc", name="rd_make_lb_to_pkmutau_same_sign_muons") algs = rd_prefilter() + [pkmus, lb] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -445,7 +493,11 @@ def lbtopkmutau_tautomu_same_sign_muons_ospmu_line( decay_descriptor="[Lambda_b0 -> B0 mu-]cc", name="rd_make_lb_to_pkmutau_same_sign_muons") algs = rd_prefilter() + [pkmus, lb] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -467,7 +519,11 @@ def lbtopkmutau_tautomu_fakemuon_from_tau_sspmu_line( decay_descriptor="[Lambda_b0 -> B0 mu-]cc", name="rd_make_lb_to_pkmutau_fake_muon_from_tau") algs = rd_prefilter() + [pkmus, lb] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -489,7 +545,11 @@ def lbtopkmutau_tautomu_fakemuon_from_tau_ospmu_line( decay_descriptor="[Lambda_b0 -> B0 mu+]cc", name="rd_make_lb_to_pkmutau_fake_muon_from_tau") algs = rd_prefilter() + [pkmus, lb] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -517,7 +577,11 @@ def lbtopkmutau_tautomu_fakemuon_from_b_sspmu_line( decay_descriptor="[Lambda_b0 -> B0 mu-]cc", name="rd_make_lb_to_pkmutau_fake_muon_from_b") algs = rd_prefilter() + [pkmus_fake_muon, lb] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -545,7 +609,11 @@ def lbtopkmutau_tautomu_fakemuon_from_b_ospmu_line( decay_descriptor="[Lambda_b0 -> B0 mu+]cc", name="rd_make_lb_to_pkmutau_fake_muon_from_b") algs = rd_prefilter() + [pkmus_fake_muon, lb] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -572,7 +640,11 @@ def lbtopkmutau_tautomu_fakeproton_sspmu_line( decay_descriptor="[Lambda_b0 -> B0 mu-]cc", name="rd_make_lb_to_pkmutau_fake_protons") algs = rd_prefilter() + [pkmus, lb] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -599,7 +671,11 @@ def lbtopkmutau_tautomu_fakeproton_ospmu_line( decay_descriptor="[Lambda_b0 -> B0 mu+]cc", name="rd_make_lb_to_pkmutau_fake_protons") algs = rd_prefilter() + [pkmus, lb] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -625,7 +701,11 @@ def lbtopkmutau_tautomu_fakekaon_sspmu_line( decay_descriptor="[Lambda_b0 -> B0 mu-]cc", name="rd_make_lb_to_pkmutau_fake_kaons") algs = rd_prefilter() + [pkmus, lb] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -651,7 +731,11 @@ def lbtopkmutau_tautomu_fakekaon_ospmu_line( decay_descriptor="[Lambda_b0 -> B0 mu+]cc", name="rd_make_lb_to_pkmutau_fake_kaons") algs = rd_prefilter() + [pkmus, lb] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -668,7 +752,11 @@ def bdtokstmutau_tautomu_sskmu_line( bd = btosmutau_exclusive.make_bd( kstmus, muons_from_tau, pvs, decay_descriptor="[B_s0 -> B0 mu-]cc") algs = rd_prefilter() + [kstmus, bd] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -685,7 +773,11 @@ def bdtokstmutau_tautomu_oskmu_line( bd = btosmutau_exclusive.make_bd( kstmus, muons_from_tau, pvs, decay_descriptor="[B_s0 -> B0 mu+]cc") algs = rd_prefilter() + [kstmus, bd] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -711,7 +803,11 @@ def bdtokstmutau_tautomu_same_sign_kpi_sskmu_line( decay_descriptor="[B_s0 -> B0 mu-]cc", name="rd_make_bd_to_kpimutau_same_sign_kpi") algs = rd_prefilter() + [kstmus, bd] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -737,7 +833,11 @@ def bdtokstmutau_tautomu_same_sign_kpi_oskmu_line( decay_descriptor="[B_s0 -> B0 mu+]cc", name="rd_make_bd_to_kpimutau_same_sign_kpi") algs = rd_prefilter() + [kstmus, bd] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -758,7 +858,11 @@ def bdtokstmutau_tautomu_same_sign_muons_sskmu_line( decay_descriptor="[B_s0 -> B0 mu+]cc", name="rd_make_bd_to_kpimutau_same_sign_muons") algs = rd_prefilter() + [kstmus, bd] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -779,7 +883,11 @@ def bdtokstmutau_tautomu_same_sign_muons_oskmu_line( decay_descriptor="[B_s0 -> B0 mu-]cc", name="rd_make_bd_to_kpimutau_same_sign_muons") algs = rd_prefilter() + [kstmus, bd] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -801,7 +909,11 @@ def bdtokstmutau_tautomu_fakemuon_from_tau_sskmu_line( decay_descriptor="[B_s0 -> B0 mu-]cc", name="rd_make_bd_to_kpimutau_fake_muon_from_tau") algs = rd_prefilter() + [kstmus, bd] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -823,7 +935,11 @@ def bdtokstmutau_tautomu_fakemuon_from_tau_oskmu_line( decay_descriptor="[B_s0 -> B0 mu+]cc", name="rd_make_bd_to_kpimutau_fake_muon_from_tau") algs = rd_prefilter() + [kstmus, bd] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -851,7 +967,11 @@ def bdtokstmutau_tautomu_fakemuon_from_b_sskmu_line( decay_descriptor="[B_s0 -> B0 mu-]cc", name="rd_make_bd_to_kpimutau_fake_muon_from_b") algs = rd_prefilter() + [kstmus_fake_muon, bd] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -879,7 +999,11 @@ def bdtokstmutau_tautomu_fakemuon_from_b_oskmu_line( decay_descriptor="[B_s0 -> B0 mu+]cc", name="rd_make_bd_to_kpimutau_fake_muon_from_b") algs = rd_prefilter() + [kstmus_fake_muon, bd] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -906,7 +1030,11 @@ def bdtokstmutau_tautomu_fakekaon_sskmu_line( decay_descriptor="[B_s0 -> B0 mu-]cc", name="rd_make_bd_to_kpimutau_fake_kaons") algs = rd_prefilter() + [kstmus, bd] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -933,7 +1061,11 @@ def bdtokstmutau_tautomu_fakekaon_oskmu_line( decay_descriptor="[B_s0 -> B0 mu+]cc", name="rd_make_bd_to_kpimutau_fake_kaons") algs = rd_prefilter() + [kstmus, bd] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -959,7 +1091,11 @@ def bdtokstmutau_tautomu_fakepion_sskmu_line( decay_descriptor="[B_s0 -> B0 mu-]cc", name="rd_make_bd_to_kpimutau_fake_pions") algs = rd_prefilter() + [kstmus, bd] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -985,7 +1121,11 @@ def bdtokstmutau_tautomu_fakepion_oskmu_line( decay_descriptor="[B_s0 -> B0 mu+]cc", name="rd_make_bd_to_kpimutau_fake_pions") algs = rd_prefilter() + [kstmus, bd] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -1001,7 +1141,10 @@ def butokmutau_tautomu_oskmu_line(name='Hlt2RD_BuToKTauMu_TauToMu_OSKmu_Line', bu = btosmutau_exclusive.make_bu( kmus, muons_from_tau, pvs, decay_descriptor="[B+ -> B0 mu+]cc") return Hlt2Line( - name=name, algs=rd_prefilter() + [kmus, bu], prescale=prescale) + name=name, + algs=rd_prefilter() + [kmus, bu], + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -1017,7 +1160,10 @@ def butokmutau_tautomu_sskmu_line(name='Hlt2RD_BuToKTauMu_TauToMu_SSKmu_Line', bu = btosmutau_exclusive.make_bu( kmus, muons_from_tau, pvs, decay_descriptor="[B+ -> B0 mu-]cc") return Hlt2Line( - name=name, algs=rd_prefilter() + [kmus, bu], prescale=prescale) + name=name, + algs=rd_prefilter() + [kmus, bu], + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -1037,7 +1183,10 @@ def butokmutau_tautomu_same_sign_muons_oskmu_line( decay_descriptor="[B+ -> B0 mu-]cc", name="rd_make_bu_to_kmutau_same_sign_muons") return Hlt2Line( - name=name, algs=rd_prefilter() + [kmus, bu], prescale=prescale) + name=name, + algs=rd_prefilter() + [kmus, bu], + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -1057,7 +1206,10 @@ def butokmutau_tautomu_same_sign_muons_sskmu_line( decay_descriptor="[B+ -> B0 mu-]cc", name="rd_make_bu_to_kmutau_same_sign_muons") return Hlt2Line( - name=name, algs=rd_prefilter() + [kmus, bu], prescale=prescale) + name=name, + algs=rd_prefilter() + [kmus, bu], + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -1078,7 +1230,11 @@ def butokmutau_tautomu_fakemuon_from_tau_oskmu_line( decay_descriptor="[B+ -> B0 mu+]cc", name="rd_make_bu_to_kmutau_fake_muon_from_tau") algs = rd_prefilter() + [kmus, bu] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -1099,7 +1255,11 @@ def butokmutau_tautomu_fakemuon_from_tau_sskmu_line( decay_descriptor="[B+ -> B0 mu-]cc", name="rd_make_bu_to_kmutau_fake_muon_from_tau") algs = rd_prefilter() + [kmus, bu] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -1125,7 +1285,11 @@ def butokmutau_tautomu_fakemuon_from_b_oskmu_line( decay_descriptor="[B+ -> B0 mu+]cc", name="rd_make_bu_to_kmutau_fake_muon_from_b") algs = rd_prefilter() + [kmus_fake_muon, bu] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -1151,7 +1315,11 @@ def butokmutau_tautomu_fakemuon_from_b_sskmu_line( decay_descriptor="[B+ -> B0 mu-]cc", name="rd_make_bu_to_kmutau_fake_muon_from_b") algs = rd_prefilter() + [kmus_fake_muon, bu] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -1176,7 +1344,10 @@ def butokmutau_tautomu_fakekaon_oskmu_line( decay_descriptor="[B+ -> B0 mu+]cc", name="rd_make_bu_to_kmutau_fake_kaons") return Hlt2Line( - name=name, algs=rd_prefilter() + [kmus, bu], prescale=prescale) + name=name, + algs=rd_prefilter() + [kmus, bu], + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -1201,4 +1372,7 @@ def butokmutau_tautomu_fakekaon_sskmu_line( decay_descriptor="[B+ -> B0 mu-]cc", name="rd_make_bu_to_kmutau_fake_kaons") return Hlt2Line( - name=name, algs=rd_prefilter() + [kmus, bu], prescale=prescale) + name=name, + algs=rd_prefilter() + [kmus, bu], + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/hlt2_btostautau_exclusive.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/hlt2_btostautau_exclusive.py index 3d74a175aeb970488782838c653ef16c30d2a0d4..6a7528caec9b33960105c8d0dc8cae668906de1e 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/hlt2_btostautau_exclusive.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/hlt2_btostautau_exclusive.py @@ -27,7 +27,7 @@ Final states built are (all taus decay to muons and neutrinos): - Bd -> K*(-> K+ pi-) tau+ tau- - Bd -> K*(-> K+ pi+) tau+ tau- and its charge conjugate - Bd -> K*(-> K+ pi-) tau+ tau+, K*(-> K+ pi-) tau- tau- and their charge conjugates - - Bd -> K*(-> K+ pi-) tau+ tau- with a fake kaon + - Bd -> K*(-> K+ pi-) tau+ tau- with a fake kaon - Bd -> K*(-> K+ pi-) tau+ tau- with a fake pion - Bd -> K*(-> K+ pi-) tau+ tau- with a fake muon 4. Bs decays to K* K* @@ -59,7 +59,7 @@ from Hlt2Conf.algorithms_thor import require_all from Hlt2Conf.lines.rd.builders import rdbuilder_thor from Hlt2Conf.lines.rd.builders import btostautau_exclusive -from Hlt2Conf.lines.rd.builders.rd_prefilters import rd_prefilter +from Hlt2Conf.lines.rd.builders.rd_prefilters import rd_prefilter, _RD_MONITORING_VARIABLES all_lines = {} @@ -156,7 +156,11 @@ def bstophitautau_tautomu_line( dimuons = btostautau_exclusive.make_dimuon(muons, muons, pvs) bs = btostautau_exclusive.make_bs(phis, dimuons, pvs) algs = rd_prefilter() + [dimuons, bs] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -175,7 +179,11 @@ def bstophitautau_tautomu_same_sign_kaons_line( bs = btostautau_exclusive.make_bs( phis, dimuons, pvs, name="rd_make_bs_to_kktautau_same_sign_kaons") algs = rd_prefilter() + [dimuons, bs] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -194,7 +202,11 @@ def bstophitautau_tautomu_same_sign_muons_line( bs = btostautau_exclusive.make_bs( phis, dimuons, pvs, name="rd_make_bs_to_kktautau_same_sign_muons") algs = rd_prefilter() + [dimuons, bs] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -212,7 +224,11 @@ def bstophitautau_tautomu_fakemuon_line( bs = btostautau_exclusive.make_bs( phis, dimuons, pvs, name="rd_make_bs_to_kktautau_fake_muons") algs = rd_prefilter() + [dimuons, phis, bs] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -230,7 +246,11 @@ def bstophitautau_tautomu_fakekaon_line( bs = btostautau_exclusive.make_bs( phis, dimuons, pvs, name="rd_make_bs_to_kktautau_fake_kaons") algs = rd_prefilter() + [dimuons, phis, bs] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -244,7 +264,11 @@ def lbtopktautau_tautomu_line(name='Hlt2RD_LbToPKTauTau_TauToMu_Line', dimuons = btostautau_exclusive.make_dimuon(muons, muons, pvs) lb = btostautau_exclusive.make_lb(pks, dimuons, pvs) algs = rd_prefilter() + [dimuons, pks, lb] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -264,7 +288,11 @@ def lbtopktautau_tautomu_same_sign_pK_line( lb = btostautau_exclusive.make_lb( pks, dimuons, pvs, name="rd_make_lb_to_pktautau_same_sign_pk") algs = rd_prefilter() + [dimuons, pks, lb] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -284,7 +312,11 @@ def lbtopktautau_tautomu_same_sign_muons_sspmu_line( lb = btostautau_exclusive.make_lb( pks, dimuons, pvs, name="rd_make_lb_to_pktautau_same_sign_muons") algs = rd_prefilter() + [dimuons, pks, lb] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -304,7 +336,11 @@ def lbtopktautau_tautomu_same_sign_muons_ospmu_line( lb = btostautau_exclusive.make_lb( pks, dimuons, pvs, name="rd_make_lb_to_pktautau_same_sign_muons") algs = rd_prefilter() + [dimuons, pks, lb] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -322,7 +358,11 @@ def lbtopktautau_tautomu_fakemuon_line( lb = btostautau_exclusive.make_lb( pks, dimuons, pvs, name="rd_make_lb_to_pktautau_fake_muons") algs = rd_prefilter() + [dimuons, pks, lb] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -339,7 +379,11 @@ def lbtopktautau_tautomu_fakeproton_line( lb = btostautau_exclusive.make_lb( pks, dimuons, pvs, name="rd_make_lb_to_pktautau_fake_protons") algs = rd_prefilter() + [dimuons, pks, lb] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -355,7 +399,11 @@ def lbtopktautau_tautomu_fakekaon_line( lb = btostautau_exclusive.make_lb( pks, dimuons, pvs, name="rd_make_lb_to_pktautau_fake_kaons") algs = rd_prefilter() + [dimuons, pks, lb] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -369,7 +417,11 @@ def bdtoksttautau_tautomu_line( dimuons = btostautau_exclusive.make_dimuon(muons, muons, pvs) bd = btostautau_exclusive.make_bd(ksts, dimuons, pvs) algs = rd_prefilter() + [dimuons, ksts, bd] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -389,7 +441,11 @@ def bdtoksttautau_tautomu_same_sign_Kpi_line( bd = btostautau_exclusive.make_bd( ksts, dimuons, pvs, name="rd_make_bd_to_kpitautau_same_sign_kpi") algs = rd_prefilter() + [dimuons, ksts, bd] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -410,7 +466,11 @@ def bdtoksttautau_tautomu_same_sign_muons_sskmu_line( bd = btostautau_exclusive.make_bd( ksts, dimuons, pvs, name="rd_make_bd_to_kpitautau_same_sign_muons") algs = rd_prefilter() + [dimuons, ksts, bd] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -431,7 +491,11 @@ def bdtoksttautau_tautomu_same_sign_muons_oskmu_line( bd = btostautau_exclusive.make_bd( ksts, dimuons, pvs, name="rd_make_bd_to_kpitautau_same_sign_muons") algs = rd_prefilter() + [dimuons, ksts, bd] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -450,7 +514,11 @@ def bdtoksttautau_tautomu_fakemuon_line( bd = btostautau_exclusive.make_bd( ksts, dimuons, pvs, name="rd_make_bd_to_kpitautau_fake_muons") algs = rd_prefilter() + [dimuons, ksts, bd] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -468,7 +536,11 @@ def bdtoksttautau_tautomu_fakekaon_line( bd = btostautau_exclusive.make_bd( ksts, dimuons, pvs, name="rd_make_bd_to_kpitautau_fake_kaons") algs = rd_prefilter() + [dimuons, ksts, bd] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -485,7 +557,11 @@ def bdtoksttautau_tautomu_fakepion_line( bd = btostautau_exclusive.make_bd( ksts, dimuons, pvs, name="rd_make_bd_to_kpitautau_fake_pions") algs = rd_prefilter() + [dimuons, ksts, bd] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -504,7 +580,11 @@ def bstokstksttautau_tautomu_line( dimuons = btostautau_exclusive.make_dimuon(muons, muons, pvs) bs = btostautau_exclusive.make_bs_to_kstkst(ksts, dimuons, pvs) algs = rd_prefilter() + [dimuons, ksts, bs] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -529,7 +609,11 @@ def bstokstksttautau_tautomu_same_sign_kstar_line( decay_descriptor="[B_s0 -> K*(892)0 K*(892)0 D0]cc", name="rd_make_bs_to_kstksttautau_same_sign_kst") algs = rd_prefilter() + [dimuons, ksts, bs] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -558,7 +642,11 @@ def bstokstksttautau_tautomu_same_sign_muons_line( decay_descriptor="[B_s0 -> K*(892)0 K*(892)~0 D0]cc", name="rd_make_bs_to_kstksttautau_same_sign_muons") algs = rd_prefilter() + [dimuons, ksts, bs] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -582,7 +670,11 @@ def bstokstksttautau_tautomu_fakemuon_line( bs = btostautau_exclusive.make_bs_to_kstkst( ksts, dimuons, pvs, name="rd_make_bs_to_kstksttautau_fake_muons") algs = rd_prefilter() + [dimuons, ksts, bs] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -594,7 +686,11 @@ def butoktautau_tautomu_line(name='Hlt2RD_BuToKTauTau_TauToMu_Line', dimuons = btostautau_exclusive.make_dimuon(muons, muons, pvs) bu = btostautau_exclusive.make_bu(kaons, dimuons, pvs) algs = rd_prefilter() + [dimuons, bu] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -612,7 +708,11 @@ def butoktautau_tautomu_same_sign_muons_oskmu_line( bu = btostautau_exclusive.make_bu( kaons, dimuons, pvs, name="rd_make_bu_to_ktautau_same_sign_muons") algs = rd_prefilter() + [dimuons, bu] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -630,7 +730,11 @@ def butoktautau_tautomu_same_sign_muons_sskmu_line( bu = btostautau_exclusive.make_bu( kaons, dimuons, pvs, name="rd_make_bu_to_ktautau_same_sign_muons") algs = rd_prefilter() + [dimuons, bu] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -646,7 +750,11 @@ def butoktautau_tautomu_fakemuon_line( bu = btostautau_exclusive.make_bu( kaons, dimuons, pvs, name="rd_make_bu_to_ktautau_fake_muon") algs = rd_prefilter() + [dimuons, bu] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -660,4 +768,8 @@ def butoktautau_tautomu_fakekaon_line( bu = btostautau_exclusive.make_bu( fake_kaons, dimuons, pvs, name="rd_make_bu_to_ktautau_fake_kaon") algs = rd_prefilter() + [dimuons, bu] - return Hlt2Line(name=name, algs=algs, prescale=prescale) + return Hlt2Line( + name=name, + algs=algs, + prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/lfv_lines_hlt2.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/lfv_lines_hlt2.py index f860e48c4877f50788b55cd03d9844dc3d92c7dd..3bf2202b802a0775f2bcee1b50367b03a5f5c540 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/lfv_lines_hlt2.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/lfv_lines_hlt2.py @@ -38,7 +38,7 @@ from Moore.lines import Hlt2Line from Hlt2Conf.lines.rd.builders.rdbuilder_thor import make_rd_detached_muons, make_rd_detached_pions, make_rd_detached_kaons, make_rd_detached_protons from Hlt2Conf.lines.rd.builders.bnv_builders import make_BToHMu, make_LzToHMu, make_LbToHMu -from Hlt2Conf.lines.rd.builders.rd_prefilters import rd_prefilter +from Hlt2Conf.lines.rd.builders.rd_prefilters import rd_prefilter, _VRD_MONITORING_VARIABLES from RecoConf.reconstruction_objects import make_pvs @@ -64,7 +64,11 @@ def BToPiMu_line(name="Hlt2RD_BToPipMu_Line", prescale=1): B = make_BToHMu(pvs, pion, muon, descriptor) - return Hlt2Line(name=name, algs=rd_prefilter() + [B], prescale=prescale) + return Hlt2Line( + name=name, + algs=rd_prefilter() + [B], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -79,7 +83,11 @@ def BToPiMu_SS_line(name="Hlt2RD_BToPipMu_SS_Line", prescale=1): B = make_BToHMu(pvs, pion, muon, descriptor) - return Hlt2Line(name=name, algs=rd_prefilter() + [B], prescale=prescale) + return Hlt2Line( + name=name, + algs=rd_prefilter() + [B], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) # 2) Bs -> K mu @@ -95,7 +103,11 @@ def BToKMu_line(name="Hlt2RD_BToKpMu_Line", prescale=1 / 2.): B = make_BToHMu(pvs, kaon, muon, descriptor) - return Hlt2Line(name=name, algs=rd_prefilter() + [B], prescale=prescale) + return Hlt2Line( + name=name, + algs=rd_prefilter() + [B], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -110,7 +122,11 @@ def BToKMu_SS_line(name="Hlt2RD_BToKpMu_SS_Line", prescale=1): B = make_BToHMu(pvs, kaon, muon, descriptor) - return Hlt2Line(name=name, algs=rd_prefilter() + [B], prescale=prescale) + return Hlt2Line( + name=name, + algs=rd_prefilter() + [B], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) # 3) Lz -> p mu @@ -126,7 +142,11 @@ def LzToPMu_line(name="Hlt2RD_LambdaToPpMu_Line", prescale=1): Lz = make_LzToHMu(pvs, proton, muon, descriptor) - return Hlt2Line(name=name, algs=rd_prefilter() + [Lz], prescale=prescale) + return Hlt2Line( + name=name, + algs=rd_prefilter() + [Lz], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -141,7 +161,11 @@ def LzToPMu_SS_line(name="Hlt2RD_LambdaToPpMu_SS_Line", prescale=1 / 3.): Lz = make_LzToHMu(pvs, proton, muon, descriptor) - return Hlt2Line(name=name, algs=rd_prefilter() + [Lz], prescale=prescale) + return Hlt2Line( + name=name, + algs=rd_prefilter() + [Lz], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) # 4) Lb -> p mu @@ -157,7 +181,11 @@ def LbToPMu_line(name="Hlt2RD_LbToPpMu_Line", prescale=1): Lb = make_LbToHMu(pvs, proton, muon, descriptor) - return Hlt2Line(name=name, algs=rd_prefilter() + [Lb], prescale=prescale) + return Hlt2Line( + name=name, + algs=rd_prefilter() + [Lb], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -172,4 +200,8 @@ def LbToPMu_SS_line(name="Hlt2RD_LbToPpMu_SS_Line", prescale=1): Lb = make_LbToHMu(pvs, proton, muon, descriptor) - return Hlt2Line(name=name, algs=rd_prefilter() + [Lb], prescale=prescale) + return Hlt2Line( + name=name, + algs=rd_prefilter() + [Lb], + prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/omega_rare_decay_lines.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/omega_rare_decay_lines.py index 40e87de1c57726881a87031e99ee73016403c074..7639da961e2ecb0b0025bc80fc3d83156cebde14 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/omega_rare_decay_lines.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/omega_rare_decay_lines.py @@ -16,7 +16,7 @@ Email: chuangxin.lin@cern.ch Date: 30/12/2021 The following modes are included (Xi- with LLL and DDL): -* Omega- -> Xi- mu+ mu- +* Omega- -> Xi- mu+ mu- * Omega- -> Xi- e+ e- * Omega- -> Xi- gamma * Omega- -> Xi- pi+ pi- @@ -27,7 +27,7 @@ from Moore.config import register_line_builder from Moore.lines import Hlt2Line from GaudiKernel.SystemOfUnits import MeV from RecoConf.reconstruction_objects import make_pvs -from .builders.rd_prefilters import rd_prefilter +from .builders.rd_prefilters import rd_prefilter, _VRD_MONITORING_VARIABLES from .builders.rdbuilder_thor import make_rd_detached_muons, make_rd_detached_electrons, make_rd_detached_pions, make_rd_photons from .builders.omega_rare_decay_builder import make_xim_to_lambda_pim_lll, make_omega_to_xi_dip, make_omega_to_xi_gamma @@ -51,7 +51,10 @@ def omega_to_ximumu_lll_line(name="Hlt2RD_OmegamToXimMuMu_LLL_Line", particle2=p2, descriptor=descriptor) return Hlt2Line( - name=name, prescale=prescale, algs=rd_prefilter() + [xim, omega]) + name=name, + prescale=prescale, + algs=rd_prefilter() + [xim, omega], + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -70,7 +73,10 @@ def omega_to_xiee_lll_line(name="Hlt2RD_OmegamToXimEE_LLL_Line", prescale=1): particle2=p2, descriptor=descriptor) return Hlt2Line( - name=name, prescale=prescale, algs=rd_prefilter() + [xim, omega]) + name=name, + prescale=prescale, + algs=rd_prefilter() + [xim, omega], + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -90,7 +96,10 @@ def omega_to_xipipi_lll_line(name="Hlt2RD_OmegamToXimPiPi_LLL_Line", particle2=p2, descriptor=descriptor) return Hlt2Line( - name=name, prescale=prescale, algs=rd_prefilter() + [xim, omega]) + name=name, + prescale=prescale, + algs=rd_prefilter() + [xim, omega], + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -108,4 +117,7 @@ def omega_to_xigamma_lll_line(name="Hlt2RD_OmegamToXimGamma_LLL_Line", gamma=gamma, descriptor=descriptor) return Hlt2Line( - name=name, prescale=prescale, algs=rd_prefilter() + [xim, omega]) + name=name, + prescale=prescale, + algs=rd_prefilter() + [xim, omega], + monitoring_variables=_VRD_MONITORING_VARIABLES) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/prompt_multilepton.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/prompt_multilepton.py index 3102db411fd7084c9c09c1a9cbb1483d8c2aeb51..82658dc43c8e7d746f8e3aa451cc9cd4e3d751f1 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/prompt_multilepton.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/prompt_multilepton.py @@ -36,7 +36,7 @@ from Moore.config import HltLine, register_line_builder from Hlt2Conf.algorithms_thor import require_all import Functors as F from .builders.prompt_multilepton_builders import make_prompt_four_muon, make_prompt_3mue, make_prompt_2mu2e, make_prompt_2muSS2eSS, make_prompt_mue2e, make_prompt_2e2e, make_psi2S_tag -from .builders.rd_prefilters import rd_prefilter_noPV, rd_prefilter +from .builders.rd_prefilters import rd_prefilter_noPV, rd_prefilter, _VRD_MONITORING_VARIABLES all_lines = {} @@ -64,6 +64,7 @@ def Hlt2RD_JpsiTo4Mu_Line(name="Hlt2RD_JpsiTo4Mu_Line", algs=rd_prefilter_noPV() + [fourlepton], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -94,6 +95,7 @@ def Hlt2RD_UpsilonTo4Mu_Line(name="Hlt2RD_UpsilonTo4Mu_Line", algs=rd_prefilter_noPV() + [fourlepton], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -126,6 +128,7 @@ def Hlt2RD_LowMassTo4Mu_Line(name="Hlt2RD_LowMassTo4Mu_Line", algs=rd_prefilter_noPV() + [fourlepton], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -156,6 +159,7 @@ def Hlt2RD_JpsiTo3MuE_Line(name="Hlt2RD_JpsiTo3MuE_Line", algs=rd_prefilter_noPV() + [fourlepton], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -187,6 +191,7 @@ def Hlt2RD_UpsilonTo3MuE_Line(name="Hlt2RD_UpsilonTo3MuE_Line", algs=rd_prefilter_noPV() + [fourlepton], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -215,6 +220,7 @@ def Hlt2RD_LowMassTo3MuE_Line(name="Hlt2RD_LowMassTo3MuE_Line", algs=rd_prefilter_noPV() + [fourlepton], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -245,6 +251,7 @@ def Hlt2RD_JpsiTo2Mu2E_Line(name="Hlt2RD_JpsiTo2Mu2E_Line", algs=rd_prefilter_noPV() + [fourlepton], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -273,6 +280,7 @@ def Hlt2RD_UpsilonTo2Mu2E_Line(name="Hlt2RD_UpsilonTo2Mu2E_Line", algs=rd_prefilter_noPV() + [fourlepton], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -301,6 +309,7 @@ def Hlt2RD_LowMassTo2Mu2E_Line(name="Hlt2RD_LowMassTo2Mu2E_Line", algs=rd_prefilter_noPV() + [fourlepton], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -331,6 +340,7 @@ def Hlt2RD_JpsiTo2Mup2Em_Line(name="Hlt2RD_JpsiTo2Mup2Em_Line", algs=rd_prefilter_noPV() + [fourlepton], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -359,6 +369,7 @@ def Hlt2RD_UpsilonTo2Mup2Em_Line(name="Hlt2RD_UpsilonTo2Mup2Em_Line", algs=rd_prefilter_noPV() + [fourlepton], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -389,6 +400,7 @@ def Hlt2RD_LowMassTo2Mup2Em_Line(name="Hlt2RD_LowMassTo2Mup2Em_Line", algs=rd_prefilter_noPV() + [fourlepton], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -421,6 +433,7 @@ def Hlt2RD_JpsiToMu3E_Line(name="Hlt2RD_JpsiToMu3E_Line", algs=rd_prefilter_noPV() + [fourlepton], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -450,6 +463,7 @@ def Hlt2RD_UpsilonToMu3E_Line(name="Hlt2RD_UpsilonToMu3E_Line", algs=rd_prefilter_noPV() + [fourlepton], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -481,6 +495,7 @@ def Hlt2RD_LowMassToMu3E_Line(name="Hlt2RD_LowMassToMu3E_Line", algs=rd_prefilter_noPV() + [fourlepton], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -514,6 +529,7 @@ def Hlt2RD_JpsiTo4E_Line(name="Hlt2RD_JpsiTo4E_Line", algs=rd_prefilter_noPV() + [fourlepton], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -543,6 +559,7 @@ def Hlt2RD_UpsilonTo4E_Line(name="Hlt2RD_UpsilonTo4E_Line", algs=rd_prefilter_noPV() + [fourlepton], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -576,6 +593,7 @@ def Hlt2RD_LowMassTo4E_Line(name="Hlt2RD_LowMassTo4E_Line", algs=rd_prefilter() + [fourlepton], #here we do require a PV persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -611,6 +629,7 @@ def Hlt2RD_Psi2SToJpsiPiPi_JpsiTo4Mu_Line( algs=rd_prefilter_noPV() + [jpsis, fourlepton], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -642,6 +661,7 @@ def Hlt2RD_Psi2SToJpsiPiPi_JpsiTo2Mu2E_Line( algs=rd_prefilter_noPV() + [jpsis, fourlepton], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -668,6 +688,7 @@ def Hlt2RD_Psi2SToJpsiPiPi_JpsiTo3MuE_Line( algs=rd_prefilter_noPV() + [jpsis, fourlepton], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -693,6 +714,7 @@ def Hlt2RD_Psi2SToJpsiPiPi_JpsiTo2Mup2Em_Line( algs=rd_prefilter_noPV() + [jpsis, fourlepton], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -717,6 +739,7 @@ def Hlt2RD_Psi2SToJpsiPiPi_JpsiToMu3E_Line( algs=rd_prefilter_noPV() + [jpsis, fourlepton], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) @@ -741,4 +764,5 @@ def Hlt2RD_Psi2SToJpsiPiPi_JpsiTo4E_Line( algs=rd_prefilter_noPV() + [jpsis, fourlepton], persistreco=persistreco, prescale=prescale, + monitoring_variables=_VRD_MONITORING_VARIABLES, ) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/qqbar_to_ll.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/qqbar_to_ll.py index 5cb191e241568f07f6764533a32780b3a123e682..0137c932b3a59fc0997d629b2643ca3432237c3f 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/qqbar_to_ll.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/qqbar_to_ll.py @@ -31,7 +31,7 @@ from PyConf import configurable from Moore.config import register_line_builder from Moore.lines import Hlt2Line from Hlt2Conf.lines.rd.builders.rdbuilder_thor import make_rd_detached_mue, make_rd_prompt_mue, make_rd_prompt_dielectrons #make_rd_prompt_dimuons -from Hlt2Conf.lines.rd.builders.rd_prefilters import rd_prefilter +from Hlt2Conf.lines.rd.builders.rd_prefilters import rd_prefilter, _VRD_MONITORING_VARIABLES from Hlt2Conf.algorithms_thor import require_all import Functors as F @@ -59,7 +59,8 @@ def phi_to_mue_line(name="Hlt2RD_PhiToMuE_Line", name=name, algs=rd_prefilter() + [emu], prescale=prescale, - persistreco=persistreco) + persistreco=persistreco, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -78,7 +79,8 @@ def phi_to_mue_ss_line(name="Hlt2RD_PhiToMuE_SS_Line", name=name, algs=rd_prefilter() + [emu_SS], prescale=prescale, - persistreco=persistreco) + persistreco=persistreco, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -99,7 +101,8 @@ def jpsi_to_mue_line(name="Hlt2RD_JpsiToMuE_Line", name=name, algs=rd_prefilter() + [emu], prescale=prescale, - persistreco=persistreco) + persistreco=persistreco, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -121,7 +124,8 @@ def jpsi_to_mue_ss_line(name="Hlt2RD_JpsiToMuE_SS_Line", name=name, algs=rd_prefilter() + [emu], prescale=prescale, - persistreco=persistreco) + persistreco=persistreco, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -143,7 +147,8 @@ def upsilon_to_mue_line(name="Hlt2RD_UpsilonToMuE_Line", name=name, algs=rd_prefilter() + [emu], prescale=prescale, - persistreco=persistreco) + persistreco=persistreco, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -165,7 +170,8 @@ def upsilon_to_mue_ss_line(name="Hlt2RD_UpsilonToMuE_SS_Line", name=name, algs=rd_prefilter() + [emu], prescale=prescale, - persistreco=persistreco) + persistreco=persistreco, + monitoring_variables=_VRD_MONITORING_VARIABLES) ##### DETACHED LINES ##### @@ -195,7 +201,8 @@ def phi_to_mue_detached_line(name="Hlt2RD_PhiToMuE_Detached_Line", name=name, algs=rd_prefilter() + [emu], prescale=prescale, - persistreco=persistreco) + persistreco=persistreco, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -222,7 +229,8 @@ def phi_to_mue_ss_detached_line(name="Hlt2RD_PhiToMuE_SS_Detached_Line", name=name, algs=rd_prefilter() + [emu], prescale=prescale, - persistreco=persistreco) + persistreco=persistreco, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -249,7 +257,8 @@ def jpsi_to_mue_detached_line(name="Hlt2RD_JpsiToMuE_Detached_Line", name=name, algs=rd_prefilter() + [emu], prescale=prescale, - persistreco=persistreco) + persistreco=persistreco, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -276,7 +285,8 @@ def jpsi_to_mue_ss_detached_line(name="Hlt2RD_JpsiToMuE_SS_Detached_Line", name=name, algs=rd_prefilter() + [emu], prescale=prescale, - persistreco=persistreco) + persistreco=persistreco, + monitoring_variables=_VRD_MONITORING_VARIABLES) ##### CONTROL ee LINES ##### @@ -299,7 +309,8 @@ def phi_to_ee_line(name="Hlt2RD_PhiToEE_Line", name=name, algs=rd_prefilter() + [emu], prescale=prescale, - persistreco=persistreco) + persistreco=persistreco, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -319,7 +330,8 @@ def jpsi_to_ee_line(name="Hlt2RD_JpsiToEE_Line", name=name, algs=rd_prefilter() + [emu], prescale=prescale, - persistreco=persistreco) + persistreco=persistreco, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -339,7 +351,8 @@ def upsilon_to_ee_line(name="Hlt2RD_UpsilonToEE_Line", name=name, algs=rd_prefilter() + [emu], prescale=prescale, - persistreco=persistreco) + persistreco=persistreco, + monitoring_variables=_VRD_MONITORING_VARIABLES) ################# diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/rad_incl.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/rad_incl.py index 85920c94ecad364f99639a4fe65ea743547c2ca5..e7a7317107f7ef6771c3fef69cb146c22a85bcc2 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/rad_incl.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/rad_incl.py @@ -116,6 +116,7 @@ def BToHHGamma_Incl_line(name="Hlt2RD_BToHHGamma_Incl_Line", algs=rd_prefilters.rd_prefilter() + [kstars, b], prescale=prescale, persistreco=persistreco, + monitoring_variables=rd_prefilters._RD_MONITORING_VARIABLES, ) @@ -202,6 +203,7 @@ def BToHHHGamma_Incl_line(name="Hlt2RD_BToHHHGamma_Incl_Line", algs=rd_prefilters.rd_prefilter() + [kstars, dstars, b], prescale=prescale, persistreco=persistreco, + monitoring_variables=rd_prefilters._RD_MONITORING_VARIABLES, ) @@ -258,6 +260,7 @@ def BToHHGamma_GammaToEE_Incl_line( algs=rd_prefilters.rd_prefilter() + [kstars, b], prescale=prescale, persistreco=persistreco, + monitoring_variables=rd_prefilters._RD_MONITORING_VARIABLES, ) @@ -350,4 +353,5 @@ def BToHHHGamma_GammaToEE_Incl_line( algs=rd_prefilters.rd_prefilter() + [kstars, dstars, b], prescale=prescale, persistreco=persistreco, + monitoring_variables=rd_prefilters._RD_MONITORING_VARIABLES, ) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/rare_tau_decay_lines.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/rare_tau_decay_lines.py index f6d246d695a60f21425f38b52c9064355d4a231b..9648cfa3380b9d958dc5cfa2c32489ec9f1bbdca 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/rare_tau_decay_lines.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/rare_tau_decay_lines.py @@ -34,7 +34,7 @@ from PyConf import configurable from Moore.config import register_line_builder from Moore.lines import Hlt2Line from Hlt2Conf.algorithms import ParticleContainersMerger -from .builders.rd_prefilters import rd_prefilter +from .builders.rd_prefilters import rd_prefilter, _VRD_MONITORING_VARIABLES from .builders.rdbuilder_thor import ( make_rd_detached_muons, make_rd_detached_electrons, make_rd_detached_pions, make_rd_has_rich_detached_protons, make_rd_detached_phis, @@ -60,7 +60,8 @@ def tau_to_mumumu_line(name="Hlt2RD_TauToMuMuMu_Line", name=name, algs=rd_prefilter() + [tau], prescale=prescale, - persistreco=persistreco) + persistreco=persistreco, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -89,7 +90,8 @@ def tau_to_mumue_line(name="Hlt2RD_TauToMuMuE_Line", name=name, algs=rd_prefilter() + [tau], prescale=prescale, - persistreco=persistreco) + persistreco=persistreco, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -118,7 +120,8 @@ def tau_to_muee_line(name="Hlt2RD_TauToMuEE_Line", name=name, algs=rd_prefilter() + [tau], prescale=prescale, - persistreco=persistreco) + persistreco=persistreco, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -137,7 +140,8 @@ def tau_to_eee_line(name="Hlt2RD_TauToEEE_Line", prescale=1, name=name, algs=rd_prefilter() + [tau], prescale=prescale, - persistreco=persistreco) + persistreco=persistreco, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -166,7 +170,8 @@ def tau_to_pmumu_line(name="Hlt2RD_TauToPMuMu_Line", name=name, algs=rd_prefilter() + [tau], prescale=prescale, - persistreco=persistreco) + persistreco=persistreco, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -189,7 +194,8 @@ def tau_to_phimu_line(name="Hlt2RD_TauToPhiMu_Line", name=name, algs=rd_prefilter() + [tau], prescale=prescale, - persistreco=persistreco) + persistreco=persistreco, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -209,7 +215,8 @@ def tau_to_5mu_line(name="Hlt2RD_TauTo5Mu_Line", prescale=1, name=name, algs=rd_prefilter() + [tau], prescale=prescale, - persistreco=persistreco) + persistreco=persistreco, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -229,7 +236,8 @@ def tau_to_7mu_line(name="Hlt2RD_TauTo7Mu_Line", prescale=1, name=name, algs=rd_prefilter() + [tau], prescale=prescale, - persistreco=persistreco) + persistreco=persistreco, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -256,7 +264,8 @@ def ds_to_phipi_mumu_line(name="Hlt2RD_DsToPhiPi_PhiToMuMu_Line", name=name, algs=rd_prefilter() + [ds], prescale=prescale, - persistreco=persistreco) + persistreco=persistreco, + monitoring_variables=_VRD_MONITORING_VARIABLES) @register_line_builder(all_lines) @@ -283,4 +292,5 @@ def ds_to_phipi_ee_line(name="Hlt2RD_DsToPhiPi_PhiToEE_Line", name=name, algs=rd_prefilter() + [ds], prescale=prescale, - persistreco=persistreco) + persistreco=persistreco, + monitoring_variables=_VRD_MONITORING_VARIABLES) diff --git a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/strange.py b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/strange.py index 613460dc26cc8a40279fa5e36022058d9a833f56..7e526dab341617cc43abcfcca0fd3da9114ed5a6 100644 --- a/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/strange.py +++ b/Hlt/Hlt2Conf/python/Hlt2Conf/lines/rd/strange.py @@ -19,7 +19,7 @@ TODO: - Replace PID variables by ProbNN once we have a proper tuning """ from GaudiKernel.SystemOfUnits import MeV -from Hlt2Conf.lines.rd.builders.rd_prefilters import rd_prefilter +from Hlt2Conf.lines.rd.builders.rd_prefilters import rd_prefilter, _RD_MONITORING_VARIABLES from Hlt2Conf.lines.rd.builders import strange_builders from Moore.config import register_line_builder from Moore.lines import Hlt2Line @@ -44,6 +44,7 @@ def ks02pipi_line(name="Hlt2RD_KS0ToPiPi_Line", prescale=1e-4): name=name, algs=rd_prefilter() + [ks0], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -60,6 +61,7 @@ def ks02mumu_line(name="Hlt2RD_KS0ToMuMu_Line"): return Hlt2Line( name=name, algs=rd_prefilter() + [ks0], + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -89,6 +91,7 @@ def ks02mumu_sb_line(name="Hlt2RD_KS0ToMuMu_SB_Line", prescale=1e-4): name=name, algs=rd_prefilter() + [ks0], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -110,6 +113,7 @@ def ks02mumu_ss_line(name="Hlt2RD_KS0ToMuMu_SS_Line", prescale=1): name=name, algs=rd_prefilter() + [ks0], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -128,6 +132,7 @@ def ks02emu_line(name="Hlt2RD_KS0ToEMu_Line"): return Hlt2Line( name=name, algs=rd_prefilter() + [ks0], + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -150,6 +155,7 @@ def ks02emu_ss_line(name="Hlt2RD_KS0ToEMu_SS_Line", prescale=1): name=name, algs=rd_prefilter() + [ks0], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -172,6 +178,7 @@ def ks02ee_line(name="Hlt2RD_KS0ToEE_Line"): return Hlt2Line( name=name, algs=rd_prefilter() + [ks0], + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -198,6 +205,7 @@ def ks02ee_ss_line(name="Hlt2RD_KS0ToEE_SS_Line", prescale=1): name=name, algs=rd_prefilter() + [ks0], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -216,6 +224,7 @@ def lambda02ppi_line(name="Hlt2RD_Lambda0ToPPi_Line", prescale=1e-3): name=name, algs=rd_prefilter() + [l0], prescale=prescale, + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -233,6 +242,7 @@ def lambda02pmu_line(name="Hlt2RD_Lambda0ToPMu_Line"): return Hlt2Line( name=name, algs=rd_prefilter() + [l0], + monitoring_variables=_RD_MONITORING_VARIABLES, ) @@ -250,4 +260,5 @@ def lambda02pe_line(name="Hlt2RD_Lambda0ToPE_Line"): return Hlt2Line( name=name, algs=rd_prefilter() + [l0], + monitoring_variables=_RD_MONITORING_VARIABLES, ) diff --git a/Hlt/Moore/python/Moore/lines.py b/Hlt/Moore/python/Moore/lines.py index 903489046fab667f5e79298fc694fd1e802b67a0..043e2acd9c90d9a7cffc72c0fdffee25dad9a327 100644 --- a/Hlt/Moore/python/Moore/lines.py +++ b/Hlt/Moore/python/Moore/lines.py @@ -272,6 +272,8 @@ class Hlt2Line(DecisionLine): HLT1 filter that is prepended to the control flow defined by `algs`. ThOr DECREPORTS_RE_FILTER is used. Note that this parameter should look like "['Hlt1LineADecision', 'Hlt1.*LineDecision']". + monitoring_variables (tuple(str)): Variables to create default monitoring plots for. + These variables need to be implemented in .monitoring.py """ _CLASS_NAME_PREFIX = "Hlt2" _ANNSVC_NAME = "HltANNSvc" @@ -285,7 +287,7 @@ class Hlt2Line(DecisionLine): extra_outputs=None, persistreco=False, hlt1_filter_code="", - default_monitoring=True, + monitoring_variables=("pt", "eta", "m", "vchi2", "ipchi2"), ): self.hlt1_filter_code = hlt1_filter_code if hlt1_filter_code: @@ -293,10 +295,10 @@ class Hlt2Line(DecisionLine): "Hlt1_prefilter", self.hlt1_filter_code, self._HLT1_FILTER_SOURCE_ID, self._ANNSVC_NAME) algs = [hlt1_filter] + algs - self.default_monitoring = default_monitoring + self.monitoring_variables = monitoring_variables # the first is a local switch for every instance of Hlt2Line, the second a global one (`with run_default_monitoring.bind(run=False)`). - if self.default_monitoring and run_default_monitoring(): - monitoring_algs = monitoring(algs, name) + if self.monitoring_variables and run_default_monitoring(): + monitoring_algs = monitoring(algs, name, self.monitoring_variables) if len(monitoring_algs) == 0: log.debug(f"No default monitoring for {name}") else: diff --git a/Hlt/Moore/python/Moore/monitoring.py b/Hlt/Moore/python/Moore/monitoring.py index 2bd1c5c3b02eb02645fa58b9adf77e3c0b0b7b84..f729f07bb6c048dc01d0dabf5badaab0877b6350 100644 --- a/Hlt/Moore/python/Moore/monitoring.py +++ b/Hlt/Moore/python/Moore/monitoring.py @@ -21,13 +21,16 @@ def run_default_monitoring(run=True): return run -def monitoring(algs, name): +def monitoring(algs, name, mon_vars): """Create a list of monitoring algorithms from the control flow (algs). The last item in the CF whose producer is a Combiner or ParticleContainerMerger is taken as input to monitor. From that particle, mass, pt, eta, (decay time), vertex chi2 and ip chi2 histograms will be filled. Args: algs (list of Algorithms): Control flow of this line. + name (str): Name of the calling line. + monitoring_variables (tuple(str)): Variables to create default monitoring plots for. + These variables need to be implemented in .monitoring.py Returns: List of monitoring algorithms. @@ -121,55 +124,65 @@ def monitoring(algs, name): mass_functor_dict = {"functor": F.MASS, "regex": r"MASS"} return mass_functor_dict - # pt - monitoring_algs.append( - Monitor( - name="Monitor_" + name + "_pt", - Input=producer_output, - Variable=F.PT, - HistogramName="/" + name + "/pt", - Bins=80, - Range=_parse_all(r"\( RHO_COORDINATE @ THREEMOMENTUM \)", 0., - 40. * GeV))) - # eta - monitoring_algs.append( - Monitor( - name="Monitor_" + name + "_eta", - Input=producer_output, - Variable=F.ETA, - HistogramName="/" + name + "/eta", - Bins=40, - Range=(1.5, 5.5))) - # mass - mass_functor = _parse_mass_functor() - #TODO: parse decay descriptor to set defaults in _parse_all. Might need https://gitlab.cern.ch/lhcb/Moore/-/issues/289 - monitoring_algs.append( - Monitor( - name="Monitor_" + name + "_m", - Input=producer_output, - Variable=mass_functor["functor"], - HistogramName="/" + name + "/m", - Bins=100, - Range=_parse_all(mass_functor["regex"], 0., 7. * GeV))) - # vertex chi2 - monitoring_algs.append( - Monitor( - name="Monitor_" + name + "_vchi2", - Input=producer_output, - Variable=F.CHI2DOF, - HistogramName="/" + name + "/vchi2", - Bins=64, - Range=_parse_all("CHI2DOF", 0., 32.))) - # ip chi2 - monitoring_algs.append( - Monitor( - name="Monitor_" + name + "_ipchi2", - Input=producer_output, - Variable=F.BPVIPCHI2(make_pvs()), - HistogramName="/" + name + "/ipchi2", - Bins=64, - # to not spell out BPVIPCHI2.bind( TES(DataHandles=[DataHandle('/Event/TrackBeamLineVertexFinderSoA/OutputVertices')], DataTypes=['LHCb::Event::PV::PrimaryVertexContainer']), FORWARDARGS ) - # *? matches the previous token between zero and unlimited times, as few times as possible, expanding as needed (lazy) - Range=_parse_all(r"BPVIPCHI2.*? FORWARDARGS \)", 0., 1000.))) + for mon_var in mon_vars: + # pt + if mon_var.lower() == "pt": + monitoring_algs.append( + Monitor( + name="Monitor_" + name + "_pt", + Input=producer_output, + Variable=F.PT, + HistogramName="/" + name + "/pt", + Bins=80, + Range=_parse_all(r"\( RHO_COORDINATE @ THREEMOMENTUM \)", + 0., 40. * GeV))) + # eta + elif mon_var.lower() == "eta": + monitoring_algs.append( + Monitor( + name="Monitor_" + name + "_eta", + Input=producer_output, + Variable=F.ETA, + HistogramName="/" + name + "/eta", + Bins=40, + Range=(1.5, 5.5))) + # mass + elif mon_var.lower() == "m": + mass_functor = _parse_mass_functor() + #TODO: parse decay descriptor to set defaults in _parse_all. Might need https://gitlab.cern.ch/lhcb/Moore/-/issues/289 + monitoring_algs.append( + Monitor( + name="Monitor_" + name + "_m", + Input=producer_output, + Variable=mass_functor["functor"], + HistogramName="/" + name + "/m", + Bins=100, + Range=_parse_all(mass_functor["regex"], 0., 7. * GeV))) + # vertex chi2 + elif mon_var.lower() == "vchi2": + monitoring_algs.append( + Monitor( + name="Monitor_" + name + "_vchi2", + Input=producer_output, + Variable=F.CHI2DOF, + HistogramName="/" + name + "/vchi2", + Bins=64, + Range=_parse_all("CHI2DOF", 0., 32.))) + # ip chi2 + elif mon_var.lower() == "ipchi2": + monitoring_algs.append( + Monitor( + name="Monitor_" + name + "_ipchi2", + Input=producer_output, + Variable=F.BPVIPCHI2(make_pvs()), + HistogramName="/" + name + "/ipchi2", + Bins=64, + # to not spell out BPVIPCHI2.bind( TES(DataHandles=[DataHandle('/Event/TrackBeamLineVertexFinderSoA/OutputVertices')], DataTypes=['LHCb::Event::PV::PrimaryVertexContainer']), FORWARDARGS ) + # *? matches the previous token between zero and unlimited times, as few times as possible, expanding as needed (lazy) + Range=_parse_all(r"BPVIPCHI2.*? FORWARDARGS \)", 0., + 1000.))) + else: + raise ValueError( + f"{mon_var} is not a supported default monitoring histogram") return monitoring_algs diff --git a/doc/tutorials/hlt2_line.rst b/doc/tutorials/hlt2_line.rst index 5bb3b29014aa00db1c3598ee2948c01db1f89184..d797c99c5d599280c8bba9320e7c093ca29bff43 100644 --- a/doc/tutorials/hlt2_line.rst +++ b/doc/tutorials/hlt2_line.rst @@ -863,9 +863,14 @@ offline production, as proposed by the Early Measurements Task Force The documentation here concerns the online-monitoring that **can** be configured in Moore. If you choose to not configure any monitoring, a set of default monitors will run. This means that every Hlt2 line will fill, currently 5 histograms by default -(mass, |pT|, :math:`\eta`, vertex :math:`\chi^2` and |chi2ip| w.r.t. the "best" PV). -To switch off this default monitors, add ``default_monitoring=False`` to your ``Hlt2Line`` instance -(``Hlt2Line(name=..., algs=[...], default_monitoring=False, ...)``). +(|pT|, :math:`\eta`, mass, vertex :math:`\chi^2` and |chi2ip| w.r.t. the "best" PV). +These default monitors can be configured individually for your line by passing a list +other than `("pt", "eta", "m", "vchi2", "ipchi2")` as `monitoring_variables` to your +``Hlt2Line`` instance. +Any new variables need to be defined in +`monitoring.py <https://gitlab.cern.ch/lhcb/Moore/-/blob/master/Hlt/Moore/python/Moore/monitoring.py>`_. +For switching off the default monitors for a line entirely, simply pass an empty tuple: +(``Hlt2Line(name=..., algs=[...], monitoring_variables=(), ...)``). Default monitoring can also be switched off globally with .. code-block:: python