#include <CommonSelector.h>
|
| | CommonSelector ()=default |
| | Passes all.
|
| | CommonSelector (const std::string &et_low, const std::string &et_high, const std::string &eta_low, const std::string &eta_high, const std::string &phi_low, const std::string &phi_high) |
| | window limits from strings, to match the CommonTOB bitsets
|
| virtual | ~CommonSelector ()=default |
| virtual bool | select (const CommonTOB &) const override |
| virtual std::string | to_string () const override |
Definition at line 23 of file CommonSelector.h.
◆ CommonSelector() [1/2]
| GlobalSim::CommonSelector::CommonSelector |
( |
| ) |
|
|
default |
◆ CommonSelector() [2/2]
| GlobalSim::CommonSelector::CommonSelector |
( |
const std::string & | et_low, |
|
|
const std::string & | et_high, |
|
|
const std::string & | eta_low, |
|
|
const std::string & | eta_high, |
|
|
const std::string & | phi_low, |
|
|
const std::string & | phi_high ) |
window limits from strings, to match the CommonTOB bitsets
Definition at line 12 of file CommonSelector.cxx.
17 :
21
22 auto unsignedLong = [](const std::string & txt)->unsigned long{
23 if (txt == "inf") return ULONG_MAX;
24 return std::stoul(txt);
25 };
26
30 }
◆ ~CommonSelector()
| virtual GlobalSim::CommonSelector::~CommonSelector |
( |
| ) |
|
|
virtualdefault |
◆ select()
| bool GlobalSim::CommonSelector::select |
( |
const CommonTOB & | tob | ) |
const |
|
overridevirtual |
Implements GlobalSim::ICommonSelector.
Definition at line 33 of file CommonSelector.cxx.
33 {
34 {
35 auto et = tob.et_bits().to_ulong();
37 }
38
39 {
40 auto eta = tob.eta_bits().to_ulong();
42 }
43
44 {
45 auto phi = tob.phi_bits().to_ulong();
47 }
48
49 return true;
50 };
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method
float et(const xAOD::jFexSRJetRoI *j)
◆ to_string()
| std::string GlobalSim::CommonSelector::to_string |
( |
| ) |
const |
|
overridevirtual |
◆ m_et_high
| ulong GlobalSim::CommonSelector::m_et_high {ULONG_MAX} |
|
private |
◆ m_et_low
| ulong GlobalSim::CommonSelector::m_et_low {0} |
|
private |
◆ m_eta_high
| ulong GlobalSim::CommonSelector::m_eta_high {ULONG_MAX} |
|
private |
◆ m_eta_low
| ulong GlobalSim::CommonSelector::m_eta_low {0} |
|
private |
◆ m_phi_high
| ulong GlobalSim::CommonSelector::m_phi_high {ULONG_MAX} |
|
private |
◆ m_phi_low
| ulong GlobalSim::CommonSelector::m_phi_low {0} |
|
private |
The documentation for this class was generated from the following files: