ATLAS Offline Software
Namespaces | Classes | Typedefs | Enumerations | Functions
HLT Namespace Reference

It used to be useful piece of code for replacing actual SG with other store of similar functionality In fact it used to be more like interface adapter for ARA objects access, nevertheless since the ARA project is gone it is only an unnecessary extra layer. More...

Namespaces

 MET
 
 StringSerializer
 
 TrigNavTools
 
 TypeInformation
 

Classes

struct  Action
 
struct  AuxInit
 
class  BaseHolder
 
class  Chain
 
class  CombinationGenerator
 
class  CombinationIterator
 
class  ComboIterator
 Iterator used to loop over multi-particle combinations. More...
 
class  ComboIteratorBase
 Base class for iterator used to loop over multi-particle combinations. More...
 
class  ComboIteratorTopo
 
struct  ConfigJetEThreshold
 
struct  ConfigThreshold
 
class  EMTauRoI
 
class  ErrorCode
 The definition of error codes in HLT. This is a class (note; before was simple enum) to enable safer operations. Each ErrorCode is composed out of 3 parts: More...
 
struct  FeatureContainerInit
 
class  FullHolderFactory
 
class  HLTExtraData
 Class representing the HLT extra payload stored in HLT::HLTResult::getExtras() More...
 
class  HLTResult
 HLT::HLTResult is sumarising result of trigger decision evaluation (online/offline) It contains basically 3 parts: More...
 
class  HLTResult_p1
 
class  HLTResultByteStreamCnv
 Gaudi bytestream Converter for the HLTResult class. More...
 
class  HLTResultByteStreamTool
 
class  HLTResultCnv_p1
 
class  HLTResultMT
 A container class for data required to build online output from HLT. More...
 
class  HLTResultMTByteStreamCnv
 ByteStream converter for HLTResultMT. More...
 
class  HLTRoI
 
class  HLTSrcIdMap
 this class provides conversion between Lower level Source ID to higher level source ID for HLT ByteStream fragments. More...
 
class  Identifier
 
class  ILvl1ResultAccessTool
 
struct  ITrigHolderFactory
 
class  JetEnergyRoI
 
class  LoopThread
 Helper class to manage a long-running thread (duration of event loop) More...
 
class  Lvl1ResultAccessTool
 
class  MuonRoI
 
class  Navigation
 The Navigation class, organizes TriggerElements into the tree structure. More...
 
class  NavigationCore
 The NavigationCore class, adds on top of the TrigNavStructure the EDM read-only handling. More...
 
class  NestedUniqueCombinationGenerator
 An ensemble of UniqueCombinationGenerator API description. More...
 
struct  Reason
 
struct  RegisterAuxType
 
struct  RegisterFeatureContainerTypes
 
class  RobRequestInfo
 
class  StandaloneNavigation
 
struct  SteeringInternalReason
 
class  TriggerElement
 TriggerElement is the basic ingreedient of the interface between HLT algorithms and the navigation It holds navigation links by itself but they are not exposed. More...
 
class  TriggerElementFactory
 The factory of TriggerElements Creation in controlled way. More...
 
class  TrigHolderStructure
 
class  TrigNavStructure
 
class  TypedHolder
 doubly templated class interfacing access to feature containers in StoreGate. More...
 
class  TypedHolder< TrigRoiDescriptor, TrigRoiDescriptorCollection >
 
class  TypelessHolder
 
class  TypeMaps
 Type registration of holder, proxies and name/CLID mappings. More...
 
class  UniqueCombinationGenerator
 Generator of unique combinations (no indices are repeated) API description. More...
 

Typedefs

typedef StoreGateSvc AccessProxy
 
typedef uint32_t teid_type
 
typedef uint16_t sub_index_type
 
typedef uint32_t index_type
 
typedef uint32_t class_id_type
 
typedef std::vector< HLT::TriggerElement * > TEVec
 
typedef uint32_t te_id_type
 
typedef std::variant< sub_index_type, std::string > index_or_label_type
 
typedef std::vector< size_t > Index1DVec
 Unique combinations for case when one can not repeat the index (i.e. More...
 
typedef std::vector< Index1DVecIndex2DVec
 
typedef std::vector< HLT::IdentifierIDVec
 
typedef std::set< HLT::IdentifierIDSet
 
typedef std::map< HLT::Identifier, IDVecIDtoIDVecMap
 

Enumerations

enum  JetRoIType {
  Unknown, JetRoI, ForwardJetRoI, JetEtRoI,
  TotalEtRoI, MissingEtRoI, METSignificanceRoI, MissingOrTotalEtRoI
}
 
enum  ChainStatus { ChainInvalid =0, ConfigOnlyChain, ChainOK }
 
enum  HLTLevel { L2 = 0, EF, HLT, UNKNOWN }
 
enum  OnlineErrorCode : uint32_t {
  OnlineErrorCode::UNCLASSIFIED = 0, OnlineErrorCode::BEFORE_NEXT_EVENT = 1, OnlineErrorCode::CANNOT_RETRIEVE_EVENT = 2, OnlineErrorCode::NO_EVENT_INFO = 3,
  OnlineErrorCode::SCHEDULING_FAILURE = 4, OnlineErrorCode::CANNOT_ACCESS_SLOT = 5, OnlineErrorCode::PROCESSING_FAILURE = 6, OnlineErrorCode::NO_HLT_RESULT = 7,
  OnlineErrorCode::OUTPUT_BUILD_FAILURE = 8, OnlineErrorCode::OUTPUT_SEND_FAILURE = 9, OnlineErrorCode::AFTER_RESULT_SENT = 10, OnlineErrorCode::COOL_UPDATE = 11,
  OnlineErrorCode::TIMEOUT = 12, OnlineErrorCode::RESULT_TRUNCATION = 13, OnlineErrorCode::MISSING_CTP_FRAGMENT = 14, OnlineErrorCode::BAD_CTP_FRAGMENT = 15,
  OnlineErrorCode::SCHEDULER_POP_FAILURE = 16
}
 

Functions

MsgStream & operator<< (MsgStream &m, const Navigation &nav)
 
MsgStream & operator<< (MsgStream &m, const NavigationCore &nav)
 
MsgStream & operator<< (MsgStream &, const Chain &)
 Overload of << operator for both, MsgStream and std::ostream. More...
 
std::ostream & operator<< (std::ostream &, const Chain &)
 Overload of << operator for both, MsgStream and std::ostream. More...
 
std::string strErrorCode (const ErrorCode code)
 
int getErrorCodePosFromStr (const std::string &ec)
 
void reportErrorCode (ErrorCode &e1, ErrorCode e2)
 
void swap (HLTExtraData &, HLTExtraData &)
 
void swap (HLTResult &lhs, HLTResult &rhs)
 
constexpr std::string_view OnlineErrorCodeToString (const OnlineErrorCode code)
 
std::ostream & operator<< (std::ostream &os, const HLT::OnlineErrorCode code)
 
constexpr bool isEventProcessingErrorCode (const OnlineErrorCode code)
 
template<class CONTAINER >
TrigPassBitsmakeTrigPassBits (const CONTAINER *cont)
 
template<class T , class CONTAINER >
void markPassing (TrigPassBits *bits, const T *obj, const CONTAINER *container)
 Set the bit for the object in the associated bits object. More...
 
template<class T , class CONTAINER >
bool isPassing (const TrigPassBits *bits, const T *obj, const CONTAINER *container)
 Check the bit for the object in the associated bits object. More...
 
template<class CONTAINER >
TrigPassFlagsmakeTrigPassFlags (const CONTAINER *cont, const unsigned int flagSize)
 
template<class T , class CONTAINER >
void setFlagBit (TrigPassFlags *flags, const T *obj, const CONTAINER *container, const unsigned int bitPosition, const bool bitValue=true)
 Set bit of the flag at index position for a given TrigPassFlags object. More...
 
template<class T , class CONTAINER >
void setFlag (TrigPassFlags *flags, const T *obj, const CONTAINER *container, const std::vector< bool > &flag)
 Set the flag at index position. More...
 
template<class T , class CONTAINER >
bool getFlagBit (const TrigPassFlags *flags, const T *obj, const CONTAINER *container, const unsigned int position, const unsigned int bitPosition)
 Returns the bit 'bitPosition' of the flag at index position. More...
 
template<class T , class CONTAINER >
const std::vector< bool > & getFlag (const TrigPassFlags *flags, const T *obj, const CONTAINER *container, const size_t position)
 Returns the flag at index position. More...
 
template<typename T >
std::vector< bool > AsFlag (T flag_t, const size_t size)
 
template<typename T >
FlagAs (const std::vector< bool > &flag)
 
void elementsInUniqueCombinations (const Index2DVec &indices, std::set< size_t > &participants, std::function< bool(const Index1DVec &)> &&filter)
 
void findUniqueCombinations (const Index2DVec &indices, std::vector< std::vector< size_t > > &combinations, std::function< bool(const Index1DVec &)> &&filter=[](const Index1DVec &){ return true;})
 Creates unique combinations of elements. More...
 

Detailed Description

It used to be useful piece of code for replacing actual SG with other store of similar functionality In fact it used to be more like interface adapter for ARA objects access, nevertheless since the ARA project is gone it is only an unnecessary extra layer.

An trigger identifier class, used to provide mapping fromt the human readable IDs to efficienct unsigned ints.

Helper functions to be used by the Hypo algorithms.

Classes used to provide static Trigger EDM list.

The polimorphic dispatch only created unnecessary overhead.

This code is from Scott Snyder

Typedef Documentation

◆ AccessProxy

Definition at line 17 of file AccessProxy.h.

◆ class_id_type

typedef uint32_t HLT::class_id_type

◆ IDSet

typedef std::set<HLT::Identifier> HLT::IDSet

◆ IDtoIDVecMap

◆ IDVec

typedef std::vector<HLT::Identifier> HLT::IDVec

◆ Index1DVec

typedef std::vector<size_t> HLT::Index1DVec

Unique combinations for case when one can not repeat the index (i.e.

for N same-object kind of triggers)

Function find all elements of the decisions which take part in succesfull unique combinations The combinations are formed from the content of each of the "indices" subvector. The index never repeats in the combination.

  • decsions - stores indices of objects which succesfully pass selection
  • participants - set of indices which contribute to any valid combination found (useful tor marking passing RoIs)
  • filter - additional combinations filter (can be used to implement additional constraint on the objects) Another approach would be to make a generator object like above, we shall see which approach works better.

Definition at line 139 of file TrigCompositeUtils/TrigCompositeUtils/Combinators.h.

◆ Index2DVec

typedef std::vector< Index1DVec > HLT::Index2DVec

◆ index_or_label_type

typedef std::variant<sub_index_type,std::string> HLT::index_or_label_type

◆ index_type

typedef uint32_t HLT::index_type

◆ sub_index_type

typedef uint16_t HLT::sub_index_type

◆ te_id_type

typedef uint32_t HLT::te_id_type

◆ teid_type

typedef uint32_t HLT::teid_type

◆ TEVec

typedef std::vector<HLT::TriggerElement*> HLT::TEVec

Definition at line 14 of file ComboIterator.h.

Enumeration Type Documentation

◆ ChainStatus

Enumerator
ChainInvalid 
ConfigOnlyChain 
ChainOK 

Definition at line 51 of file Chain.h.

◆ HLTLevel

Enumerator
L2 
EF 
HLT 
UNKNOWN 

Definition at line 173 of file Trigger/TrigEvent/TrigSteeringEvent/TrigSteeringEvent/Enums.h.

173 { L2 = 0, EF, HLT, UNKNOWN };

◆ JetRoIType

Enumerator
Unknown 
JetRoI 
ForwardJetRoI 
JetEtRoI 
TotalEtRoI 
MissingEtRoI 
METSignificanceRoI 
MissingOrTotalEtRoI 

Definition at line 36 of file Lvl1ItemsAndRoIs.h.

45 : public ConfigThreshold {

◆ OnlineErrorCode

enum HLT::OnlineErrorCode : uint32_t
strong
Enumerator
UNCLASSIFIED 
BEFORE_NEXT_EVENT 
CANNOT_RETRIEVE_EVENT 
NO_EVENT_INFO 
SCHEDULING_FAILURE 
CANNOT_ACCESS_SLOT 
PROCESSING_FAILURE 
NO_HLT_RESULT 
OUTPUT_BUILD_FAILURE 
OUTPUT_SEND_FAILURE 
AFTER_RESULT_SENT 
COOL_UPDATE 
TIMEOUT 
RESULT_TRUNCATION 
MISSING_CTP_FRAGMENT 
BAD_CTP_FRAGMENT 
SCHEDULER_POP_FAILURE 

Definition at line 15 of file OnlineErrorCode.h.

15  : uint32_t {
16  UNCLASSIFIED = 0,
19  NO_EVENT_INFO = 3,
23  NO_HLT_RESULT = 7,
26  AFTER_RESULT_SENT = 10,
27  COOL_UPDATE = 11,
28  TIMEOUT = 12,
29  RESULT_TRUNCATION = 13,
31  BAD_CTP_FRAGMENT = 15,
33  };

Function Documentation

◆ AsFlag()

template<typename T >
std::vector<bool> HLT::AsFlag ( flag_t,
const size_t  size 
)

Definition at line 153 of file TrigPassFlags.h.

153  { // T should be an unsigned type, otherwise this will give a compilation warning
154  if(size>8*sizeof(T)) // check of T has at list 'size' bits
155  throw std::runtime_error("AsFlag(): type T has less bits than required by 'size'");
156  if(flag_t >= ( ((unsigned long long)1)<<size) ) // check of T has at least 'size' bits (with 'size' bits '1<<size' is the lowest number I can not represent.)
157  throw std::runtime_error("AsFlag(): the flag is larger then bits available");
158 
159 
160  std::vector<bool> flag(size);
161  int mask = 0x01;
162  for(size_t idx=0; idx<size; ++idx, mask<<=1)
163  flag[idx] = (flag_t&mask)!=0;
164  return flag;
165  }

◆ elementsInUniqueCombinations()

void HLT::elementsInUniqueCombinations ( const Index2DVec indices,
std::set< size_t > &  participants,
std::function< bool(const Index1DVec &)> &&  filter 
)

Definition at line 154 of file Combinators.cxx.

154  {
155  auto handle = [&](const Index1DVec& combination ) { for ( auto el: combination ) participants.insert(participants.begin(), el); };
156  combMaker( indices, std::move(handle), std::move(filter) );
157  }

◆ findUniqueCombinations()

void HLT::findUniqueCombinations ( const Index2DVec indices,
std::vector< std::vector< size_t > > &  combinations,
std::function< bool(const Index1DVec &)> &&  filter = [](const Index1DVec &){ return true;} 
)

Creates unique combinations of elements.

  • combinations - all calid combinations For desciption
    See also
    elementsInUnuqueCombinations, this method is different as it exposes all combinations formed

Definition at line 159 of file Combinators.cxx.

159  {
160  auto handle = [&](const Index1DVec& combination ) { combinations.push_back( combination ); };
161  combMaker( indices, std::move(handle), std::move(filter) );
162  }

◆ FlagAs()

template<typename T >
T HLT::FlagAs ( const std::vector< bool > &  flag)

Definition at line 168 of file TrigPassFlags.h.

168  {
169  if(8*sizeof(T)<flag.size()) // check of T has enough bits to represent flag
170  throw std::runtime_error("FlagAs(): the flag size does not fit into the requested type");
171  T v = 0;
172  int mask = 0x01;
173  for(size_t idx=0; idx<flag.size(); ++idx, mask<<=1)
174  if(flag[idx]) v += mask;
175  return v;
176  }

◆ getErrorCodePosFromStr()

int HLT::getErrorCodePosFromStr ( const std::string &  ec)

Definition at line 105 of file Enums.cxx.

105  {
106  std::istringstream ss(ec);
107 
108  std::string actionStr;
109  std::string reasonStr;
110  std::string steeringStr;
111 
112  // parse input
113  ss >> actionStr >> steeringStr >> reasonStr;
114 
115 
116  Action::Code actionCode = getActionFromString(actionStr);
117 
118  if ( actionCode == Action::UNSPECIFIED_ )
119  return -1;
120 
121  Reason::Code reasonCode = getReasonFromString(reasonStr);
122  if ( reasonCode == Reason::UNSPECIFIED_ )
123  return -1;
124 
125 
127  if ( steeringCode == SteeringInternalReason::UNSPECIFIED_ )
128  return -1;
129 
130  return ErrorCode(actionCode, reasonCode, steeringCode );
131 }

◆ getFlag()

template<class T , class CONTAINER >
const std::vector<bool>& HLT::getFlag ( const TrigPassFlags flags,
const T *  obj,
const CONTAINER *  container,
const size_t  position 
)

Returns the flag at index position.

Definition at line 145 of file TrigPassFlags.h.

145  {
146  typename CONTAINER::const_iterator i = std::find(container->begin(), container->end(), obj);
147  if ( i != container->end() )
148  return flags->getFlag(i-container->begin(),position);
149  throw std::runtime_error("The CONTAINER passed does not match the CONTAINER that created the TrigPassFlags");
150  }

◆ getFlagBit()

template<class T , class CONTAINER >
bool HLT::getFlagBit ( const TrigPassFlags flags,
const T *  obj,
const CONTAINER *  container,
const unsigned int  position,
const unsigned int  bitPosition 
)

Returns the bit 'bitPosition' of the flag at index position.

Definition at line 134 of file TrigPassFlags.h.

134  {
135  typename CONTAINER::const_iterator i = std::find(container->begin(), container->end(), obj);
136  if ( i != container->end() )
137  return flags->getFlagBit(i-container->begin(),position, bitPosition);
138  throw std::runtime_error("The CONTAINER passed does not match the CONTAINER that created the TrigPassFlags");
139  }

◆ isEventProcessingErrorCode()

constexpr bool HLT::isEventProcessingErrorCode ( const OnlineErrorCode  code)
constexpr
Returns
true if code corresponds to an issue with event data or in processing algorithms, false if code corresponds to a failure of an online framework component

Definition at line 70 of file OnlineErrorCode.h.

70  {
71  switch (code) {
72  case OnlineErrorCode::PROCESSING_FAILURE:
73  case OnlineErrorCode::TIMEOUT:
74  case OnlineErrorCode::RESULT_TRUNCATION:
75  case OnlineErrorCode::MISSING_CTP_FRAGMENT:
76  case OnlineErrorCode::BAD_CTP_FRAGMENT:
77  return true;
78  default:
79  return false;
80  }
81  }

◆ isPassing()

template<class T , class CONTAINER >
bool HLT::isPassing ( const TrigPassBits bits,
const T *  obj,
const CONTAINER *  container 
)

Check the bit for the object in the associated bits object.

Definition at line 82 of file Trigger/TrigEvent/TrigSteeringEvent/TrigSteeringEvent/TrigPassBits.h.

82  {
83  typename CONTAINER::const_iterator i = std::find(container->begin(), container->end(), obj);
84  if ( i != container->end() )
85  return bits->isPassing(i-container->begin());
86  else
87  throw std::runtime_error("When checking that object passed the trigger found object not from container");
88  return false;
89  }

◆ makeTrigPassBits()

template<class CONTAINER >
TrigPassBits* HLT::makeTrigPassBits ( const CONTAINER *  cont)

Definition at line 57 of file Trigger/TrigEvent/TrigSteeringEvent/TrigSteeringEvent/TrigPassBits.h.

57  {
58  return new TrigPassBits(cont->size(), (const void*)cont );
59  }

◆ makeTrigPassFlags()

template<class CONTAINER >
TrigPassFlags* HLT::makeTrigPassFlags ( const CONTAINER *  cont,
const unsigned int  flagSize 
)

Definition at line 96 of file TrigPassFlags.h.

96  {
97  return new TrigPassFlags(cont->size(), flagSize, (const void*)cont );
98  }

◆ markPassing()

template<class T , class CONTAINER >
void HLT::markPassing ( TrigPassBits bits,
const T *  obj,
const CONTAINER *  container 
)

Set the bit for the object in the associated bits object.

The helper function should be used in the HLT algorithms instead of the raw TrigPassBits accessors.

Definition at line 69 of file Trigger/TrigEvent/TrigSteeringEvent/TrigSteeringEvent/TrigPassBits.h.

69  {
70  typename CONTAINER::const_iterator i = std::find(container->begin(), container->end(), obj);
71  if ( i != container->end() )
72  bits->markPassing(i-container->begin(), container);
73  else
74  throw std::runtime_error("When marking object as passing the trigger found object not from container");
75  }

◆ OnlineErrorCodeToString()

constexpr std::string_view HLT::OnlineErrorCodeToString ( const OnlineErrorCode  code)
constexpr

Definition at line 39 of file OnlineErrorCode.h.

39  {
40  switch (code) {
42  OnlineErrorCodeSwitchCase(BEFORE_NEXT_EVENT);
43  OnlineErrorCodeSwitchCase(CANNOT_RETRIEVE_EVENT);
44  OnlineErrorCodeSwitchCase(NO_EVENT_INFO);
45  OnlineErrorCodeSwitchCase(SCHEDULING_FAILURE);
46  OnlineErrorCodeSwitchCase(CANNOT_ACCESS_SLOT);
47  OnlineErrorCodeSwitchCase(PROCESSING_FAILURE);
48  OnlineErrorCodeSwitchCase(NO_HLT_RESULT);
49  OnlineErrorCodeSwitchCase(OUTPUT_BUILD_FAILURE);
50  OnlineErrorCodeSwitchCase(OUTPUT_SEND_FAILURE);
51  OnlineErrorCodeSwitchCase(AFTER_RESULT_SENT);
52  OnlineErrorCodeSwitchCase(COOL_UPDATE);
54  OnlineErrorCodeSwitchCase(RESULT_TRUNCATION);
55  OnlineErrorCodeSwitchCase(MISSING_CTP_FRAGMENT);
56  OnlineErrorCodeSwitchCase(BAD_CTP_FRAGMENT);
57  OnlineErrorCodeSwitchCase(SCHEDULER_POP_FAILURE);
58  default: return "UNDEFINED_OnlineErrorCode"; break;
59  }
60  }

◆ operator<<() [1/5]

MsgStream & HLT::operator<< ( MsgStream &  msg,
const Chain c 
)

Overload of << operator for both, MsgStream and std::ostream.

Definition at line 144 of file Chain.cxx.

145 {
146  c.print(msg);
147  return msg;
148 }

◆ operator<<() [2/5]

MsgStream & HLT::operator<< ( MsgStream &  m,
const Navigation nav 
)

Definition at line 168 of file Navigation.cxx.

168  {
169  m << (NavigationCore&)nav;
170  return m;
171 }

◆ operator<<() [3/5]

MsgStream & HLT::operator<< ( MsgStream &  m,
const NavigationCore nav 
)

Definition at line 52 of file NavigationCore.cxx.

52  {
53  std::string str;
54  nav.printASCIIArt(str);
55 
56  m << str;
57  return m;
58 }

◆ operator<<() [4/5]

std::ostream & HLT::operator<< ( std::ostream &  os,
const Chain c 
)

Overload of << operator for both, MsgStream and std::ostream.

Definition at line 139 of file Chain.cxx.

140 {
141  c.print(os);
142  return os;
143 }

◆ operator<<() [5/5]

std::ostream& HLT::operator<< ( std::ostream &  os,
const HLT::OnlineErrorCode  code 
)
inline

Definition at line 62 of file OnlineErrorCode.h.

62  {
64  }

◆ reportErrorCode()

void HLT::reportErrorCode ( ErrorCode e1,
ErrorCode  e2 
)

◆ setFlag()

template<class T , class CONTAINER >
void HLT::setFlag ( TrigPassFlags flags,
const T *  obj,
const CONTAINER *  container,
const std::vector< bool > &  flag 
)

Set the flag at index position.

Parameters
objtrigger object to which the flag corresponds
containercontainer of trigger objects (same pointer as given in the constructor)
flagvalue of the flag (use helper functions to convert from int or long to vector<bool>)

Definition at line 121 of file TrigPassFlags.h.

121  {
122  typename CONTAINER::const_iterator i = std::find(container->begin(), container->end(), obj);
123  if ( i != container->end() )
124  flags->setFlag(i-container->begin(), flag, container);
125  else
126  throw std::runtime_error("The CONTAINER passed does not match the CONTAINER that created the TrigPassFlags");
127  }

◆ setFlagBit()

template<class T , class CONTAINER >
void HLT::setFlagBit ( TrigPassFlags flags,
const T *  obj,
const CONTAINER *  container,
const unsigned int  bitPosition,
const bool  bitValue = true 
)

Set bit of the flag at index position for a given TrigPassFlags object.

Definition at line 105 of file TrigPassFlags.h.

105  {
106  typename CONTAINER::const_iterator i = std::find(container->begin(), container->end(), obj);
107  if ( i != container->end() )
108  flags->setFlagBit(i-container->begin(), bitPosition, bitValue, container);
109  else
110  throw std::runtime_error("The CONTAINER passed does not match the CONTAINER that created the TrigPassFlags");
111  }

◆ strErrorCode()

std::string HLT::strErrorCode ( const ErrorCode  code)

Definition at line 99 of file Enums.cxx.

99  {
100  return ""+strAction(code.action())
101  + " " + strSteeringInternalReason(code.steeringInternalReason())
102  + " " + strReason(code.reason()) ;
103 }

◆ swap() [1/2]

void HLT::swap ( HLTExtraData lhs,
HLTExtraData rhs 
)

Definition at line 76 of file HLTExtraData.cxx.

77 {
78  using std::swap;
79 
80  swap(lhs.appName, rhs.appName);
81  swap(lhs.statusCode, rhs.statusCode);
82  swap(lhs.anonymous, rhs.anonymous);
83  // default m_stringSerializer is good for every object
84 }

◆ swap() [2/2]

void HLT::swap ( HLTResult lhs,
HLTResult rhs 
)
HLT::Reason::Code
Code
Definition: Trigger/TrigEvent/TrigSteeringEvent/TrigSteeringEvent/Enums.h:26
HLT::HLTResult::m_extras
std::vector< uint32_t > m_extras
extra storeage (which can be used to store some operational infos)
Definition: HLTResult.h:486
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
strAction
const std::string & strAction(const Action::Code code)
Definition: Enums.cxx:13
find
std::string find(const std::string &s)
return a remapped string
Definition: hcg.cxx:135
HLT::OnlineErrorCode::AFTER_RESULT_SENT
@ AFTER_RESULT_SENT
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
HLT::OnlineErrorCode::MISSING_CTP_FRAGMENT
@ MISSING_CTP_FRAGMENT
HLT::HLTResult::m_modID_id_name
std::map< unsigned int, std::set< std::pair< CLID, std::string > > > m_modID_id_name
Definition: HLTResult.h:492
AthenaPoolTestRead.flags
flags
Definition: AthenaPoolTestRead.py:8
HLT::TrigNavStructure::printASCIIArt
void printASCIIArt(std::string &str, const TriggerElement *te=0, int offset=0) const
pretty printing of the navigational structure (heavy)
Definition: TrigNavStructure.cxx:152
Trk::indices
std::pair< long int, long int > indices
Definition: AlSymMatBase.h:24
HLT::ChainInvalid
@ ChainInvalid
Definition: Chain.h:51
HLT::SteeringInternalReason::Code
Code
Definition: Trigger/TrigEvent/TrigSteeringEvent/TrigSteeringEvent/Enums.h:52
HLT::OnlineErrorCode::OUTPUT_BUILD_FAILURE
@ OUTPUT_BUILD_FAILURE
HLT::OnlineErrorCode::SCHEDULING_FAILURE
@ SCHEDULING_FAILURE
strReason
const std::string strReason(const Reason::Code code)
Definition: Enums.cxx:37
xAOD::TrigPassBits
TrigPassBits_v1 TrigPassBits
Define the latest version of the trigger pass bits class.
Definition: Event/xAOD/xAODTrigger/xAODTrigger/TrigPassBits.h:16
HLT::OnlineErrorCode::CANNOT_ACCESS_SLOT
@ CANNOT_ACCESS_SLOT
TrigPassBits::isPassing
bool isPassing(unsigned position) const
Check the bit value a the position.
Definition: TrigPassBits.cxx:23
python.utils.AtlRunQueryLookup.mask
string mask
Definition: AtlRunQueryLookup.py:460
HLT::OnlineErrorCode::NO_EVENT_INFO
@ NO_EVENT_INFO
HLT::OnlineErrorCode::BEFORE_NEXT_EVENT
@ BEFORE_NEXT_EVENT
HLT::HLTResult::m_chainsResult
std::vector< uint32_t > m_chainsResult
storege of serialized chains
Definition: HLTResult.h:483
HLT::OnlineErrorCode::BAD_CTP_FRAGMENT
@ BAD_CTP_FRAGMENT
HLT::UNKNOWN
@ UNKNOWN
Definition: Trigger/TrigEvent/TrigSteeringEvent/TrigSteeringEvent/Enums.h:173
covarianceTool.filter
filter
Definition: covarianceTool.py:514
OnlineErrorCodeSwitchCase
#define OnlineErrorCodeSwitchCase(ENUM_NAME)
Definition: OnlineErrorCode.h:36
HLT::Index1DVec
std::vector< size_t > Index1DVec
Unique combinations for case when one can not repeat the index (i.e.
Definition: TrigCompositeUtils/TrigCompositeUtils/Combinators.h:139
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
HLT::HLTResult::m_navigationResult_DSonly
std::vector< uint32_t > m_navigationResult_DSonly
storage of navigation (serialized also) for DataScouting
Definition: HLTResult.h:485
HLT::NavigationCore
The NavigationCore class, adds on top of the TrigNavStructure the EDM read-only handling.
Definition: NavigationCore.h:96
HTXS::ErrorCode
ErrorCode
Error code: whether the classification was successful or failed.
Definition: HiggsTemplateCrossSectionsDefs.h:12
HLT::EF
@ EF
Definition: Trigger/TrigEvent/TrigSteeringEvent/TrigSteeringEvent/Enums.h:173
HLT::ChainOK
@ ChainOK
Definition: Chain.h:51
HLT::L2
@ L2
Definition: Trigger/TrigEvent/TrigSteeringEvent/TrigSteeringEvent/Enums.h:173
lumiFormat.i
int i
Definition: lumiFormat.py:92
HLT::OnlineErrorCode::OUTPUT_SEND_FAILURE
@ OUTPUT_SEND_FAILURE
getActionFromString
Action::Code getActionFromString(const std::string &str)
Definition: Enums.cxx:17
HLT::OnlineErrorCode::NO_HLT_RESULT
@ NO_HLT_RESULT
HLT::OnlineErrorCodeToString
constexpr std::string_view OnlineErrorCodeToString(const OnlineErrorCode code)
Definition: OnlineErrorCode.h:39
master.flag
bool flag
Definition: master.py:29
HLT::HLTExtraData::statusCode
uint32_t statusCode
various status codes (for prescale/COOL updates)
Definition: HLTExtraData.h:65
plotIsoValidation.el
el
Definition: plotIsoValidation.py:197
HLT::HLTResult::m_id_name
std::vector< std::pair< CLID, std::string > > m_id_name
Definition: HLTResult.h:488
SH::MetaObject::swap
void swap(MetaObject &a, MetaObject &b)
standard swap
HLT::HLTExtraData::anonymous
std::vector< uint32_t > anonymous
For future use-cases (only use as last resort)
Definition: HLTExtraData.h:66
WriteCalibToCool.swap
swap
Definition: WriteCalibToCool.py:94
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
HLT::HLTResult::m_id_name_DSonly
std::vector< std::pair< CLID, std::string > > m_id_name_DSonly
Definition: HLTResult.h:490
HLT::HLTExtraData::appName
std::string appName
application name
Definition: HLTExtraData.h:64
HLT::HLTResult::m_navigationResult
std::vector< uint32_t > m_navigationResult
storage of navigation (serialized also)
Definition: HLTResult.h:484
HLT::Action::Code
Code
Definition: Trigger/TrigEvent/TrigSteeringEvent/TrigSteeringEvent/Enums.h:15
strSteeringInternalReason
const std::string strSteeringInternalReason(const SteeringInternalReason::Code code)
Definition: Enums.cxx:92
pmontree.code
code
Definition: pmontree.py:443
HLT::HLTResult::m_navigationResultCuts
std::vector< unsigned int > m_navigationResultCuts
Definition: HLTResult.h:494
HLT::OnlineErrorCode::PROCESSING_FAILURE
@ PROCESSING_FAILURE
Athena::Status::TIMEOUT
@ TIMEOUT
Timeout during event processing.
python.combo.combinations
def combinations(items, n)
Definition: combo.py:85
python.PyAthena.v
v
Definition: PyAthena.py:157
HLT::HLTResult::m_headerResult
std::vector< uint32_t > m_headerResult
the full payload, and sub-payloads
Definition: HLTResult.h:482
python.CaloScaleNoiseConfig.str
str
Definition: CaloScaleNoiseConfig.py:78
TrigPassFlags
A Flag is an ordered collection of bits (vector<bool>) that can hold additional (boolean) information...
Definition: TrigPassFlags.h:29
LArNewCalib_DelayDump_OFC_Cali.idx
idx
Definition: LArNewCalib_DelayDump_OFC_Cali.py:69
HLT::OnlineErrorCode::SCHEDULER_POP_FAILURE
@ SCHEDULER_POP_FAILURE
getSteeringInternalReasonFromString
SteeringInternalReason::Code getSteeringInternalReasonFromString(const std::string &str)
Definition: Enums.cxx:74
getReasonFromString
Reason::Code getReasonFromString(const std::string &str)
Definition: Enums.cxx:41
HLT::OnlineErrorCode::COOL_UPDATE
@ COOL_UPDATE
str
Definition: BTagTrackIpAccessor.cxx:11
HLT::OnlineErrorCode::RESULT_TRUNCATION
@ RESULT_TRUNCATION
HLT::ConfigOnlyChain
@ ConfigOnlyChain
Definition: Chain.h:51
python.test_cfgItemList.msg
msg
Definition: test_cfgItemList.py:7
TrigPassBits::markPassing
void markPassing(unsigned position, const void *cont=0)
Set the bit value a the position to true.
Definition: TrigPassBits.cxx:13
HLT::HLT
@ HLT
Definition: Trigger/TrigEvent/TrigSteeringEvent/TrigSteeringEvent/Enums.h:173
HLT::HLTResult::m_navigationResultCuts_DSonly
std::vector< unsigned int > m_navigationResultCuts_DSonly
Definition: HLTResult.h:496
python.PyAthena.obj
obj
Definition: PyAthena.py:135
python.compressB64.c
def c
Definition: compressB64.py:93
HLT::OnlineErrorCode::CANNOT_RETRIEVE_EVENT
@ CANNOT_RETRIEVE_EVENT
robmonitor::UNCLASSIFIED
@ UNCLASSIFIED
Definition: ROBDataMonitor.h:27
TSU::T
unsigned long long T
Definition: L1TopoDataTypes.h:35