#include <TrigHIFwdGapHypoTool.h>
|
| HLT::Identifier | m_decisionId |
| Gaudi::Property< float > | m_maxFCalEt {this, "maxFCalEt", 10., "upper limit on FCal ET in GeV"} |
| Gaudi::Property< bool > | m_useDoubleSidedGap {this, "useDoubleSidedGap", false, "use double- or one-sided gap calculation"} |
| Gaudi::Property< bool > | m_useSideA {this, "useSideA", true, "use side A for one-sided gap calculation"} |
Definition at line 15 of file TrigHIFwdGapHypoTool.h.
◆ TrigHIFwdGapHypoTool()
| TrigHIFwdGapHypoTool::TrigHIFwdGapHypoTool |
( |
const std::string & | type, |
|
|
const std::string & | name, |
|
|
const IInterface * | parent ) |
Definition at line 10 of file TrigHIFwdGapHypoTool.cxx.
12 :
13 base_class(type, name, parent),
static HLT::Identifier fromToolName(const std::string &tname)
◆ ~TrigHIFwdGapHypoTool()
| virtual TrigHIFwdGapHypoTool::~TrigHIFwdGapHypoTool |
( |
| ) |
|
|
inlinevirtual |
◆ decide()
Definition at line 27 of file TrigHIFwdGapHypoTool.cxx.
27 {
29
30 float totalFCalEtSideA = 0.;
31 float totalFCalEtSideC = 0.;
33 const int layer = es->layer();
34 if (layer < 21 or layer > 23) {
35 continue;
36 }
37
38 const float et = es->et();
39 if (std::abs(
et) < 0.1) {
40 continue;
41 }
42
43 const float eta = 0.5 * (es->etaMin() + es->etaMax());
45 totalFCalEtSideA +=
et;
46 }
47 else {
48 totalFCalEtSideC +=
et;
49 }
50 }
51
52 ATH_MSG_DEBUG(
"Total FCal ET: side A = " << totalFCalEtSideA <<
" MeV, side C = " << totalFCalEtSideC <<
" MeV");
56 }
57 else {
61 }
62 else {
65 }
66 }
67
68 return StatusCode::SUCCESS;
69}
Scalar eta() const
pseudorapidity method
float et(const xAOD::jFexSRJetRoI *j)
HIEventShape_v2 HIEventShape
Definition of the latest event info version.
◆ finalize()
| StatusCode TrigHIFwdGapHypoTool::finalize |
( |
| ) |
|
|
overridevirtual |
◆ getId()
◆ initialize()
| StatusCode TrigHIFwdGapHypoTool::initialize |
( |
| ) |
|
|
overridevirtual |
◆ m_decisionId
◆ m_maxFCalEt
| Gaudi::Property<float> TrigHIFwdGapHypoTool::m_maxFCalEt {this, "maxFCalEt", 10., "upper limit on FCal ET in GeV"} |
|
private |
◆ m_useDoubleSidedGap
| Gaudi::Property<bool> TrigHIFwdGapHypoTool::m_useDoubleSidedGap {this, "useDoubleSidedGap", false, "use double- or one-sided gap calculation"} |
|
private |
Definition at line 36 of file TrigHIFwdGapHypoTool.h.
36{this, "useDoubleSidedGap", false, "use double- or one-sided gap calculation"};
◆ m_useSideA
| Gaudi::Property<bool> TrigHIFwdGapHypoTool::m_useSideA {this, "useSideA", true, "use side A for one-sided gap calculation"} |
|
private |
Definition at line 37 of file TrigHIFwdGapHypoTool.h.
37{this, "useSideA", true, "use side A for one-sided gap calculation"};
The documentation for this class was generated from the following files: