ATLAS Offline Software
Loading...
Searching...
No Matches
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
bool operator() (const Decision *) const
 checks if the arg Decision object has link collection of name specified at construction

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 302 of file TrigCompositeUtils.h.

Constructor & Destructor Documentation

◆ HasObjectCollection()

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

constructor specifying the link name

Definition at line 307 of file TrigCompositeUtils.h.

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 254 of file TrigCompositeUtilsRoot.cxx.

254 {
255 return composite->hasObjectCollectionLinks( m_name );
256 }
bool hasObjectCollectionLinks(const std::string &collectionName, const CLID clid=CLID_NULL) const
Check if links exist to a collection of objects with given name and type. CLID_NULL to not check type...

Member Data Documentation

◆ m_name

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

Definition at line 314 of file TrigCompositeUtils.h.


The documentation for this class was generated from the following files: