 |
ATLAS Offline Software
|
Go to the documentation of this file.
13 virtual bool cut(
const ulong&
v)
const override {
19 ss <<
"cut: " <<
m_cut <<
" op: < ";
30 virtual bool cut(
const ulong&
v)
const override {
36 ss <<
"cut: " <<
m_cut <<
" op: <= ";
47 virtual bool cut(
const ulong&
v)
const override {
53 ss <<
"cut: " <<
m_cut <<
" op: > ";
65 virtual bool cut(
const ulong&
v)
const override {
71 ss <<
"cut: " <<
m_cut <<
" op: >= ";
83 const std::string& op) {
85 auto cutter = std::unique_ptr<ICutter>(
nullptr);
88 cutter.reset(
new gt(
cut));
89 }
else if (op ==
">="){
90 cutter.reset(
new geq(
cut));
91 }
else if (op ==
"<"){
92 cutter.reset(
new lt(
cut));
93 }
else if (op ==
"<="){
94 cutter.reset(
new leq(
cut));
96 throw std::invalid_argument(
"unown operator " + op);
107 const std::string& rhad_op,
109 const std::string& reta_op,
111 const std::string& wstot_op) :
130 auto ss = std::stringstream();
virtual const std::bitset< s_RHad_width > & RHad_bits() const =0
Returns the eFexRoI Rhad threshold bits.
eEmSelector()=default
Passes all.
virtual bool cut(const ulong &v) const override
virtual const std::bitset< s_WsTot_width > & WsTot_bits() const =0
Returns the eFexRoI Wstot threshold bits.
virtual bool select(const IeEmTOB &) const override
virtual std::string to_string() const override
virtual bool cut(const ulong &v) const override
virtual std::string to_string() const override
virtual std::string to_string() const override
std::unique_ptr< ICutter > m_rhad_cutter
AlgTool to read in LArStripNeighborhoods, and run the ERatio Algorithm.
virtual bool cut(const ulong &v) const override
cut
This script demonstrates how to call a C++ class from Python Also how to use PyROOT is shown.
std::unique_ptr< ICutter > m_wstot_cutter
virtual bool cut(const ulong &v) const override
std::unique_ptr< ICutter > make_cutter(const ulong &cut, const std::string &op)
virtual const std::bitset< s_REta_width > & REta_bits() const =0
Returns the eFexRoI REta threshold bits.
Class to hold eFexROI TOB bits.
virtual std::string to_string() const override
virtual std::string to_string() const override
std::unique_ptr< ICutter > m_reta_cutter