ATLAS Offline Software
Loading...
Searching...
No Matches
BasicDataCollector.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef GLOBALSIM_BASICDATACOLLECTOR_H
6#define GLOBALSIM_BASICDATACOLLECTOR_H
7
8#include "IDataCollector.h"
9#include "GaudiKernel/IAlgTool.h"
10#include <vector>
11#include <chrono>
12
13
14namespace GlobalSim {
16 public:
18 virtual ~BasicDataCollector() = default;
19 virtual void collect(const IAlgTool&, const std::string& msg);
20 virtual std::string to_string() const;
21
22 private:
23 std::vector<std::pair<std::string, std::vector<std::string>>> m_msgs{};
24 std::chrono::high_resolution_clock::time_point m_t0;
25 };
26
27 std::ostream& operator << (std::ostream& os, const BasicDataCollector& bdc);
28}
29#endif
virtual ~BasicDataCollector()=default
virtual void collect(const IAlgTool &, const std::string &msg)
std::vector< std::pair< std::string, std::vector< std::string > > > m_msgs
std::chrono::high_resolution_clock::time_point m_t0
virtual std::string to_string() const
AlgTool to read in LArStripNeighborhoods, and run the BDT Algorithm.
std::ostream & operator<<(std::ostream &os, const BasicDataCollector &bdc)
MsgStream & msg
Definition testRead.cxx:32