AlgTool to count GlobalSim::IOBitwise::eEmTOB objects.
More...
#include <CommonSortSelectAlgTool.h>
AlgTool to count GlobalSim::IOBitwise::eEmTOB objects.
Definition at line 29 of file CommonSortSelectAlgTool.h.
◆ CommonSortSelectAlgTool()
| GlobalSim::CommonSortSelectAlgTool::CommonSortSelectAlgTool |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ ~CommonSortSelectAlgTool()
| virtual GlobalSim::CommonSortSelectAlgTool::~CommonSortSelectAlgTool |
( |
| ) |
|
|
overridevirtualdefault |
◆ dump()
| void GlobalSim::CommonSortSelectAlgTool::dump |
( |
| ) |
const |
|
private |
◆ initialize()
| StatusCode GlobalSim::CommonSortSelectAlgTool::initialize |
( |
| ) |
|
|
overridevirtual |
◆ run()
| StatusCode GlobalSim::CommonSortSelectAlgTool::run |
( |
const EventContext & |
ctx | ) |
const |
|
overridevirtual |
Definition at line 39 of file CommonSortSelectAlgTool.cxx.
44 CHECK(tobs.isValid());
49 std::make_unique<IOBitwise::ICommonTOBContainer>(tobs->size());
53 std::back_inserter(*out_tobs),
58 <<
" " << out_tobs->size());
61 out_tobs->resize(
std::min(maxTOBs, out_tobs->size()));
65 [](
const auto&
l,
const auto&
r) {
66 return l->et_bits().to_ulong() <
r->et_bits().to_ulong();
72 CHECK(h_out.record(std::move(out_tobs)));
74 return StatusCode::SUCCESS;
◆ toString()
| std::string GlobalSim::CommonSortSelectAlgTool::toString |
( |
| ) |
const |
|
overridevirtual |
◆ m_c_selector
| std::unique_ptr<ICommonSelector> GlobalSim::CommonSortSelectAlgTool::m_c_selector {nullptr} |
|
private |
◆ m_enableDump
| Gaudi::Property<bool> GlobalSim::CommonSortSelectAlgTool::m_enableDump |
|
private |
◆ m_et_high_str
| Gaudi::Property<std::string> GlobalSim::CommonSortSelectAlgTool::m_et_high_str |
|
private |
◆ m_et_low_str
| Gaudi::Property<std::string> GlobalSim::CommonSortSelectAlgTool::m_et_low_str |
|
private |
◆ m_eta_high_str
| Gaudi::Property<std::string> GlobalSim::CommonSortSelectAlgTool::m_eta_high_str |
|
private |
◆ m_eta_low_str
| Gaudi::Property<std::string> GlobalSim::CommonSortSelectAlgTool::m_eta_low_str |
|
private |
◆ m_inTOBContainerKey
Initial value:{
this,
"inTOBs",
"inTOBs",
"Key for GlobalSim CommonTOB container"}
Definition at line 48 of file CommonSortSelectAlgTool.h.
◆ m_maxTOBs
| Gaudi::Property<std::size_t> GlobalSim::CommonSortSelectAlgTool::m_maxTOBs |
|
private |
Initial value:{
this,
"maxTOBs",
10,
"max number of TOBs in to be passed to client"}
Definition at line 100 of file CommonSortSelectAlgTool.h.
◆ m_menu_name
| Gaudi::Property<std::string> GlobalSim::CommonSortSelectAlgTool::m_menu_name |
|
private |
◆ m_outTOBContainerKey
Initial value:{
this,
"outTOBs",
"outTOBs",
"Key for GlobalSim CommonTOB container"}
Definition at line 56 of file CommonSortSelectAlgTool.h.
◆ m_phi_high_str
| Gaudi::Property<std::string> GlobalSim::CommonSortSelectAlgTool::m_phi_high_str |
|
private |
◆ m_phi_low_str
| Gaudi::Property<std::string> GlobalSim::CommonSortSelectAlgTool::m_phi_low_str |
|
private |
The documentation for this class was generated from the following files:
void sort(typename std::reverse_iterator< DataModel_detail::iterator< DVL > > beg, typename std::reverse_iterator< DataModel_detail::iterator< DVL > > end, const Compare &comp)
Specialization of sort for DataVector/List.