ATLAS Offline Software
Loading...
Searching...
No Matches
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

ElementLink< xAOD::TrackParticleContainermakeLink (const xAOD::TrackParticle *track)
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 184 of file EventViewCreatorAlgorithm.cxx.

184 {
185 if (ending.size() > value.size()) {
186 return false;
187 }
188 return std::equal(ending.rbegin(), ending.rend(), value.rbegin());
189}

◆ makeLink()

Definition at line 15 of file EventViewCreatorAlgorithm.cxx.

15 {
16 if (!track) {
18 }
20 track->index()};
21}
TrackParticleContainer_v1 TrackParticleContainer
Definition of the current "TrackParticle container version".