ATLAS Offline Software
|
#include <Trigger.h>
Classes | |
struct | Optional |
Public Member Functions | |
Trigger () | |
void | setDefinition (const ImportData::TrigDef &def) |
template<bool = true> | |
std::size_t | operator() (void) const |
std::size_t | operator() (unsigned index) const |
template<bool = true> | |
std::size_t | operator< (const Trigger &rhs) const |
operator bool () const | |
bool | operator== (const Trigger &rhs) const |
template<xAOD::Type::ObjectType obj = object()> | |
constexpr auto | cbegin () const |
template<xAOD::Type::ObjectType obj = object()> | |
constexpr auto | cend () const |
template<typename Trig1L > | |
auto | hiddenBy (const Trig1L trig) const -> typename std::enable_if< Trig1L::is1L(), bool >::type |
template<typename Trig1L > | |
auto | hiddenBy (const flat_set< Trig1L > &trigs) const -> typename std::enable_if< Trig1L::is1L(), bool >::type |
template<xAOD::Type::ObjectType obj, bool anti = false> | |
auto | side () const -> std::conditional_t< anti ^(CastType1::object()==obj), CastType1, CastType2 > |
Returns a pseudo trigger built only from the legs of flavour 'obj' If anti==true, uses instead only legs with flavours other than 'obj'. More... | |
template<typename TrigX > | |
auto | side () const -> decltype(side< TrigX::object()>()) |
Returns a pseudo trigger built only from the legs of the same flavour as the trigger 'TrigX'. More... | |
template<typename TrigX > | |
auto | antiside () const -> decltype(side< TrigX::object(), true >()) |
Complement to the previous function. More... | |
CastType1 | side1 () const |
Returns a pseudo trigger of type CastType1/2. More... | |
CastType2 | side2 () const |
template<typename Trig1L > | |
auto | addTo (const flat_set< Trig1L > &trigs1L) const -> std::enable_if_t< Trig1L::is1L() &&nDistinctLegs(Trig1L::object())==1, flat_set< Trig1L >> |
template<bool = true> | |
bool | symmetric () const |
template<bool = true> | |
CastType1 | to_symmetric () const |
template<bool = true> | |
std::size_t | asymLeg () const |
template<bool = true> | |
std::size_t | symLeg () const |
Static Public Member Functions | |
static constexpr TriggerType | type () |
static constexpr bool | mixed () |
static constexpr unsigned | nDistinctLegs () |
static constexpr unsigned | nDistinctLegs (xAOD::Type::ObjectType obj) |
static constexpr xAOD::Type::ObjectType | object1 () |
static constexpr xAOD::Type::ObjectType | object2 () |
static constexpr xAOD::Type::ObjectType | object () |
static bool | relevantFor (const Lepton &lepton) |
static bool | irrelevantFor (const Lepton &lepton) |
static constexpr bool | is1L () |
static constexpr bool | is2Lnomix () |
static constexpr bool | is2Lasym () |
static constexpr bool | is2Lsym () |
static constexpr bool | is3Lsym () |
static constexpr bool | is3Lhalfsym () |
static constexpr bool | is2Lmix () |
static constexpr bool | is3Lmix () |
static constexpr bool | is4Lsym () |
template<typename Trig1L > | |
static auto | anonymize (const flat_set< Trig1L > &triggers) -> std::enable_if_t< is1L() &&tt==Trig1L::type(), const flat_set< std::size_t > & > |
Public Attributes | |
std::array< std::size_t, nDistinctLegs()> | legs |
Static Private Member Functions | |
static constexpr bool | extraCheck (xAOD::Type::ObjectType obj) |
|
inlineexplicit |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
Definition at line 294 of file Trigger.h.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlinestaticconstexprprivate |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
inlineexplicit |
|
inline |
|
inline |
Definition at line 192 of file Trigger.h.
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
Returns a pseudo trigger built only from the legs of flavour 'obj' If anti==true, uses instead only legs with flavours other than 'obj'.
Definition at line 246 of file Trigger.h.
|
inline |
|
inline |
|
inline |
Definition at line 300 of file Trigger.h.
|
inline |
|
inline |
Definition at line 286 of file Trigger.h.
|
inlinestaticconstexpr |
std::array<std::size_t, nDistinctLegs()> TrigGlobEffCorr::Trigger< tt, CastType1, CastType2 >::legs |