CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
pat::EventHypothesis::ByRole Class Reference

#include <EventHypothesis.h>

Public Member Functions

 ByRole (const std::string &role)
 
bool operator() (const value_type &p) const
 

Private Attributes

const std::string & role_
 

Detailed Description

Definition at line 49 of file EventHypothesis.h.

Constructor & Destructor Documentation

◆ ByRole()

pat::EventHypothesis::ByRole::ByRole ( const std::string &  role)
inline

Definition at line 51 of file EventHypothesis.h.

51 : role_(role) {}
const std::string & role_

Member Function Documentation

◆ operator()()

bool pat::EventHypothesis::ByRole::operator() ( const value_type p) const
inline

Definition at line 52 of file EventHypothesis.h.

References AlCaHLTBitMon_ParallelJobs::p, and role_.

52 { return p.first == role_; }
const std::string & role_

Member Data Documentation

◆ role_

const std::string& pat::EventHypothesis::ByRole::role_
private

Definition at line 55 of file EventHypothesis.h.

Referenced by operator()().