ATLAS Offline Software
Namespaces | Functions
AnomalyDetectionBDT.cxx File Reference
#include "L1TopoAlgorithms/AnomalyDetectionBDT.h"
#include "L1TopoInterfaces/Decision.h"
#include "L1TopoCommon/Exception.h"
#include "L1TopoSimulationUtils/Helpers.h"
#include <PathResolver/PathResolver.h>
#include <fstream>
Include dependency graph for AnomalyDetectionBDT.cxx:

Go to the source code of this file.

Namespaces

 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 }
vec
std::vector< size_t > vec
Definition: CombinationsGeneratorTest.cxx:9
Pythia8_RapidityOrderMPI.val
val
Definition: Pythia8_RapidityOrderMPI.py:14
DeMoScan.first
bool first
Definition: DeMoScan.py:534