HLT CaloMVA step TauJet selection hypothesis tools.
More...
#include <TrigTauCaloHypoTool.h>
HLT CaloMVA step TauJet selection hypothesis tools.
Definition at line 33 of file TrigTauCaloHypoTool.h.
◆ TrigTauCaloHypoTool()
| TrigTauCaloHypoTool::TrigTauCaloHypoTool |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
Definition at line 28 of file TrigTauCaloHypoTool.cxx.
30{
31
32}
static HLT::Identifier fromToolName(const std::string &tname)
◆ decide() [1/2]
Definition at line 47 of file TrigTauCaloHypoTool.cxx.
48{
49
50 auto passedCuts = Monitored::Scalar<unsigned int>("CutCounter", 0);
51 auto pT = Monitored::Scalar<float>(
"pT", 0);
53
54
55
57
60 return false;
61 }
62
63
64
65 bool pass = false;
66
68 pass = true;
69 ATH_MSG_DEBUG(
"AcceptAll property is set: taking all events");
70 }
71
72
73
74
77
79
80
81 if(!(tau->pt() >
m_ptMin))
continue;
82 passedCuts++;
83 pT = tau->pt() / Gaudi::Units::GeV;
84
85 pass = true;
86
88 }
89
90 return pass;
91}
bool empty() const noexcept
Returns true if the collection is empty.
TauJet_v3 TauJet
Definition of the current "tau version".
TauJetContainer_v3 TauJetContainer
Definition of the current "taujet container version".
◆ decide() [2/2]
Definition at line 94 of file TrigTauCaloHypoTool.cxx.
95{
96 for(ITrigTauJetHypoTool::ToolInfo& i : input) {
100 }
101 }
102 }
103 return StatusCode::SUCCESS;
104}
bool passed(DecisionID id, const DecisionIDContainer &idSet)
checks if required decision ID is in the set of IDs in the container
void addDecisionID(DecisionID id, Decision *d)
Appends the decision (given as ID) to the decision object.
◆ initialize()
| StatusCode TrigTauCaloHypoTool::initialize |
( |
| ) |
|
|
overridevirtual |
Definition at line 35 of file TrigTauCaloHypoTool.cxx.
36{
38
42
43 return StatusCode::SUCCESS;
44}
#define ATH_CHECK
Evaluate an expression and check for errors.
◆ m_acceptAll
| Gaudi::Property<bool> TrigTauCaloHypoTool::m_acceptAll {this, "AcceptAll", false, "Ignore selection"} |
|
private |
◆ m_decisionId
◆ m_monTool
| ToolHandle<GenericMonitoringTool> TrigTauCaloHypoTool::m_monTool {this, "MonTool", "", "Monitoring tool"} |
|
private |
◆ m_ptMin
| Gaudi::Property<float> TrigTauCaloHypoTool::m_ptMin {this, "PtMin", 0, "Tau pT minimum cut"} |
|
private |
The documentation for this class was generated from the following files: