ATLAS Offline Software
Public Member Functions | List of all members
AcceptAllCondition Class Reference

#include <AcceptAllCondition.h>

Inheritance diagram for AcceptAllCondition:
Collaboration diagram for AcceptAllCondition:

Public Member Functions

 ~AcceptAllCondition () override
 
bool isSatisfied (const HypoJetVector &, const std::unique_ptr< ITrigJetHypoInfoCollector > &) const override
 
virtual unsigned int capacity () const override
 
std::string toString () const override
 

Detailed Description

Definition at line 25 of file AcceptAllCondition.h.

Constructor & Destructor Documentation

◆ ~AcceptAllCondition()

AcceptAllCondition::~AcceptAllCondition ( )
inlineoverride

Definition at line 27 of file AcceptAllCondition.h.

27 {}

Member Function Documentation

◆ capacity()

virtual unsigned int AcceptAllCondition::capacity ( ) const
inlineoverridevirtual

Implements ICondition.

Definition at line 32 of file AcceptAllCondition.h.

32 {return 0;}

◆ isSatisfied()

bool AcceptAllCondition::isSatisfied ( const HypoJetVector ips,
const std::unique_ptr< ITrigJetHypoInfoCollector > &  collector 
) const
overridevirtual

Implements ICondition.

Definition at line 14 of file AcceptAllCondition.cxx.

15  {
16 
17  if(collector){
18  std::stringstream ss0;
19  const void* address = static_cast<const void*>(this);
20  ss0 << "AcceptAllCondition: (" << address << ") "
21  << " true jet group: \n";
22 
23  std::stringstream ss1;
24 
25  for(const auto& ip : ips){
26  address = static_cast<const void*>(ip.get());
27  ss1 << " " << address << " " << ip->eta() << " e " << ip->e() << '\n';
28  }
29  ss1 << '\n';
30  collector -> collect(ss0.str(), ss1.str());
31  }
32 
33  return true;
34 }

◆ toString()

std::string AcceptAllCondition::toString ( ) const
overridevirtual

Implements ICondition.

Definition at line 38 of file AcceptAllCondition.cxx.

38  {
39  std::stringstream ss;
40 
41  ss << "AcceptAllCondition (" << this << ")\n";
42  return ss.str();
43 }

The documentation for this class was generated from the following files:
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
find_tgc_unfilled_channelids.ip
ip
Definition: find_tgc_unfilled_channelids.py:3
RTTAlgmain.address
address
Definition: RTTAlgmain.py:55
Trig::FeatureAccessImpl::collect
void collect(const HLT::TriggerElement *te, std::vector< Trig::Feature< T > > &data, const std::string &label, unsigned int condition, const std::string &teName, const HLT::TrigNavStructure *navstructure)
actual feature acceess implementation It has (thanks to the ClassTraits) functionality to flatten con...
Definition: FeatureCollectAthena.h:299