ATLAS Offline Software
TrigHypothesis/TrigHLTJetHypo/src/Tracer.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGJETHYPO_TRACER_H
6 #define TRIGJETHYPO_TRACER_H
7 
8 #include <iostream>
9 class Tracer {
10 public:
11  Tracer(const std::string& msg): m_msg(msg){
12  std::cerr<< "+ " << m_msg << '\n';}
13  ~Tracer() {
14  std::cerr << "- " <<m_msg << '\n';
15  }
16 private:
17  std::string m_msg;
18 };
19 
20 #endif
Tracer::Tracer
Tracer(const std::string &msg)
Definition: TrigHypothesis/TrigHLTJetHypo/src/Tracer.h:11
Tracer::~Tracer
~Tracer()
Definition: TrigHypothesis/TrigHLTJetHypo/src/Tracer.h:13
Tracer::m_msg
std::string m_msg
Definition: TrigHypothesis/TrigHLTJetHypo/src/Tracer.h:17
Tracer
Definition: TrigHypothesis/TrigHLTJetHypo/src/Tracer.h:9
python.AutoConfigFlags.msg
msg
Definition: AutoConfigFlags.py:7