ATLAS Offline Software
Functions
EventViewCreatorAlgorithm.cxx File Reference
#include "EventViewCreatorAlgorithm.h"
#include "AthLinks/ElementLink.h"
#include "AthViews/ViewHelper.h"
#include "AthViews/View.h"
#include "TrigCompositeUtils/TrigCompositeUtils.h"
#include <sstream>
Include dependency graph for EventViewCreatorAlgorithm.cxx:

Go to the source code of this file.

Functions

bool endsWith (const std::string &value, const std::string &ending)
 

Function Documentation

◆ endsWith()

bool endsWith ( const std::string &  value,
const std::string &  ending 
)

Definition at line 176 of file EventViewCreatorAlgorithm.cxx.

176  {
177  if (ending.size() > value.size()) {
178  return false;
179  }
180  return std::equal(ending.rbegin(), ending.rend(), value.rbegin());
181 }
athena.value
value
Definition: athena.py:122
CxxUtils::fpcompare::equal
bool equal(double a, double b)
Compare two FP numbers, working around x87 precision issues.
Definition: fpcompare.h:114