ATLAS Offline Software
dump.icc
Go to the documentation of this file.
1 // Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2 #include "dump.h"
3 #include <fstream>
4 
5 namespace GlobalSim {
6  template<typename T>
7  void dump(const std::string& fn, const T& t) {
8  auto out = std::ofstream(fn);
9  out << t;
10  }
11 }