![]() |
![]() |
#include <vector>
Go to the source code of this file.
Classes | |
class | TrackCategories |
Functions | |
std::ostream & | operator<< (std::ostream &, TrackCategories const &) |
std::ostream& operator<< | ( | std::ostream & | , |
TrackCategories const & | |||
) |
Definition at line 71 of file TrackCategories.cc.
References TrackCategories::flags(), flags, getHLTprescales::index, init, and TrackCategories::Names.
{ bool init = true; const TrackCategories::Flags & flags = classifier.flags(); // Print out the classification for the track for (std::size_t index = 0; index < flags.size(); ++index) { if (flags[index]) { if (init) { os << TrackCategories::Names[index]; init = false; } else os << "::" << TrackCategories::Names[index]; } } os << std::endl; return os; }