ATLAS Offline Software
JetBase.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRIGHLTJETHYO_JETBASE_H
6 #define TRIGHLTJETHYO_JETBASE_H
7 
8 #include "./IJet.h"
9 #include <sstream>
10 
11 namespace HypoJet{
12  class JetBase: virtual public HypoJet::IJet {
13  std::string toString() const {
14  std::stringstream ss;
15  ss << "Jet- pt: " << pt() << " eta: "
16  << eta() << " phi: " << phi() << '\n';
17  return ss.str();
18  }
19  };
20 }
21 #endif
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
IJet.h
HypoJet::IJet::pt
virtual double pt() const =0
HypoJet::IJet::eta
virtual double eta() const =0
HypoJet::IJet
Definition: IJet.h:16
HypoJet::IJet::phi
virtual double phi() const =0
HypoJet::JetBase::toString
std::string toString() const
Definition: JetBase.h:13
HypoJet::JetBase
Definition: JetBase.h:12
HypoJet
Definition: AcceptAllCondition.h:19