![]() |
![]() |
#include <iostream>
#include "SimTracker/TrackHistory/interface/VertexCategories.h"
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &os, VertexCategories const &classifier) |
std::ostream& operator<< | ( | std::ostream & | os, |
VertexCategories const & | classifier | ||
) |
Definition at line 56 of file VertexCategories.cc.
References flags, VertexCategories::flags(), getHLTprescales::index, init, and VertexCategories::Names.
{ bool init = true; const VertexCategories::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 << VertexCategories::Names[index]; init = false; } else os << "::" << VertexCategories::Names[index]; } } os << std::endl; return os; }