Go to the documentation of this file.
13 const std::vector<OffEle>& eles = evt.
eles();
15 for (
auto const& ele : eles) {
44 const std::vector<OffEle>& eles = evt.
eles();
46 for (
auto const& ele : eles) {
75 const OffPho* tagPho =
nullptr;
76 const std::vector<OffPho>& phos = evt.
phos();
78 for (
auto const& pho : phos) {
99 const std::vector<OffEle>& eles = evt.
eles();
100 for (
auto const& ele : eles) {
104 if ((diEleCutCode &
cutCode_) == 0x0)
112 const std::vector<OffPho>& phos = evt.
phos();
113 for (
auto const& pho : phos) {
117 if ((diPhoCutCode &
cutCode_) == 0x0)
bool pass(const OffPho &obj, const OffEvt &evt) const override
TrigCodes::TrigBitSet trigBits() const
TrigCodes::TrigBitSet bitsToPass_
const std::vector< OffPho > & phos() const
TrigCodes::TrigBitSet bit1ToPass_
TrigCodes::TrigBitSet trigBits() const
const math::XYZTLorentzVector & p4() const
int(OffEle::* cutCodeFunc_)() const
TrigCodes::TrigBitSet bit2ToPass_
int(OffPho::* cutCodeFunc_)() const
int(OffEle::* cutCodeFunc_)() const
bool pass(const OffEle &ele, const OffEvt &evt) const override
int(OffEle::* cutCodeFunc_)() const
TrigCodes::TrigBitSet bit2ToPass_
constexpr auto deltaR2(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
int(OffPho::* cutCodeFunc_)() const
const math::XYZTLorentzVector & p4() const
bool pass(const OffEle &obj, const OffEvt &evt) const override
const std::vector< OffEle > & eles() const
bool pass(const OffEle &ele, const OffEvt &evt) const override
TrigCodes::TrigBitSet bit1ToPass_
bool pass(const OffPho &pho, const OffEvt &evt) const override