ATLAS Offline Software
Loading...
Searching...
No Matches
AcceptAllCondition.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4#
8
9#include <sstream>
10
11bool
13 const std::unique_ptr<ITrigJetHypoInfoCollector>& collector) const {
14
15 if(collector){
16 std::stringstream ss0;
17 const void* address = static_cast<const void*>(this);
18 ss0 << "AcceptAllCondition: (" << address << ") "
19 << " true jet group: \n";
20
21 std::stringstream ss1;
22
23 for(const auto& ip : ips){
24 address = static_cast<const void*>(ip.get());
25 ss1 << " " << address << " " << ip->eta() << " e " << ip->e() << '\n';
26 }
27 ss1 << '\n';
28 collector -> collect(ss0.str(), ss1.str());
29 }
30
31 return true;
32}
33
34
35
36std::string AcceptAllCondition::toString() const {
37 std::stringstream ss;
38
39 ss << "AcceptAllCondition (" << this << ")\n";
40 return ss.str();
41}
std::vector< pHypoJet > HypoJetVector
Definition HypoJetDefs.h:27
static Double_t ss
bool isSatisfied(const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
std::string toString() const override