ATLAS Offline Software
PassThroughFilter.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include <algorithm>
6 
7 #include "./PassThroughFilter.h"
9 
10 
13  const std::unique_ptr<ITrigJetHypoInfoCollector>& col) const{
14 
15  if (col) {
16  col->collect("PassTroughFilter", "");
17  }
18 
19  return jv;
20 }
21 
22 std::string PassThroughFilter::toString() const {
23  std::stringstream ss;
24  const void* address = static_cast<const void*>(this);
25  ss << "PassThroughFilter: (" << address << ")\n";
26  return ss.str();
27 }
28 
29 
30 std::ostream& operator<<(std::ostream& os, const PassThroughFilter& cf){
31  os << cf.toString();
32  return os;
33 }
PassThroughFilter::filter
virtual HypoJetVector filter(const HypoJetVector &jv, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
Definition: PassThroughFilter.cxx:12
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
PassThroughFilter::toString
virtual std::string toString() const override
Definition: PassThroughFilter.cxx:22
operator<<
std::ostream & operator<<(std::ostream &os, const PassThroughFilter &cf)
Definition: PassThroughFilter.cxx:30
PassThroughFilter.h
PassThroughFilter
Definition: PassThroughFilter.h:12
HypoJetVector
std::vector< pHypoJet > HypoJetVector
Definition: HypoJetDefs.h:27
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
RTTAlgmain.address
address
Definition: RTTAlgmain.py:55
query_example.col
col
Definition: query_example.py:7
ITrigJetHypoInfoCollector.h