ATLAS Offline Software
Loading...
Searching...
No Matches
AnomalyDetectionBDT.cxx File Reference
Include dependency graph for AnomalyDetectionBDT.cxx:

Go to the source code of this file.

Namespaces

namespace  TCS

Functions

template<typename T>
std::string vectorToString (const std::vector< T > &vec)
std::ostream & TCS::operator<< (std::ostream &os, const TCS::Bin &bin)

Function Documentation

◆ vectorToString()

template<typename T>
std::string vectorToString ( const std::vector< T > & vec)

Definition at line 32 of file AnomalyDetectionBDT.cxx.

32 {
33 std::ostringstream oss;
34 oss << "[";
35 bool first = true;
36 for (const auto& val : vec) {
37 if (!first) {
38 oss << ", ";
39 }
40 oss << val;
41 first = false;
42 }
43 oss << "]";
44 return oss.str();
45}
std::vector< size_t > vec
bool first
Definition DeMoScan.py:534