ATLAS Offline Software
HypoJetDefs.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
7 
8 std::ostream& operator << (std::ostream& out, const HypoJetVector& hjv) {
9  auto hjv_addr = static_cast<const void*>(&hjv);
10  out << "HypoJetVector (" << hjv_addr << ")\n";
11  for(const auto& j : hjv) {
12  out << static_cast<const void*>(j.get())
13  << " e " << j->e()
14  << " et " << j->et()
15  << " eta " << j->eta()
16  << " phi " << j->phi()
17  << " px " << (j->p4()).Px()
18  << " py " << (j->p4()).Py()
19  << " pz " << (j->p4()).Pz()
20  << " pt " << j->pt()
21  << '\n';
22  }
23  return out;
24 }
operator<<
std::ostream & operator<<(std::ostream &out, const HypoJetVector &hjv)
Definition: HypoJetDefs.cxx:8
HypoJetDefs.h
python.AthDsoLogger.out
out
Definition: AthDsoLogger.py:71
HypoJetVector
std::vector< pHypoJet > HypoJetVector
Definition: HypoJetDefs.h:27
Py
Definition: PyDataStore.h:24