#include <TrigTRTHTHhypoTool.h>
|
| HLT::Identifier | m_decisionId |
| Gaudi::Property< bool > | m_acceptAll { this, "AcceptAll", false , "Bins of eta" } |
| Gaudi::Property< unsigned int > | m_minTRTHTHitsRoad { this, "MinTRTHTHitsRoad", 20 , "Bins of eta" } |
| Gaudi::Property< float > | m_minHTratioRoad { this, "MinHTRatioRoad", 0.4 , "Bins of eta" } |
| Gaudi::Property< unsigned int > | m_minTRTHTHitsWedge { this, "MinTRTHTHitsWedge", 30 , "Bins of eta" } |
| Gaudi::Property< float > | m_minHTratioWedge { this, "MinHTRatioWedge", 0.5 , "Bins of eta" } |
| Gaudi::Property< bool > | m_doWedge { this, "DoWedge", true , "Bins of eta" } |
| Gaudi::Property< bool > | m_doRoad { this, "DoRoad", false , "Bins of eta" } |
| ToolHandle< GenericMonitoringTool > | m_monTool { this, "MonTool", "", "Monitoring tool" } |
Definition at line 18 of file TrigTRTHTHhypoTool.h.
◆ TrigTRTHTHhypoTool()
| TrigTRTHTHhypoTool::TrigTRTHTHhypoTool |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
Definition at line 11 of file TrigTRTHTHhypoTool.cxx.
14 : base_class(
type, name, parent ),
16{}
static HLT::Identifier fromToolName(const std::string &tname)
◆ decide() [1/2]
Definition at line 25 of file TrigTRTHTHhypoTool.cxx.
25 {
26
27 bool pass = false;
28
33 auto monitorIt =
Monitored::Group( m_monTool, fHT_road, fHT_wedge, trththits_road, trththits_wedge);
34
35 if( m_acceptAll ){
36 pass=true;
38 return pass;
39 }
40
41 auto rnn = input.rnnOutput;
42 std::vector<float>
vec = rnn->rnnDecision();
43
45 pass = true;
46 return pass;
47 }
48
49
50
52 fHT_wedge =
vec.at(3);
53 trththits_road =
vec.at(0);
54 trththits_wedge =
vec.at(2);
55
57 ATH_MSG_DEBUG (
"m_minTRTHTHitsRoad in hypotool: "<<m_minTRTHTHitsRoad);
59 ATH_MSG_DEBUG (
"m_minTRTHTHitsWedge in hypotool:: "<< m_minTRTHTHitsWedge);
61 ATH_MSG_DEBUG (
"m_minHTratioRoad in hypotool: "<<m_minHTratioRoad);
63 ATH_MSG_DEBUG (
"m_minHTratioWedge in hypotool: "<<m_minHTratioWedge);
64
65
66
67 if (fHT_road > m_minHTratioRoad && trththits_road > m_minTRTHTHitsRoad && m_doRoad) pass = true;
68
69 if (fHT_wedge > m_minHTratioWedge && trththits_wedge > m_minTRTHTHitsWedge && m_doWedge) pass = true;
70
72
73 return pass;
74
75}
std::vector< size_t > vec
Group of local monitoring quantities and retain correlation when filling histograms
Declare a monitored scalar variable.
◆ decide() [2/2]
◆ initialize()
| StatusCode TrigTRTHTHhypoTool::initialize |
( |
| ) |
|
|
overridevirtual |
◆ m_acceptAll
| Gaudi::Property< bool > TrigTRTHTHhypoTool::m_acceptAll { this, "AcceptAll", false , "Bins of eta" } |
|
private |
◆ m_decisionId
◆ m_doRoad
| Gaudi::Property< bool > TrigTRTHTHhypoTool::m_doRoad { this, "DoRoad", false , "Bins of eta" } |
|
private |
◆ m_doWedge
| Gaudi::Property< bool > TrigTRTHTHhypoTool::m_doWedge { this, "DoWedge", true , "Bins of eta" } |
|
private |
◆ m_minHTratioRoad
| Gaudi::Property< float > TrigTRTHTHhypoTool::m_minHTratioRoad { this, "MinHTRatioRoad", 0.4 , "Bins of eta" } |
|
private |
◆ m_minHTratioWedge
| Gaudi::Property< float > TrigTRTHTHhypoTool::m_minHTratioWedge { this, "MinHTRatioWedge", 0.5 , "Bins of eta" } |
|
private |
◆ m_minTRTHTHitsRoad
| Gaudi::Property< unsigned int > TrigTRTHTHhypoTool::m_minTRTHTHitsRoad { this, "MinTRTHTHitsRoad", 20 , "Bins of eta" } |
|
private |
◆ m_minTRTHTHitsWedge
| Gaudi::Property< unsigned int > TrigTRTHTHhypoTool::m_minTRTHTHitsWedge { this, "MinTRTHTHitsWedge", 30 , "Bins of eta" } |
|
private |
◆ m_monTool
| ToolHandle< GenericMonitoringTool > TrigTRTHTHhypoTool::m_monTool { this, "MonTool", "", "Monitoring tool" } |
|
private |
The documentation for this class was generated from the following files: