![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
9 #ifndef TAURECTOOLS_TAUAODLEPTONREMOVALTOOL_H
10 #define TAURECTOOLS_TAUAODLEPTONREMOVALTOOL_H
28 const std::map<std::string, uint>
m_mapMuonIdWp = {{
"Tight", 0}, {
"Medium", 1}, {
"Loose", 2}, {
"VeryLoose",3}};
34 Gaudi::Property<bool>
m_doMuonTrkRm {
this,
"doMuonTrkRm",
false,
"Whether to remove the muon tracks from the tau candidate" };
35 Gaudi::Property<bool>
m_doElecTrkRm {
this,
"doElecTrkRm",
false,
"Whether to remove the electron tracks from the tau candidate" };
36 Gaudi::Property<bool>
m_doMuonClsRm {
this,
"doMuonClsRm",
false,
"Whether to remove the muon clusters from the tau candidate" };
37 Gaudi::Property<bool>
m_doElecClsRm {
this,
"doElecClsRm",
false,
"Whether to remove the electron clusters from the tau candidate" };
38 Gaudi::Property<std::string>
m_strMinElecIdWp {
this,
"elecIDWP",
"Medium",
"minimum electron identification WP, [VeryLoose, Loose, Medium, Tight]"};
39 Gaudi::Property<std::string>
m_strMinMuonIdWp {
this,
"muonIDWP",
"Medium",
"minimum muon identification WP, [VeryLoose, Loose, Medium, Tight]" };
40 Gaudi::Property<std::string>
m_strElecIdWpPrefix {
this,
"eleIDWPPrefix",
"DFCommonElectronsLH",
"The prefix of the electron ID WP, leave to default if in confusion" };
41 Gaudi::Property<double>
m_lepRemovalConeSize{
this,
"lepRemovalConeSize", 0.6,
"The maximum dR between the lepton and the tau" };
49 template<
typename Tlep,
typename Tlinks> std::vector<Tlep>
removeTrks(Tlinks& tau_trk_links, std::vector<std::pair<const xAOD::TrackParticle*, Tlep>>& removings)
const;
50 template<
typename Tlep,
typename Tlinks> std::vector<Tlep>
removeClss(Tlinks& tau_cls_links, std::vector<std::pair<const xAOD::CaloCluster*, Tlep>>& clusters_and_leps)
const;
53 #endif// TAURECTOOLS_TAUAODLEPTONREMOVALTOOL_H
Property holding a SG store/key/clid from which a ReadHandle is made.
Description of a calorimeter cluster.
::StatusCode StatusCode
StatusCode definition for legacy code.
Class describing a tau jet.
Class describing a TrackParticle.