ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
TrigCompositeUtils::HasObjectCollection Class Reference

Prerequisite object usable with. More...

#include <TrigCompositeUtils.h>

Collaboration diagram for TrigCompositeUtils::HasObjectCollection:

Public Member Functions

 HasObjectCollection (const std::string &name)
 constructor specifying the link name More...
 
bool operator() (const Decision *) const
 checks if the arg Decision object has link collection of name specified at construction More...
 

Private Attributes

std::string m_name
 

Detailed Description

Prerequisite object usable with.

See also
filter allowing to find TC having a link to an object collection of name

Definition at line 291 of file TrigCompositeUtils.h.

Constructor & Destructor Documentation

◆ HasObjectCollection()

TrigCompositeUtils::HasObjectCollection::HasObjectCollection ( const std::string &  name)
inline

constructor specifying the link name

Definition at line 296 of file TrigCompositeUtils.h.

296 : m_name(name) {}

Member Function Documentation

◆ operator()()

bool TrigCompositeUtils::HasObjectCollection::operator() ( const Decision composite) const

checks if the arg Decision object has link collection of name specified at construction

Warning
method for internal consumption within
See also
find function

Definition at line 239 of file TrigCompositeUtilsRoot.cxx.

239  {
240  return composite->hasObjectCollectionLinks( m_name );
241  }

Member Data Documentation

◆ m_name

std::string TrigCompositeUtils::HasObjectCollection::m_name
private

Definition at line 303 of file TrigCompositeUtils.h.


The documentation for this class was generated from the following files:
TrigCompositeUtils::HasObjectCollection::m_name
std::string m_name
Definition: TrigCompositeUtils.h:303
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228